Class SoSFMatrix3


public class SoSFMatrix3 extends SoSField
Field containing a 3x3 matrix. A field containing a 3x3 transformation matrix (an SbMatrix3).

SoSFMatrix3 is written to a file as 9 floating point numbers separated by whitespace. For example, an identity matrix is written as:

   1 0 0 0 1 0 0 0 1

See Also:
  • Constructor Details

  • Method Details

    • setValue

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

      public boolean equals(Object obj)
      Overrides:
      equals in class SoField
    • setValue

      public void setValue(float a11, float a12, float a13, float a21, float a22, float a23, float a31, float a32, float a33)
      Sets this field to contain the matrix given by the 9 values.
    • getValue

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