Class SoSFBox2f


  • public class SoSFBox2f
    extends SoSField
    Field containing a two-dimensional box. This field defines a two-dimensional box.

    SoSFBox2f fields are written to file as 4 floats separated by whitespace.

    See Also:
    SoField, SoSField
    • Method Detail

      • setValue

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

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

        public void setValue​(SbVec2f min,
                             SbVec2f max)
        Sets the box dimensions.
      • setValue

        public void setValue​(float xmin,
                             float ymin,
                             float xmax,
                             float ymax)
        Sets the box dimensions.
      • getValue

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