Esempio n. 1
0
 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();
     }
 }
Esempio n. 2
0
 public VtValue(GfMatrix2d obj) : this(UsdCsPINVOKE.new_VtValue__SWIG_5(GfMatrix2d.getCPtr(obj)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 3
0
 public GfMatrix2f(GfMatrix2d m) : this(UsdCsPINVOKE.new_GfMatrix2f__SWIG_7(GfMatrix2d.getCPtr(m)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 4
0
 public void push_back(GfMatrix2d elem)
 {
     UsdCsPINVOKE.VtMatrix2dArray_push_back(swigCPtr, GfMatrix2d.getCPtr(elem));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 5
0
 protected void SetValue(int index, GfMatrix2d value)
 {
     UsdCsPINVOKE.VtMatrix2dArray_SetValue(swigCPtr, index, GfMatrix2d.getCPtr(value));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 6
0
 public void assign(uint n, GfMatrix2d fill)
 {
     UsdCsPINVOKE.VtMatrix2dArray_assign(swigCPtr, n, GfMatrix2d.getCPtr(fill));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 7
0
        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);
        }
Esempio n. 8
0
        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);
        }
Esempio n. 9
0
        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)));
        }
Esempio n. 10
0
        public GfMatrix2d SetZero()
        {
            GfMatrix2d ret = new GfMatrix2d(UsdCsPINVOKE.GfMatrix2d_SetZero(swigCPtr), false);

            return(ret);
        }
Esempio n. 11
0
        protected GfMatrix2d GetValue(int index)
        {
            GfMatrix2d ret = new GfMatrix2d(UsdCsPINVOKE.VtMatrix2dArray_GetValue(swigCPtr, index), false);

            return(ret);
        }
Esempio n. 12
0
 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);
 }
Esempio n. 13
0
        public GfMatrix2d GetInverse()
        {
            GfMatrix2d ret = new GfMatrix2d(UsdCsPINVOKE.GfMatrix2d_GetInverse__SWIG_2(swigCPtr), true);

            return(ret);
        }
Esempio n. 14
0
        public GfMatrix2d GetInverse(ref double det)
        {
            GfMatrix2d ret = new GfMatrix2d(UsdCsPINVOKE.GfMatrix2d_GetInverse__SWIG_1(swigCPtr, ref det), true);

            return(ret);
        }
Esempio n. 15
0
        public GfMatrix2d GetTranspose()
        {
            GfMatrix2d ret = new GfMatrix2d(UsdCsPINVOKE.GfMatrix2d_GetTranspose(swigCPtr), true);

            return(ret);
        }
Esempio n. 16
0
        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);
        }
Esempio n. 17
0
 override public bool Equals(object rhs)
 {
     return(GfMatrix2d.Equals(this, rhs as GfMatrix2d));
 }
Esempio n. 18
0
        public GfMatrix2d SetDiagonal(double s)
        {
            GfMatrix2d ret = new GfMatrix2d(UsdCsPINVOKE.GfMatrix2d_SetDiagonal__SWIG_0(swigCPtr, s), false);

            return(ret);
        }
Esempio n. 19
0
 public VtMatrix2dArray(Vt_ArrayForeignDataSource foreignSrc, GfMatrix2d data, uint size) : this(UsdCsPINVOKE.new_VtMatrix2dArray__SWIG_2(Vt_ArrayForeignDataSource.getCPtr(foreignSrc), GfMatrix2d.getCPtr(data), size), true)
 {
 }