docs.unity3d.com
    Show / Hide Table of Contents

    Class GfVec3d

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

    Constructors

    GfVec3d()

    Declaration
    public GfVec3d()

    GfVec3d(GfVec3f)

    Declaration
    public GfVec3d(GfVec3f other)
    Parameters
    Type Name Description
    GfVec3f other

    GfVec3d(GfVec3h)

    Declaration
    public GfVec3d(GfVec3h other)
    Parameters
    Type Name Description
    GfVec3h other

    GfVec3d(GfVec3i)

    Declaration
    public GfVec3d(GfVec3i other)
    Parameters
    Type Name Description
    GfVec3i other

    GfVec3d(Double)

    Declaration
    public GfVec3d(double value)
    Parameters
    Type Name Description
    Double value

    GfVec3d(Double, Double, Double)

    Declaration
    public GfVec3d(double s0, double s1, double s2)
    Parameters
    Type Name Description
    Double s0
    Double s1
    Double s2

    Fields

    dimension

    Declaration
    public static readonly uint dimension
    Field Value
    Type Description
    UInt32

    swigCMemOwn

    Declaration
    protected bool swigCMemOwn
    Field Value
    Type Description
    Boolean

    Properties

    Item[Int32]

    Declaration
    public double this[int index] { get; set; }
    Parameters
    Type Name Description
    Int32 index
    Property Value
    Type Description
    Double

    Methods

    Axis(UInt32)

    Declaration
    public static GfVec3d Axis(uint i)
    Parameters
    Type Name Description
    UInt32 i
    Returns
    Type Description
    GfVec3d

    BuildOrthonormalFrame(GfVec3d, GfVec3d)

    Declaration
    public void BuildOrthonormalFrame(GfVec3d v1, GfVec3d v2)
    Parameters
    Type Name Description
    GfVec3d v1
    GfVec3d v2

    BuildOrthonormalFrame(GfVec3d, GfVec3d, Double)

    Declaration
    public void BuildOrthonormalFrame(GfVec3d v1, GfVec3d v2, double eps)
    Parameters
    Type Name Description
    GfVec3d v1
    GfVec3d v2
    Double eps

    Dispose()

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

    Equals(GfVec3d, GfVec3d)

    Declaration
    public static bool Equals(GfVec3d lhs, GfVec3d rhs)
    Parameters
    Type Name Description
    GfVec3d lhs
    GfVec3d 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()

    GetComplement(GfVec3d)

    Declaration
    public GfVec3d GetComplement(GfVec3d b)
    Parameters
    Type Name Description
    GfVec3d b
    Returns
    Type Description
    GfVec3d

    GetHashCode()

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

    GetLength()

    Declaration
    public double GetLength()
    Returns
    Type Description
    Double

    GetLengthSq()

    Declaration
    public double GetLengthSq()
    Returns
    Type Description
    Double

    GetNormalized()

    Declaration
    public GfVec3d GetNormalized()
    Returns
    Type Description
    GfVec3d

    GetNormalized(Double)

    Declaration
    public GfVec3d GetNormalized(double eps)
    Parameters
    Type Name Description
    Double eps
    Returns
    Type Description
    GfVec3d

    GetProjection(GfVec3d)

    Declaration
    public GfVec3d GetProjection(GfVec3d v)
    Parameters
    Type Name Description
    GfVec3d v
    Returns
    Type Description
    GfVec3d

    GetValue(Int32)

    Declaration
    protected double GetValue(int index)
    Parameters
    Type Name Description
    Int32 index
    Returns
    Type Description
    Double

    Normalize()

    Declaration
    public double Normalize()
    Returns
    Type Description
    Double

    Normalize(Double)

    Declaration
    public double Normalize(double eps)
    Parameters
    Type Name Description
    Double eps
    Returns
    Type Description
    Double

    OrthogonalizeBasis(GfVec3d, GfVec3d, GfVec3d, Boolean)

    Declaration
    public static bool OrthogonalizeBasis(GfVec3d tx, GfVec3d ty, GfVec3d tz, bool normalize)
    Parameters
    Type Name Description
    GfVec3d tx
    GfVec3d ty
    GfVec3d tz
    Boolean normalize
    Returns
    Type Description
    Boolean

    OrthogonalizeBasis(GfVec3d, GfVec3d, GfVec3d, Boolean, Double)

    Declaration
    public static bool OrthogonalizeBasis(GfVec3d tx, GfVec3d ty, GfVec3d tz, bool normalize, double eps)
    Parameters
    Type Name Description
    GfVec3d tx
    GfVec3d ty
    GfVec3d tz
    Boolean normalize
    Double eps
    Returns
    Type Description
    Boolean

    Set(Double, Double, Double)

    Declaration
    public GfVec3d Set(double s0, double s1, double s2)
    Parameters
    Type Name Description
    Double s0
    Double s1
    Double s2
    Returns
    Type Description
    GfVec3d

    SetValue(Int32, Double)

    Declaration
    protected void SetValue(int index, double value)
    Parameters
    Type Name Description
    Int32 index
    Double value

    XAxis()

    Declaration
    public static GfVec3d XAxis()
    Returns
    Type Description
    GfVec3d

    YAxis()

    Declaration
    public static GfVec3d YAxis()
    Returns
    Type Description
    GfVec3d

    ZAxis()

    Declaration
    public static GfVec3d ZAxis()
    Returns
    Type Description
    GfVec3d

    Operators

    Equality(GfVec3d, GfVec3d)

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

    Inequality(GfVec3d, GfVec3d)

    Declaration
    public static bool operator !=(GfVec3d lhs, GfVec3d rhs)
    Parameters
    Type Name Description
    GfVec3d lhs
    GfVec3d 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