public VtValue(GfVec2i obj) : this(UsdCsPINVOKE.new_VtValue__SWIG_14(GfVec2i.getCPtr(obj)), true) { if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public VtVec2iArray(uint n, GfVec2i value) : this(UsdCsPINVOKE.new_VtVec2iArray__SWIG_4(n, GfVec2i.getCPtr(value)), true) { if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public GfVec2d(GfVec2i other) : this(UsdCsPINVOKE.new_GfVec2d__SWIG_7(GfVec2i.getCPtr(other)), true) { if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public void push_back(GfVec2i elem) { UsdCsPINVOKE.VtVec2iArray_push_back(swigCPtr, GfVec2i.getCPtr(elem)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public void assign(uint n, GfVec2i fill) { UsdCsPINVOKE.VtVec2iArray_assign(swigCPtr, n, GfVec2i.getCPtr(fill)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
protected void SetValue(int index, GfVec2i value) { UsdCsPINVOKE.VtVec2iArray_SetValue(swigCPtr, index, GfVec2i.getCPtr(value)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public static bool Equals(GfVec2i lhs, GfVec2i rhs) { bool ret = UsdCsPINVOKE.GfVec2i_Equals(GfVec2i.getCPtr(lhs), GfVec2i.getCPtr(rhs)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public GfVec2i GetProjection(GfVec2i v) { GfVec2i ret = new GfVec2i(UsdCsPINVOKE.GfVec2i_GetProjection(swigCPtr, GfVec2i.getCPtr(v)), true); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public GfVec2i GetComplement(GfVec2i b) { GfVec2i ret = new GfVec2i(UsdCsPINVOKE.GfVec2i_GetComplement(swigCPtr, GfVec2i.getCPtr(b)), true); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static bool operator==(GfVec2i lhs, GfVec2i 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) || GfVec2i.Equals(lhs, rhs))); }
public GfVec2i Set(int s0, int s1) { GfVec2i ret = new GfVec2i(UsdCsPINVOKE.GfVec2i_Set(swigCPtr, s0, s1), false); return(ret); }
protected GfVec2i GetValue(int index) { GfVec2i ret = new GfVec2i(UsdCsPINVOKE.VtVec2iArray_GetValue(swigCPtr, index), false); return(ret); }
public VtVec2iArray(Vt_ArrayForeignDataSource foreignSrc, GfVec2i data, uint size) : this(UsdCsPINVOKE.new_VtVec2iArray__SWIG_2(Vt_ArrayForeignDataSource.getCPtr(foreignSrc), GfVec2i.getCPtr(data), size), true) { }
public static GfVec2i Axis(uint i) { GfVec2i ret = new GfVec2i(UsdCsPINVOKE.GfVec2i_Axis(i), true); return(ret); }
public static GfVec2i YAxis() { GfVec2i ret = new GfVec2i(UsdCsPINVOKE.GfVec2i_YAxis(), true); return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(GfVec2i obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }
override public bool Equals(object rhs) { return(GfVec2i.Equals(this, rhs as GfVec2i)); }