Exemple #1
0
 public GfVec3d(GfVec3f other) : this(UsdCsPINVOKE.new_GfVec3d__SWIG_4(GfVec3f.getCPtr(other)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #2
0
 public GfMatrix3f(GfVec3f v) : this(UsdCsPINVOKE.new_GfMatrix3f__SWIG_4(GfVec3f.getCPtr(v)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #3
0
 public VtValue(GfVec3f obj) : this(UsdCsPINVOKE.new_VtValue__SWIG_16(GfVec3f.getCPtr(obj)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #4
0
 public void SetImaginary(GfVec3f imaginary)
 {
     UsdCsPINVOKE.GfQuatf_SetImaginary__SWIG_0(swigCPtr, GfVec3f.getCPtr(imaginary));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 protected void SetValue(int index, GfVec3f value)
 {
     UsdCsPINVOKE.VtVec3fArray_SetValue(swigCPtr, index, GfVec3f.getCPtr(value));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #6
0
 public void SetRow3(int i, GfVec3f v)
 {
     UsdCsPINVOKE.GfMatrix4f_SetRow3(swigCPtr, i, GfVec3f.getCPtr(v));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public void push_back(GfVec3f elem)
 {
     UsdCsPINVOKE.VtVec3fArray_push_back(swigCPtr, GfVec3f.getCPtr(elem));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public void assign(uint n, GfVec3f fill)
 {
     UsdCsPINVOKE.VtVec3fArray_assign(swigCPtr, n, GfVec3f.getCPtr(fill));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #9
0
        public GfVec3f GetProjection(GfVec3f v)
        {
            GfVec3f ret = new GfVec3f(UsdCsPINVOKE.GfVec3f_GetProjection(swigCPtr, GfVec3f.getCPtr(v)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #10
0
        public static bool Equals(GfVec3f lhs, GfVec3f rhs)
        {
            bool ret = UsdCsPINVOKE.GfVec3f_Equals(GfVec3f.getCPtr(lhs), GfVec3f.getCPtr(rhs));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #11
0
        public GfVec3f GetComplement(GfVec3f b)
        {
            GfVec3f ret = new GfVec3f(UsdCsPINVOKE.GfVec3f_GetComplement(swigCPtr, GfVec3f.getCPtr(b)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #12
0
 public GfMatrix4f(GfRotation rotate, GfVec3f translate) : this(UsdCsPINVOKE.new_GfMatrix4f__SWIG_8(GfRotation.getCPtr(rotate), GfVec3f.getCPtr(translate)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #13
0
        public GfVec3f TransformAffine(GfVec3f vec)
        {
            GfVec3f ret = new GfVec3f(UsdCsPINVOKE.GfMatrix4f_TransformAffine__SWIG_1(swigCPtr, GfVec3f.getCPtr(vec)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #14
0
        public GfVec3f DecomposeRotation(GfVec3f axis0, GfVec3f axis1, GfVec3f axis2)
        {
            GfVec3f ret = new GfVec3f(UsdCsPINVOKE.GfMatrix4f_DecomposeRotation(swigCPtr, GfVec3f.getCPtr(axis0), GfVec3f.getCPtr(axis1), GfVec3f.getCPtr(axis2)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #15
0
        public bool Factor(GfMatrix4f r, GfVec3f s, GfMatrix4f u, GfVec3f t, GfMatrix4f p)
        {
            bool ret = UsdCsPINVOKE.GfMatrix4f_Factor__SWIG_1(swigCPtr, GfMatrix4f.getCPtr(r), GfVec3f.getCPtr(s), GfMatrix4f.getCPtr(u), GfVec3f.getCPtr(t), GfMatrix4f.getCPtr(p));

            return(ret);
        }
Exemple #16
0
        public GfMatrix4f SetLookAt(GfVec3f eyePoint, GfRotation orientation)
        {
            GfMatrix4f ret = new GfMatrix4f(UsdCsPINVOKE.GfMatrix4f_SetLookAt__SWIG_1(swigCPtr, GfVec3f.getCPtr(eyePoint), GfRotation.getCPtr(orientation)), false);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #17
0
        public GfMatrix4f SetTransform(GfMatrix3f rotmx, GfVec3f translate)
        {
            GfMatrix4f ret = new GfMatrix4f(UsdCsPINVOKE.GfMatrix4f_SetTransform__SWIG_1(swigCPtr, GfMatrix3f.getCPtr(rotmx), GfVec3f.getCPtr(translate)), false);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #18
0
        public GfMatrix4f SetTranslateOnly(GfVec3f t)
        {
            GfMatrix4f ret = new GfMatrix4f(UsdCsPINVOKE.GfMatrix4f_SetTranslateOnly(swigCPtr, GfVec3f.getCPtr(t)), false);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #19
0
 public VtVec3fArray(Vt_ArrayForeignDataSource foreignSrc, GfVec3f data, uint size) : this(UsdCsPINVOKE.new_VtVec3fArray__SWIG_2(Vt_ArrayForeignDataSource.getCPtr(foreignSrc), GfVec3f.getCPtr(data), size), true)
 {
 }
 public VtVec3fArray(uint n, GfVec3f value) : this(UsdCsPINVOKE.new_VtVec3fArray__SWIG_4(n, GfVec3f.getCPtr(value)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #21
0
 public void BuildOrthonormalFrame(GfVec3f v1, GfVec3f v2)
 {
     UsdCsPINVOKE.GfVec3f_BuildOrthonormalFrame__SWIG_1(swigCPtr, GfVec3f.getCPtr(v1), GfVec3f.getCPtr(v2));
 }
Exemple #22
0
 public void BuildOrthonormalFrame(GfVec3f v1, GfVec3f v2, float eps)
 {
     UsdCsPINVOKE.GfVec3f_BuildOrthonormalFrame__SWIG_0(swigCPtr, GfVec3f.getCPtr(v1), GfVec3f.getCPtr(v2), eps);
 }
Exemple #23
0
        public static bool OrthogonalizeBasis(GfVec3f tx, GfVec3f ty, GfVec3f tz, bool normalize)
        {
            bool ret = UsdCsPINVOKE.GfVec3f_OrthogonalizeBasis__SWIG_1(GfVec3f.getCPtr(tx), GfVec3f.getCPtr(ty), GfVec3f.getCPtr(tz), normalize);

            return(ret);
        }
Exemple #24
0
        public GfMatrix4f SetScale(GfVec3f scaleFactors)
        {
            GfMatrix4f ret = new GfMatrix4f(UsdCsPINVOKE.GfMatrix4f_SetScale__SWIG_1(swigCPtr, GfVec3f.getCPtr(scaleFactors)), false);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #25
0
 public GfQuatf(float real, GfVec3f imaginary) : this(UsdCsPINVOKE.new_GfQuatf__SWIG_3(real, GfVec3f.getCPtr(imaginary)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #26
0
        public GfVec3f TransformDir(GfVec3f vec)
        {
            GfVec3f ret = new GfVec3f(UsdCsPINVOKE.GfRotation_TransformDir__SWIG_0(swigCPtr, GfVec3f.getCPtr(vec)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #27
0
        public GfMatrix3f SetDiagonal(GfVec3f arg0)
        {
            GfMatrix3f ret = new GfMatrix3f(UsdCsPINVOKE.GfMatrix3f_SetDiagonal__SWIG_1(swigCPtr, GfVec3f.getCPtr(arg0)), false);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }