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();
     }
 }
Example #2
0
 public VtValue(GfMatrix3d obj) : this(UsdCsPINVOKE.new_VtValue__SWIG_6(GfMatrix3d.getCPtr(obj)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #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();
     }
 }
Example #4
0
 public GfMatrix3f(GfMatrix3d m) : this(UsdCsPINVOKE.new_GfMatrix3f__SWIG_9(GfMatrix3d.getCPtr(m)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public void assign(uint n, GfMatrix3d fill)
 {
     UsdCsPINVOKE.VtMatrix3dArray_assign(swigCPtr, n, GfMatrix3d.getCPtr(fill));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public void push_back(GfMatrix3d elem)
 {
     UsdCsPINVOKE.VtMatrix3dArray_push_back(swigCPtr, GfMatrix3d.getCPtr(elem));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 protected void SetValue(int index, GfMatrix3d value)
 {
     UsdCsPINVOKE.VtMatrix3dArray_SetValue(swigCPtr, index, GfMatrix3d.getCPtr(value));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #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));
    }
Example #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);
        }
Example #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);
        }
Example #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);
        }
Example #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);
        }
Example #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);
        }
Example #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);
        }
Example #15
0
        public GfMatrix3d SetScale(double scaleFactor)
        {
            GfMatrix3d ret = new GfMatrix3d(UsdCsPINVOKE.GfMatrix3d_SetScale__SWIG_0(swigCPtr, scaleFactor), false);

            return(ret);
        }
Example #16
0
        public GfMatrix3d GetOrthonormalized()
        {
            GfMatrix3d ret = new GfMatrix3d(UsdCsPINVOKE.GfMatrix3d_GetOrthonormalized__SWIG_1(swigCPtr), true);

            return(ret);
        }
Example #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);
        }
 public VtMatrix3dArray(Vt_ArrayForeignDataSource foreignSrc, GfMatrix3d data, uint size) : this(UsdCsPINVOKE.new_VtMatrix3dArray__SWIG_2(Vt_ArrayForeignDataSource.getCPtr(foreignSrc), GfMatrix3d.getCPtr(data), size), true)
 {
 }
Example #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);
 }
Example #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;
 }
Example #21
0
        public GfMatrix3d SetDiagonal(double s)
        {
            GfMatrix3d ret = new GfMatrix3d(UsdCsPINVOKE.GfMatrix3d_SetDiagonal__SWIG_0(swigCPtr, s), false);

            return(ret);
        }
Example #22
0
        public GfMatrix3d SetZero()
        {
            GfMatrix3d ret = new GfMatrix3d(UsdCsPINVOKE.GfMatrix3d_SetZero(swigCPtr), false);

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

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

            return(ret);
        }
Example #27
0
        public GfMatrix3d GetTranspose()
        {
            GfMatrix3d ret = new GfMatrix3d(UsdCsPINVOKE.GfMatrix3d_GetTranspose(swigCPtr), true);

            return(ret);
        }
Example #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;
 }
Example #29
0
        public GfMatrix3d ExtractRotationMatrix()
        {
            GfMatrix3d ret = new GfMatrix3d(UsdCsPINVOKE.GfMatrix4d_ExtractRotationMatrix(swigCPtr), true);

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

            return(ret);
        }