public GfVec3f(GfVec3h other) : this(UsdCsPINVOKE.new_GfVec3f__SWIG_5(GfVec3h.getCPtr(other)), true) { if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public VtVec3hArray(uint n, GfVec3h value) : this(UsdCsPINVOKE.new_VtVec3hArray__SWIG_4(n, GfVec3h.getCPtr(value)), true) { if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public VtValue(GfVec3h obj) : this(UsdCsPINVOKE.new_VtValue__SWIG_17(GfVec3h.getCPtr(obj)), true) { if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public void push_back(GfVec3h elem) { UsdCsPINVOKE.VtVec3hArray_push_back(swigCPtr, GfVec3h.getCPtr(elem)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
protected void SetValue(int index, GfVec3h value) { UsdCsPINVOKE.VtVec3hArray_SetValue(swigCPtr, index, GfVec3h.getCPtr(value)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public void assign(uint n, GfVec3h fill) { UsdCsPINVOKE.VtVec3hArray_assign(swigCPtr, n, GfVec3h.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 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 Equals(GfVec3h lhs, GfVec3h rhs) { bool ret = UsdCsPINVOKE.GfVec3h_Equals(GfVec3h.getCPtr(lhs), GfVec3h.getCPtr(rhs)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public GfVec3h GetProjection(GfVec3h v) { GfVec3h ret = new GfVec3h(UsdCsPINVOKE.GfVec3h_GetProjection(swigCPtr, GfVec3h.getCPtr(v)), true); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public GfVec3h GetComplement(GfVec3h b) { GfVec3h ret = new GfVec3h(UsdCsPINVOKE.GfVec3h_GetComplement(swigCPtr, GfVec3h.getCPtr(b)), true); 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 static bool operator==(GfVec3h lhs, GfVec3h 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) || GfVec3h.Equals(lhs, rhs))); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(GfVec3h obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }
protected GfVec3h GetValue(int index) { GfVec3h ret = new GfVec3h(UsdCsPINVOKE.VtVec3hArray_GetValue(swigCPtr, index), false); return(ret); }
public GfVec3h GetNormalized() { GfVec3h ret = new GfVec3h(UsdCsPINVOKE.GfVec3h_GetNormalized__SWIG_1(swigCPtr), true); return(ret); }
public static GfVec3h XAxis() { GfVec3h ret = new GfVec3h(UsdCsPINVOKE.GfVec3h_XAxis(), true); return(ret); }
override public bool Equals(object rhs) { return(GfVec3h.Equals(this, rhs as GfVec3h)); }
public static GfVec3h Axis(uint i) { GfVec3h ret = new GfVec3h(UsdCsPINVOKE.GfVec3h_Axis(i), true); return(ret); }
public GfVec3h Set(GfHalf a) { GfVec3h ret = new GfVec3h(UsdCsPINVOKE.GfVec3h_Set__SWIG_1(swigCPtr, GfHalf.getCPtr(a)), false); return(ret); }
public static bool OrthogonalizeBasis(GfVec3h tx, GfVec3h ty, GfVec3h tz, bool normalize) { bool ret = UsdCsPINVOKE.GfVec3h_OrthogonalizeBasis__SWIG_1(GfVec3h.getCPtr(tx), GfVec3h.getCPtr(ty), GfVec3h.getCPtr(tz), normalize); return(ret); }
public void BuildOrthonormalFrame(GfVec3h v1, GfVec3h v2) { UsdCsPINVOKE.GfVec3h_BuildOrthonormalFrame__SWIG_1(swigCPtr, GfVec3h.getCPtr(v1), GfVec3h.getCPtr(v2)); }
public VtVec3hArray(Vt_ArrayForeignDataSource foreignSrc, GfVec3h data, uint size) : this(UsdCsPINVOKE.new_VtVec3hArray__SWIG_2(Vt_ArrayForeignDataSource.getCPtr(foreignSrc), GfVec3h.getCPtr(data), size), true) { }