public VtHalfArray(uint n, GfHalf value) : this(UsdCsPINVOKE.new_VtHalfArray__SWIG_4(n, GfHalf.getCPtr(value)), true) { if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public GfVec3h(GfHalf value) : this(UsdCsPINVOKE.new_GfVec3h__SWIG_2(GfHalf.getCPtr(value)), true) { if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public VtValue(GfHalf obj) : this(UsdCsPINVOKE.new_VtValue__SWIG_4(GfHalf.getCPtr(obj)), true) { if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public GfVec3h(GfHalf s0, GfHalf s1, GfHalf s2) : this(UsdCsPINVOKE.new_GfVec3h__SWIG_3(GfHalf.getCPtr(s0), GfHalf.getCPtr(s1), GfHalf.getCPtr(s2)), true) { if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public void assign(uint n, GfHalf fill) { UsdCsPINVOKE.VtHalfArray_assign(swigCPtr, n, GfHalf.getCPtr(fill)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public void BuildOrthonormalFrame(GfVec3h v1, GfVec3h v2, GfHalf eps) { UsdCsPINVOKE.GfVec3h_BuildOrthonormalFrame__SWIG_0(swigCPtr, GfVec3h.getCPtr(v1), GfVec3h.getCPtr(v2), GfHalf.getCPtr(eps)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public void push_back(GfHalf elem) { UsdCsPINVOKE.VtHalfArray_push_back(swigCPtr, GfHalf.getCPtr(elem)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
protected void SetValue(int index, GfHalf value) { UsdCsPINVOKE.VtHalfArray_SetValue(swigCPtr, index, GfHalf.getCPtr(value)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public static bool Equals(GfHalf lhs, GfHalf rhs) { bool ret = UsdCsPINVOKE.GfHalf_Equals(GfHalf.getCPtr(lhs), GfHalf.getCPtr(rhs)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public GfVec3h Set(GfHalf s0, GfHalf s1, GfHalf s2) { GfVec3h ret = new GfVec3h(UsdCsPINVOKE.GfVec3h_Set__SWIG_0(swigCPtr, GfHalf.getCPtr(s0), GfHalf.getCPtr(s1), GfHalf.getCPtr(s2)), false); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public GfVec3h GetNormalized(GfHalf eps) { GfVec3h ret = new GfVec3h(UsdCsPINVOKE.GfVec3h_GetNormalized__SWIG_0(swigCPtr, GfHalf.getCPtr(eps)), true); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static bool operator==(GfHalf lhs, GfHalf rhs) { // The Swig binding glue will re-enter this operator comparing to null, so // that case must be handled explicitly to avoid an infinite loop. This is still // not great, since it crosses the C#/C++ barrier twice. A better approache might // be to return a simple value from C++ that can be compared in C#. bool lnull = lhs as object == null; bool rnull = rhs as object == null; return((lnull == rnull) && ((lnull && rnull) || GfHalf.Equals(lhs, rhs))); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(GfHalf obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }
public GfVec3h Set(GfHalf a) { GfVec3h ret = new GfVec3h(UsdCsPINVOKE.GfVec3h_Set__SWIG_1(swigCPtr, GfHalf.getCPtr(a)), false); return(ret); }
public GfHalf GetLength() { GfHalf ret = new GfHalf(UsdCsPINVOKE.GfVec3h_GetLength(swigCPtr), true); return(ret); }
protected GfHalf GetValue(int index) { GfHalf ret = new GfHalf(UsdCsPINVOKE.VtHalfArray_GetValue(swigCPtr, index), false); return(ret); }
public GfHalf Normalize() { GfHalf ret = new GfHalf(UsdCsPINVOKE.GfVec3h_Normalize__SWIG_1(swigCPtr), true); return(ret); }
override public bool Equals(object rhs) { return(GfHalf.Equals(this, rhs as GfHalf)); }
public VtHalfArray(Vt_ArrayForeignDataSource foreignSrc, GfHalf data, uint size) : this(UsdCsPINVOKE.new_VtHalfArray__SWIG_2(Vt_ArrayForeignDataSource.getCPtr(foreignSrc), GfHalf.getCPtr(data), size), true) { }