Class SoSFVec2d


  • public class SoSFVec2d
    extends SoSField
    Field containing a two-dimensional vector. SoSFVec2ds are written to file as a pair of doubleing point values separated by whitespace.

    See Also:
    SoField, SoSField, SoMFVec2f
    • Method Detail

      • setValue

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

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

        public void setValue​(double[] xy)
        Sets the field to the given value.
      • setValue

        public void setValue​(double x,
                             double y)
        Sets the field to the given value.
      • getValue

        public SbVec2d getValue()
        Returns this field's value.