Class SoSFDouble


  • public class SoSFDouble
    extends SoSField
    Field containing a floating-point value. A field that contains one single-precision floating point number.

    SoSFDoubles are written to file in standard scientific notation.

    See Also:
    SoField, SoSField, SoMFDouble
    • Constructor Detail

      • SoSFDouble

        public SoSFDouble​(SoFieldContainer fieldContainer,
                          java.lang.String fieldName,
                          SoField.FieldTypes fieldType,
                          double defaultValue)
        Default constructor.
    • Method Detail

      • getValue

        public double getValue()
        Returns this field's value.
      • setValue

        public void setValue​(double newValue)
        Sets this field to newValue.
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class SoField