docs.unity3d.com
    Show / Hide Table of Contents

    Class GfVec2d

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

    Constructors

    GfVec2d()

    Declaration
    public GfVec2d()

    GfVec2d(GfVec2f)

    Declaration
    public GfVec2d(GfVec2f other)
    Parameters
    Type Name Description
    GfVec2f other

    GfVec2d(GfVec2h)

    Declaration
    public GfVec2d(GfVec2h other)
    Parameters
    Type Name Description
    GfVec2h other

    GfVec2d(GfVec2i)

    Declaration
    public GfVec2d(GfVec2i other)
    Parameters
    Type Name Description
    GfVec2i other

    GfVec2d(Double)

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

    GfVec2d(Double, Double)

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

    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 GfVec2d Axis(uint i)
    Parameters
    Type Name Description
    UInt32 i
    Returns
    Type Description
    GfVec2d

    Dispose()

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

    Equals(GfVec2d, GfVec2d)

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

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

    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 GfVec2d GetNormalized()
    Returns
    Type Description
    GfVec2d

    GetNormalized(Double)

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

    GetProjection(GfVec2d)

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

    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

    Set(Double, Double)

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

    SetValue(Int32, Double)

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

    XAxis()

    Declaration
    public static GfVec2d XAxis()
    Returns
    Type Description
    GfVec2d

    YAxis()

    Declaration
    public static GfVec2d YAxis()
    Returns
    Type Description
    GfVec2d

    Operators

    Equality(GfVec2d, GfVec2d)

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

    Inequality(GfVec2d, GfVec2d)

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