docs.unity3d.com
    Show / Hide Table of Contents

    Class GfRotation

    Inheritance
    Object
    GfRotation
    Inherited Members
    Object.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: pxr
    Syntax
    public class GfRotation : IDisposable

    Constructors

    GfRotation()

    Declaration
    public GfRotation()

    GfRotation(GfQuatd)

    Declaration
    public GfRotation(GfQuatd quat)
    Parameters
    Type Name Description
    GfQuatd quat

    GfRotation(GfQuaternion)

    Declaration
    public GfRotation(GfQuaternion quaternion)
    Parameters
    Type Name Description
    GfQuaternion quaternion

    GfRotation(GfVec3d, GfVec3d)

    Declaration
    public GfRotation(GfVec3d rotateFrom, GfVec3d rotateTo)
    Parameters
    Type Name Description
    GfVec3d rotateFrom
    GfVec3d rotateTo

    GfRotation(GfVec3d, Double)

    Declaration
    public GfRotation(GfVec3d axis, double angle)
    Parameters
    Type Name Description
    GfVec3d axis
    Double angle

    Fields

    swigCMemOwn

    Declaration
    protected bool swigCMemOwn
    Field Value
    Type Description
    Boolean

    Methods

    Decompose(GfVec3d, GfVec3d, GfVec3d)

    Declaration
    public GfVec3d Decompose(GfVec3d axis0, GfVec3d axis1, GfVec3d axis2)
    Parameters
    Type Name Description
    GfVec3d axis0
    GfVec3d axis1
    GfVec3d axis2
    Returns
    Type Description
    GfVec3d

    DecomposeRotation(GfMatrix4d, GfVec3d, GfVec3d, GfVec3d, Double, ref Double, ref Double, ref Double)

    Declaration
    public static void DecomposeRotation(GfMatrix4d rot, GfVec3d TwAxis, GfVec3d FBAxis, GfVec3d LRAxis, double handedness, ref double thetaTw, ref double thetaFB, ref double thetaLR)
    Parameters
    Type Name Description
    GfMatrix4d rot
    GfVec3d TwAxis
    GfVec3d FBAxis
    GfVec3d LRAxis
    Double handedness
    Double thetaTw
    Double thetaFB
    Double thetaLR

    DecomposeRotation(GfMatrix4d, GfVec3d, GfVec3d, GfVec3d, Double, ref Double, ref Double, ref Double, ref Double)

    Declaration
    public static void DecomposeRotation(GfMatrix4d rot, GfVec3d TwAxis, GfVec3d FBAxis, GfVec3d LRAxis, double handedness, ref double thetaTw, ref double thetaFB, ref double thetaLR, ref double thetaSw)
    Parameters
    Type Name Description
    GfMatrix4d rot
    GfVec3d TwAxis
    GfVec3d FBAxis
    GfVec3d LRAxis
    Double handedness
    Double thetaTw
    Double thetaFB
    Double thetaLR
    Double thetaSw

    DecomposeRotation(GfMatrix4d, GfVec3d, GfVec3d, GfVec3d, Double, ref Double, ref Double, ref Double, ref Double, Boolean)

    Declaration
    public static void DecomposeRotation(GfMatrix4d rot, GfVec3d TwAxis, GfVec3d FBAxis, GfVec3d LRAxis, double handedness, ref double thetaTw, ref double thetaFB, ref double thetaLR, ref double thetaSw, bool useHint)
    Parameters
    Type Name Description
    GfMatrix4d rot
    GfVec3d TwAxis
    GfVec3d FBAxis
    GfVec3d LRAxis
    Double handedness
    Double thetaTw
    Double thetaFB
    Double thetaLR
    Double thetaSw
    Boolean useHint

    DecomposeRotation(GfMatrix4d, GfVec3d, GfVec3d, GfVec3d, Double, ref Double, ref Double, ref Double, ref Double, Boolean, ref Double)

    Declaration
    public static void DecomposeRotation(GfMatrix4d rot, GfVec3d TwAxis, GfVec3d FBAxis, GfVec3d LRAxis, double handedness, ref double thetaTw, ref double thetaFB, ref double thetaLR, ref double thetaSw, bool useHint, ref double swShift)
    Parameters
    Type Name Description
    GfMatrix4d rot
    GfVec3d TwAxis
    GfVec3d FBAxis
    GfVec3d LRAxis
    Double handedness
    Double thetaTw
    Double thetaFB
    Double thetaLR
    Double thetaSw
    Boolean useHint
    Double swShift

    Dispose()

    Declaration
    public virtual void Dispose()
    Implements
    IDisposable.Dispose()

    Equals(GfRotation, GfRotation)

    Declaration
    public static bool Equals(GfRotation lhs, GfRotation rhs)
    Parameters
    Type Name Description
    GfRotation lhs
    GfRotation rhs
    Returns
    Type Description
    Boolean

    Equals(Object)

    Declaration
    public override bool Equals(object rhs)
    Parameters
    Type Name Description
    Object rhs
    Returns
    Type Description
    Boolean
    Overrides
    Object.Equals(Object)

    Finalize()

    Declaration
    protected void Finalize()

    GetAngle()

    Declaration
    public double GetAngle()
    Returns
    Type Description
    Double

    GetAxis()

    Declaration
    public GfVec3d GetAxis()
    Returns
    Type Description
    GfVec3d

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32
    Overrides
    Object.GetHashCode()

    GetInverse()

    Declaration
    public GfRotation GetInverse()
    Returns
    Type Description
    GfRotation

    GetQuat()

    Declaration
    public GfQuatd GetQuat()
    Returns
    Type Description
    GfQuatd

    GetQuaternion()

    Declaration
    public GfQuaternion GetQuaternion()
    Returns
    Type Description
    GfQuaternion

    RotateOntoProjected(GfVec3d, GfVec3d, GfVec3d)

    Declaration
    public static GfRotation RotateOntoProjected(GfVec3d v1, GfVec3d v2, GfVec3d axis)
    Parameters
    Type Name Description
    GfVec3d v1
    GfVec3d v2
    GfVec3d axis
    Returns
    Type Description
    GfRotation

    SetAxisAngle(GfVec3d, Double)

    Declaration
    public GfRotation SetAxisAngle(GfVec3d axis, double angle)
    Parameters
    Type Name Description
    GfVec3d axis
    Double angle
    Returns
    Type Description
    GfRotation

    SetIdentity()

    Declaration
    public GfRotation SetIdentity()
    Returns
    Type Description
    GfRotation

    SetQuat(GfQuatd)

    Declaration
    public GfRotation SetQuat(GfQuatd quat)
    Parameters
    Type Name Description
    GfQuatd quat
    Returns
    Type Description
    GfRotation

    SetQuaternion(GfQuaternion)

    Declaration
    public GfRotation SetQuaternion(GfQuaternion quat)
    Parameters
    Type Name Description
    GfQuaternion quat
    Returns
    Type Description
    GfRotation

    SetRotateInto(GfVec3d, GfVec3d)

    Declaration
    public GfRotation SetRotateInto(GfVec3d rotateFrom, GfVec3d rotateTo)
    Parameters
    Type Name Description
    GfVec3d rotateFrom
    GfVec3d rotateTo
    Returns
    Type Description
    GfRotation

    TransformDir(GfVec3d)

    Declaration
    public GfVec3d TransformDir(GfVec3d vec)
    Parameters
    Type Name Description
    GfVec3d vec
    Returns
    Type Description
    GfVec3d

    TransformDir(GfVec3f)

    Declaration
    public GfVec3f TransformDir(GfVec3f vec)
    Parameters
    Type Name Description
    GfVec3f vec
    Returns
    Type Description
    GfVec3f

    Operators

    Equality(GfRotation, GfRotation)

    Declaration
    public static bool operator ==(GfRotation lhs, GfRotation rhs)
    Parameters
    Type Name Description
    GfRotation lhs
    GfRotation rhs
    Returns
    Type Description
    Boolean

    Inequality(GfRotation, GfRotation)

    Declaration
    public static bool operator !=(GfRotation lhs, GfRotation rhs)
    Parameters
    Type Name Description
    GfRotation lhs
    GfRotation rhs
    Returns
    Type Description
    Boolean
    Back to top
    Copyright © 2023 Unity Technologies
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on Thursday, October 19, 2023