Class GfVec2h
Namespace: pxr
Syntax
public class GfVec2h : IDisposable
Constructors
GfVec2h()
Declaration
GfVec2h(GfHalf)
Declaration
public GfVec2h(GfHalf value)
Parameters
Type |
Name |
Description |
GfHalf |
value |
|
GfVec2h(GfHalf, GfHalf)
Declaration
public GfVec2h(GfHalf s0, GfHalf s1)
Parameters
GfVec2h(GfVec2d)
Declaration
public GfVec2h(GfVec2d other)
Parameters
Type |
Name |
Description |
GfVec2d |
other |
|
GfVec2h(GfVec2f)
Declaration
public GfVec2h(GfVec2f other)
Parameters
Type |
Name |
Description |
GfVec2f |
other |
|
GfVec2h(GfVec2i)
Declaration
public GfVec2h(GfVec2i other)
Parameters
Type |
Name |
Description |
GfVec2i |
other |
|
Fields
dimension
Declaration
public static readonly uint dimension
Field Value
swigCMemOwn
Declaration
protected bool swigCMemOwn
Field Value
Properties
Item[Int32]
Declaration
public float this[int index] { get; set; }
Parameters
Type |
Name |
Description |
Int32 |
index |
|
Property Value
Methods
Axis(UInt32)
Declaration
public static GfVec2h Axis(uint i)
Parameters
Type |
Name |
Description |
UInt32 |
i |
|
Returns
Dispose()
Declaration
public virtual void Dispose()
Implements
Equals(GfVec2h, GfVec2h)
Declaration
public static bool Equals(GfVec2h lhs, GfVec2h rhs)
Parameters
Returns
Equals(Object)
Declaration
public override bool Equals(object rhs)
Parameters
Type |
Name |
Description |
Object |
rhs |
|
Returns
Overrides
Finalize()
Declaration
protected void Finalize()
GetComplement(GfVec2h)
Declaration
public GfVec2h GetComplement(GfVec2h b)
Parameters
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
GetLength()
Declaration
public GfHalf GetLength()
Returns
GetLengthSq()
Declaration
public GfHalf GetLengthSq()
Returns
GetNormalized()
Declaration
public GfVec2h GetNormalized()
Returns
GetNormalized(GfHalf)
Declaration
public GfVec2h GetNormalized(GfHalf eps)
Parameters
Type |
Name |
Description |
GfHalf |
eps |
|
Returns
GetProjection(GfVec2h)
Declaration
public GfVec2h GetProjection(GfVec2h v)
Parameters
Returns
GetValue(Int32)
Declaration
protected float GetValue(int index)
Parameters
Type |
Name |
Description |
Int32 |
index |
|
Returns
Normalize()
Declaration
public GfHalf Normalize()
Returns
Normalize(GfHalf)
Declaration
public GfHalf Normalize(GfHalf eps)
Parameters
Type |
Name |
Description |
GfHalf |
eps |
|
Returns
Set(GfHalf)
Declaration
public GfVec2h Set(GfHalf a)
Parameters
Type |
Name |
Description |
GfHalf |
a |
|
Returns
Set(GfHalf, GfHalf)
Declaration
public GfVec2h Set(GfHalf s0, GfHalf s1)
Parameters
Returns
SetValue(Int32, Single)
Declaration
protected void SetValue(int index, float value)
Parameters
XAxis()
Declaration
public static GfVec2h XAxis()
Returns
YAxis()
Declaration
public static GfVec2h YAxis()
Returns
Operators
Equality(GfVec2h, GfVec2h)
Declaration
public static bool operator ==(GfVec2h lhs, GfVec2h rhs)
Parameters
Returns
Inequality(GfVec2h, GfVec2h)
Declaration
public static bool operator !=(GfVec2h lhs, GfVec2h rhs)
Parameters
Returns