예제 #1
0
 public VtValue(GfVec4d obj) : this(UsdCsPINVOKE.new_VtValue__SWIG_19(GfVec4d.getCPtr(obj)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #2
0
 public VtVec4dArray(uint n, GfVec4d value) : this(UsdCsPINVOKE.new_VtVec4dArray__SWIG_4(n, GfVec4d.getCPtr(value)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #3
0
 public GfPlane(GfVec4d eqn) : this(UsdCsPINVOKE.new_GfPlane__SWIG_4(GfVec4d.getCPtr(eqn)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #4
0
 public GfMatrix4d(GfVec4d v) : this(UsdCsPINVOKE.new_GfMatrix4d__SWIG_3(GfVec4d.getCPtr(v)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #5
0
 public GfVec4d(GfVec4d other) : this(UsdCsPINVOKE.new_GfVec4d__SWIG_1(GfVec4d.getCPtr(other)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #6
0
 public void assign(uint n, GfVec4d fill)
 {
     UsdCsPINVOKE.VtVec4dArray_assign(swigCPtr, n, GfVec4d.getCPtr(fill));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #7
0
 public void Set(GfVec4d eqn)
 {
     UsdCsPINVOKE.GfPlane_Set__SWIG_3(swigCPtr, GfVec4d.getCPtr(eqn));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #8
0
 public void push_back(GfVec4d elem)
 {
     UsdCsPINVOKE.VtVec4dArray_push_back(swigCPtr, GfVec4d.getCPtr(elem));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #9
0
 protected void SetValue(int index, GfVec4d value)
 {
     UsdCsPINVOKE.VtVec4dArray_SetValue(swigCPtr, index, GfVec4d.getCPtr(value));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #10
0
 public void SetColumn(int i, GfVec4d v)
 {
     UsdCsPINVOKE.GfMatrix4d_SetColumn(swigCPtr, i, GfVec4d.getCPtr(v));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #11
0
        public static bool Equals(GfVec4d lhs, GfVec4d rhs)
        {
            bool ret = UsdCsPINVOKE.GfVec4d_Equals(GfVec4d.getCPtr(lhs), GfVec4d.getCPtr(rhs));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #12
0
        public GfVec4d GetComplement(GfVec4d b)
        {
            GfVec4d ret = new GfVec4d(UsdCsPINVOKE.GfVec4d_GetComplement(swigCPtr, GfVec4d.getCPtr(b)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #13
0
        public GfMatrix4d SetDiagonal(GfVec4d arg0)
        {
            GfMatrix4d ret = new GfMatrix4d(UsdCsPINVOKE.GfMatrix4d_SetDiagonal__SWIG_1(swigCPtr, GfVec4d.getCPtr(arg0)), false);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #14
0
        public GfVec4d GetProjection(GfVec4d v)
        {
            GfVec4d ret = new GfVec4d(UsdCsPINVOKE.GfVec4d_GetProjection(swigCPtr, GfVec4d.getCPtr(v)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #15
0
        public static bool operator==(GfVec4d lhs, GfVec4d 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) || GfVec4d.Equals(lhs, rhs)));
        }
예제 #16
0
        public GfVec4d GetNormalized()
        {
            GfVec4d ret = new GfVec4d(UsdCsPINVOKE.GfVec4d_GetNormalized__SWIG_1(swigCPtr), true);

            return(ret);
        }
예제 #17
0
        public GfVec4d GetNormalized(double eps)
        {
            GfVec4d ret = new GfVec4d(UsdCsPINVOKE.GfVec4d_GetNormalized__SWIG_0(swigCPtr, eps), true);

            return(ret);
        }
예제 #18
0
        public GfVec4d Set(double s0, double s1, double s2, double s3)
        {
            GfVec4d ret = new GfVec4d(UsdCsPINVOKE.GfVec4d_Set(swigCPtr, s0, s1, s2, s3), false);

            return(ret);
        }
예제 #19
0
        public static GfVec4d Axis(uint i)
        {
            GfVec4d ret = new GfVec4d(UsdCsPINVOKE.GfVec4d_Axis(i), true);

            return(ret);
        }
예제 #20
0
        protected GfVec4d GetValue(int index)
        {
            GfVec4d ret = new GfVec4d(UsdCsPINVOKE.VtVec4dArray_GetValue(swigCPtr, index), false);

            return(ret);
        }
예제 #21
0
        public GfVec4d GetEquation()
        {
            GfVec4d ret = new GfVec4d(UsdCsPINVOKE.GfPlane_GetEquation(swigCPtr), true);

            return(ret);
        }
예제 #22
0
 override public bool Equals(object rhs)
 {
     return(GfVec4d.Equals(this, rhs as GfVec4d));
 }
예제 #23
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(GfVec4d obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
예제 #24
0
        public GfVec4d GetColumn(int i)
        {
            GfVec4d ret = new GfVec4d(UsdCsPINVOKE.GfMatrix4d_GetColumn(swigCPtr, i), true);

            return(ret);
        }
예제 #25
0
        public static GfVec4d ZAxis()
        {
            GfVec4d ret = new GfVec4d(UsdCsPINVOKE.GfVec4d_ZAxis(), true);

            return(ret);
        }
예제 #26
0
 public VtVec4dArray(Vt_ArrayForeignDataSource foreignSrc, GfVec4d data, uint size) : this(UsdCsPINVOKE.new_VtVec4dArray__SWIG_2(Vt_ArrayForeignDataSource.getCPtr(foreignSrc), GfVec4d.getCPtr(data), size), true)
 {
 }