コード例 #1
0
 public GfVec3d(GfVec3f other) : this(UsdCsPINVOKE.new_GfVec3d__SWIG_4(GfVec3f.getCPtr(other)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #2
0
ファイル: GfMatrix3f.cs プロジェクト: jminor/usd-unity-sdk
 public GfMatrix3f(GfVec3f v) : this(UsdCsPINVOKE.new_GfMatrix3f__SWIG_4(GfVec3f.getCPtr(v)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #3
0
ファイル: VtValue.cs プロジェクト: khunrobot/usd-unity-sdk
 public VtValue(GfVec3f obj) : this(UsdCsPINVOKE.new_VtValue__SWIG_16(GfVec3f.getCPtr(obj)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #4
0
ファイル: GfQuatf.cs プロジェクト: mwikenma/usd-unity-sdk
 public void SetImaginary(GfVec3f imaginary)
 {
     UsdCsPINVOKE.GfQuatf_SetImaginary__SWIG_0(swigCPtr, GfVec3f.getCPtr(imaginary));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #5
0
 protected void SetValue(int index, GfVec3f value)
 {
     UsdCsPINVOKE.VtVec3fArray_SetValue(swigCPtr, index, GfVec3f.getCPtr(value));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #6
0
ファイル: GfMatrix4f.cs プロジェクト: feniksa/usd-unity-sdk
 public void SetRow3(int i, GfVec3f v)
 {
     UsdCsPINVOKE.GfMatrix4f_SetRow3(swigCPtr, i, GfVec3f.getCPtr(v));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #7
0
 public void push_back(GfVec3f elem)
 {
     UsdCsPINVOKE.VtVec3fArray_push_back(swigCPtr, GfVec3f.getCPtr(elem));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #8
0
 public void assign(uint n, GfVec3f fill)
 {
     UsdCsPINVOKE.VtVec3fArray_assign(swigCPtr, n, GfVec3f.getCPtr(fill));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #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);
        }
コード例 #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);
        }
コード例 #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);
        }
コード例 #12
0
ファイル: GfMatrix4f.cs プロジェクト: feniksa/usd-unity-sdk
 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();
     }
 }
コード例 #13
0
ファイル: GfMatrix4f.cs プロジェクト: feniksa/usd-unity-sdk
        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);
        }
コード例 #14
0
ファイル: GfMatrix4f.cs プロジェクト: feniksa/usd-unity-sdk
        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);
        }
コード例 #15
0
ファイル: GfMatrix4f.cs プロジェクト: feniksa/usd-unity-sdk
        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);
        }
コード例 #16
0
ファイル: GfMatrix4f.cs プロジェクト: feniksa/usd-unity-sdk
        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);
        }
コード例 #17
0
ファイル: GfMatrix4f.cs プロジェクト: feniksa/usd-unity-sdk
        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);
        }
コード例 #18
0
ファイル: GfMatrix4f.cs プロジェクト: feniksa/usd-unity-sdk
        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);
        }
コード例 #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)
 {
 }
コード例 #20
0
 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();
     }
 }
コード例 #21
0
 public void BuildOrthonormalFrame(GfVec3f v1, GfVec3f v2)
 {
     UsdCsPINVOKE.GfVec3f_BuildOrthonormalFrame__SWIG_1(swigCPtr, GfVec3f.getCPtr(v1), GfVec3f.getCPtr(v2));
 }
コード例 #22
0
 public void BuildOrthonormalFrame(GfVec3f v1, GfVec3f v2, float eps)
 {
     UsdCsPINVOKE.GfVec3f_BuildOrthonormalFrame__SWIG_0(swigCPtr, GfVec3f.getCPtr(v1), GfVec3f.getCPtr(v2), eps);
 }
コード例 #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);
        }
コード例 #24
0
ファイル: GfMatrix4f.cs プロジェクト: feniksa/usd-unity-sdk
        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);
        }
コード例 #25
0
ファイル: GfQuatf.cs プロジェクト: mwikenma/usd-unity-sdk
 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();
     }
 }
コード例 #26
0
ファイル: GfRotation.cs プロジェクト: jminor/usd-unity-sdk
        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);
        }
コード例 #27
0
ファイル: GfMatrix3f.cs プロジェクト: jminor/usd-unity-sdk
        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);
        }