public VtVec4iArray(uint n, GfVec4i value) : this(UsdCsPINVOKE.new_VtVec4iArray__SWIG_5(n, GfVec4i.getCPtr(value)), true) { if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public VtValue(GfVec4i obj) : this(UsdCsPINVOKE.new_VtValue__SWIG_22(GfVec4i.getCPtr(obj)), true) { if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public GfVec4d(GfVec4i other) : this(UsdCsPINVOKE.new_GfVec4d__SWIG_6(GfVec4i.getCPtr(other)), true) { if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
protected void SetValue(int index, GfVec4i value) { UsdCsPINVOKE.VtVec4iArray_SetValue(swigCPtr, index, GfVec4i.getCPtr(value)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public void push_back(GfVec4i elem) { UsdCsPINVOKE.VtVec4iArray_push_back(swigCPtr, GfVec4i.getCPtr(elem)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public void assign(uint n, GfVec4i fill) { UsdCsPINVOKE.VtVec4iArray_assign(swigCPtr, n, GfVec4i.getCPtr(fill)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public GfVec4i GetComplement(GfVec4i b) { GfVec4i ret = new GfVec4i(UsdCsPINVOKE.GfVec4i_GetComplement(swigCPtr, GfVec4i.getCPtr(b)), true); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static bool Equals(GfVec4i lhs, GfVec4i rhs) { bool ret = UsdCsPINVOKE.GfVec4i_Equals(GfVec4i.getCPtr(lhs), GfVec4i.getCPtr(rhs)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public GfVec4i GetProjection(GfVec4i v) { GfVec4i ret = new GfVec4i(UsdCsPINVOKE.GfVec4i_GetProjection(swigCPtr, GfVec4i.getCPtr(v)), true); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static bool operator==(GfVec4i lhs, GfVec4i 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) || GfVec4i.Equals(lhs, rhs))); }
public VtVec4iArray(Vt_ArrayForeignDataSource foreignSrc, GfVec4i data, uint size) : this(UsdCsPINVOKE.new_VtVec4iArray__SWIG_2(Vt_ArrayForeignDataSource.getCPtr(foreignSrc), GfVec4i.getCPtr(data), size), true) { }
public GfVec4i Set(int s0, int s1, int s2, int s3) { GfVec4i ret = new GfVec4i(UsdCsPINVOKE.GfVec4i_Set(swigCPtr, s0, s1, s2, s3), false); return(ret); }
public static GfVec4i Axis(uint i) { GfVec4i ret = new GfVec4i(UsdCsPINVOKE.GfVec4i_Axis(i), true); return(ret); }
public static GfVec4i WAxis() { GfVec4i ret = new GfVec4i(UsdCsPINVOKE.GfVec4i_WAxis(), true); return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(GfVec4i obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }
override public bool Equals(object rhs) { return(GfVec4i.Equals(this, rhs as GfVec4i)); }
protected GfVec4i GetValue(int index) { GfVec4i ret = new GfVec4i(UsdCsPINVOKE.VtVec4iArray_GetValue(swigCPtr, index), false); return(ret); }