Пример #1
0
 public VtMatrix3dArray(uint n, GfMatrix3d value) : this(UsdCsPINVOKE.new_VtMatrix3dArray__SWIG_5(n, GfMatrix3d.getCPtr(value)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #2
0
 public VtValue(GfMatrix3d obj) : this(UsdCsPINVOKE.new_VtValue__SWIG_6(GfMatrix3d.getCPtr(obj)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #3
0
 public GfMatrix4d(GfMatrix3d rotmx, GfVec3d translate) : this(UsdCsPINVOKE.new_GfMatrix4d__SWIG_9(GfMatrix3d.getCPtr(rotmx), GfVec3d.getCPtr(translate)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #4
0
 public GfMatrix3f(GfMatrix3d m) : this(UsdCsPINVOKE.new_GfMatrix3f__SWIG_9(GfMatrix3d.getCPtr(m)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #5
0
 public void assign(uint n, GfMatrix3d fill)
 {
     UsdCsPINVOKE.VtMatrix3dArray_assign(swigCPtr, n, GfMatrix3d.getCPtr(fill));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #6
0
 public void push_back(GfMatrix3d elem)
 {
     UsdCsPINVOKE.VtMatrix3dArray_push_back(swigCPtr, GfMatrix3d.getCPtr(elem));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #7
0
 protected void SetValue(int index, GfMatrix3d value)
 {
     UsdCsPINVOKE.VtMatrix3dArray_SetValue(swigCPtr, index, GfMatrix3d.getCPtr(value));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #8
0
    public static bool operator==(GfMatrix3d lhs, GfMatrix3d 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) || GfMatrix3d.Equals(lhs, rhs));
    }
Пример #9
0
        public GfMatrix4d SetRotateOnly(GfMatrix3d mx)
        {
            GfMatrix4d ret = new GfMatrix4d(UsdCsPINVOKE.GfMatrix4d_SetRotateOnly__SWIG_2(swigCPtr, GfMatrix3d.getCPtr(mx)), false);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #10
0
        public GfMatrix3d SetScale(GfVec3d scaleFactors)
        {
            GfMatrix3d ret = new GfMatrix3d(UsdCsPINVOKE.GfMatrix3d_SetScale__SWIG_1(swigCPtr, GfVec3d.getCPtr(scaleFactors)), false);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #11
0
        public static bool Equals(GfMatrix3d lhs, GfMatrix3d rhs)
        {
            bool ret = UsdCsPINVOKE.GfMatrix3d_Equals(GfMatrix3d.getCPtr(lhs), GfMatrix3d.getCPtr(rhs));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #12
0
        public GfMatrix4d SetTransform(GfMatrix3d rotmx, GfVec3d translate)
        {
            GfMatrix4d ret = new GfMatrix4d(UsdCsPINVOKE.GfMatrix4d_SetTransform__SWIG_1(swigCPtr, GfMatrix3d.getCPtr(rotmx), GfVec3d.getCPtr(translate)), false);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #13
0
        public GfMatrix3d SetRotate(GfRotation rot)
        {
            GfMatrix3d ret = new GfMatrix3d(UsdCsPINVOKE.GfMatrix3d_SetRotate__SWIG_1(swigCPtr, GfRotation.getCPtr(rot)), false);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #14
0
        public GfMatrix3d SetDiagonal(GfVec3d arg0)
        {
            GfMatrix3d ret = new GfMatrix3d(UsdCsPINVOKE.GfMatrix3d_SetDiagonal__SWIG_1(swigCPtr, GfVec3d.getCPtr(arg0)), false);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #15
0
        public GfMatrix3d SetScale(double scaleFactor)
        {
            GfMatrix3d ret = new GfMatrix3d(UsdCsPINVOKE.GfMatrix3d_SetScale__SWIG_0(swigCPtr, scaleFactor), false);

            return(ret);
        }
Пример #16
0
        public GfMatrix3d GetOrthonormalized()
        {
            GfMatrix3d ret = new GfMatrix3d(UsdCsPINVOKE.GfMatrix3d_GetOrthonormalized__SWIG_1(swigCPtr), true);

            return(ret);
        }
Пример #17
0
        public GfMatrix3d Set(double m00, double m01, double m02, double m10, double m11, double m12, double m20, double m21, double m22)
        {
            GfMatrix3d ret = new GfMatrix3d(UsdCsPINVOKE.GfMatrix3d_Set(swigCPtr, m00, m01, m02, m10, m11, m12, m20, m21, m22), false);

            return(ret);
        }
Пример #18
0
 public VtMatrix3dArray(Vt_ArrayForeignDataSource foreignSrc, GfMatrix3d data, uint size) : this(UsdCsPINVOKE.new_VtMatrix3dArray__SWIG_2(Vt_ArrayForeignDataSource.getCPtr(foreignSrc), GfMatrix3d.getCPtr(data), size), true)
 {
 }
Пример #19
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(GfMatrix3d obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
Пример #20
0
 public GfMatrix3d GetInverse(ref double det, double eps) {
   GfMatrix3d ret = new GfMatrix3d(UsdCsPINVOKE.GfMatrix3d_GetInverse__SWIG_0(swigCPtr, ref det, eps), true);
   return ret;
 }
Пример #21
0
        public GfMatrix3d SetDiagonal(double s)
        {
            GfMatrix3d ret = new GfMatrix3d(UsdCsPINVOKE.GfMatrix3d_SetDiagonal__SWIG_0(swigCPtr, s), false);

            return(ret);
        }
Пример #22
0
        public GfMatrix3d SetZero()
        {
            GfMatrix3d ret = new GfMatrix3d(UsdCsPINVOKE.GfMatrix3d_SetZero(swigCPtr), false);

            return(ret);
        }
Пример #23
0
 override public bool Equals(object rhs)
 {
     return(GfMatrix3d.Equals(this, rhs as GfMatrix3d));
 }
Пример #24
0
        public GfMatrix3d GetInverse()
        {
            GfMatrix3d ret = new GfMatrix3d(UsdCsPINVOKE.GfMatrix3d_GetInverse__SWIG_2(swigCPtr), true);

            return(ret);
        }
Пример #25
0
 public GfMatrix3d SetIdentity() {
   GfMatrix3d ret = new GfMatrix3d(UsdCsPINVOKE.GfMatrix3d_SetIdentity(swigCPtr), false);
   return ret;
 }
Пример #26
0
        public GfMatrix3d GetOrthonormalized(bool issueWarning)
        {
            GfMatrix3d ret = new GfMatrix3d(UsdCsPINVOKE.GfMatrix3d_GetOrthonormalized__SWIG_0(swigCPtr, issueWarning), true);

            return(ret);
        }
Пример #27
0
        public GfMatrix3d GetTranspose()
        {
            GfMatrix3d ret = new GfMatrix3d(UsdCsPINVOKE.GfMatrix3d_GetTranspose(swigCPtr), true);

            return(ret);
        }
Пример #28
0
 public GfMatrix3d SetRotate(GfQuatd rot) {
   GfMatrix3d ret = new GfMatrix3d(UsdCsPINVOKE.GfMatrix3d_SetRotate__SWIG_0(swigCPtr, GfQuatd.getCPtr(rot)), false);
   if (UsdCsPINVOKE.SWIGPendingException.Pending) throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Пример #29
0
        public GfMatrix3d ExtractRotationMatrix()
        {
            GfMatrix3d ret = new GfMatrix3d(UsdCsPINVOKE.GfMatrix4d_ExtractRotationMatrix(swigCPtr), true);

            return(ret);
        }
Пример #30
0
        public GfMatrix3d GetInverse(ref double det)
        {
            GfMatrix3d ret = new GfMatrix3d(UsdCsPINVOKE.GfMatrix3d_GetInverse__SWIG_1(swigCPtr, ref det), true);

            return(ret);
        }