public VtMatrix2dArray(uint n, GfMatrix2d value) : this(UsdCsPINVOKE.new_VtMatrix2dArray__SWIG_4(n, GfMatrix2d.getCPtr(value)), true) { if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public VtValue(GfMatrix2d obj) : this(UsdCsPINVOKE.new_VtValue__SWIG_5(GfMatrix2d.getCPtr(obj)), true) { if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public GfMatrix2f(GfMatrix2d m) : this(UsdCsPINVOKE.new_GfMatrix2f__SWIG_7(GfMatrix2d.getCPtr(m)), true) { if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public void push_back(GfMatrix2d elem) { UsdCsPINVOKE.VtMatrix2dArray_push_back(swigCPtr, GfMatrix2d.getCPtr(elem)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
protected void SetValue(int index, GfMatrix2d value) { UsdCsPINVOKE.VtMatrix2dArray_SetValue(swigCPtr, index, GfMatrix2d.getCPtr(value)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public void assign(uint n, GfMatrix2d fill) { UsdCsPINVOKE.VtMatrix2dArray_assign(swigCPtr, n, GfMatrix2d.getCPtr(fill)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public GfMatrix2d SetDiagonal(GfVec2d arg0) { GfMatrix2d ret = new GfMatrix2d(UsdCsPINVOKE.GfMatrix2d_SetDiagonal__SWIG_1(swigCPtr, GfVec2d.getCPtr(arg0)), false); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static bool Equals(GfMatrix2d lhs, GfMatrix2d rhs) { bool ret = UsdCsPINVOKE.GfMatrix2d_Equals(GfMatrix2d.getCPtr(lhs), GfMatrix2d.getCPtr(rhs)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static bool operator==(GfMatrix2d lhs, GfMatrix2d 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) || GfMatrix2d.Equals(lhs, rhs))); }
public GfMatrix2d SetZero() { GfMatrix2d ret = new GfMatrix2d(UsdCsPINVOKE.GfMatrix2d_SetZero(swigCPtr), false); return(ret); }
protected GfMatrix2d GetValue(int index) { GfMatrix2d ret = new GfMatrix2d(UsdCsPINVOKE.VtMatrix2dArray_GetValue(swigCPtr, index), false); return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(GfMatrix2d obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }
public GfMatrix2d GetInverse() { GfMatrix2d ret = new GfMatrix2d(UsdCsPINVOKE.GfMatrix2d_GetInverse__SWIG_2(swigCPtr), true); return(ret); }
public GfMatrix2d GetInverse(ref double det) { GfMatrix2d ret = new GfMatrix2d(UsdCsPINVOKE.GfMatrix2d_GetInverse__SWIG_1(swigCPtr, ref det), true); return(ret); }
public GfMatrix2d GetTranspose() { GfMatrix2d ret = new GfMatrix2d(UsdCsPINVOKE.GfMatrix2d_GetTranspose(swigCPtr), true); return(ret); }
public GfMatrix2d Set(double m00, double m01, double m10, double m11) { GfMatrix2d ret = new GfMatrix2d(UsdCsPINVOKE.GfMatrix2d_Set(swigCPtr, m00, m01, m10, m11), false); return(ret); }
override public bool Equals(object rhs) { return(GfMatrix2d.Equals(this, rhs as GfMatrix2d)); }
public GfMatrix2d SetDiagonal(double s) { GfMatrix2d ret = new GfMatrix2d(UsdCsPINVOKE.GfMatrix2d_SetDiagonal__SWIG_0(swigCPtr, s), false); return(ret); }
public VtMatrix2dArray(Vt_ArrayForeignDataSource foreignSrc, GfMatrix2d data, uint size) : this(UsdCsPINVOKE.new_VtMatrix2dArray__SWIG_2(Vt_ArrayForeignDataSource.getCPtr(foreignSrc), GfMatrix2d.getCPtr(data), size), true) { }