Class Quaternion

    • Field Detail

      • assemblyFullName

        public static final java.lang.String assemblyFullName
        Fully assembly qualified name: System.Numerics, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
        See Also:
        Constant Field Values
      • assemblyShortName

        public static final java.lang.String assemblyShortName
        Assembly name: System.Numerics
        See Also:
        Constant Field Values
      • className

        public static final java.lang.String className
        Qualified class name: System.Numerics.Quaternion
        See Also:
        Constant Field Values
      • classType

        public static org.mases.jcobridge.JCType classType
        The type managed from JCOBridge. See JCType
    • Constructor Detail

      • Quaternion

        public Quaternion​(java.lang.Object instance)
                   throws java.lang.Throwable
        Internal constructor. Use with caution
        Throws:
        java.lang.Throwable
      • Quaternion

        public Quaternion()
                   throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • Quaternion

        public Quaternion​(Single x,
                          Single y,
                          Single z,
                          Single w)
                   throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • Quaternion

        public Quaternion​(Vector3 vectorPart,
                          Single scalarPart)
                   throws java.lang.Throwable
        Throws:
        java.lang.Throwable
    • Method Detail

      • setJCOInstance

        public void setJCOInstance​(org.mases.jcobridge.JCObject instance)
        Overrides:
        setJCOInstance in class ValueType
      • Equals

        public boolean Equals​(Quaternion other)
                       throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • Dot

        public static Single Dot​(Quaternion quaternion1,
                                 Quaternion quaternion2)
                          throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • Length

        public Single Length()
                      throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • LengthSquared

        public Single LengthSquared()
                             throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • Concatenate

        public static Quaternion Concatenate​(Quaternion value1,
                                             Quaternion value2)
                                      throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • Conjugate

        public static Quaternion Conjugate​(Quaternion value)
                                    throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • CreateFromAxisAngle

        public static Quaternion CreateFromAxisAngle​(Vector3 axis,
                                                     Single angle)
                                              throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • CreateFromRotationMatrix

        public static Quaternion CreateFromRotationMatrix​(Matrix4x4 matrix)
                                                   throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • CreateFromYawPitchRoll

        public static Quaternion CreateFromYawPitchRoll​(Single yaw,
                                                        Single pitch,
                                                        Single roll)
                                                 throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • Inverse

        public static Quaternion Inverse​(Quaternion value)
                                  throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • Multiply

        public static Quaternion Multiply​(Quaternion value1,
                                          Single value2)
                                   throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • Negate

        public static Quaternion Negate​(Quaternion value)
                                 throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • Normalize

        public static Quaternion Normalize​(Quaternion value)
                                    throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • getIsIdentity

        public boolean getIsIdentity()
                              throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • getIdentity

        public static Quaternion getIdentity()
                                      throws java.lang.Throwable
        Throws:
        java.lang.Throwable