Ejemplo n.º 1
0
 public GfVec3f(GfVec3h other) : this(UsdCsPINVOKE.new_GfVec3f__SWIG_5(GfVec3h.getCPtr(other)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 2
0
 public VtVec3hArray(uint n, GfVec3h value) : this(UsdCsPINVOKE.new_VtVec3hArray__SWIG_4(n, GfVec3h.getCPtr(value)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 3
0
 public VtValue(GfVec3h obj) : this(UsdCsPINVOKE.new_VtValue__SWIG_17(GfVec3h.getCPtr(obj)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 4
0
 public void push_back(GfVec3h elem)
 {
     UsdCsPINVOKE.VtVec3hArray_push_back(swigCPtr, GfVec3h.getCPtr(elem));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 5
0
 protected void SetValue(int index, GfVec3h value)
 {
     UsdCsPINVOKE.VtVec3hArray_SetValue(swigCPtr, index, GfVec3h.getCPtr(value));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 6
0
 public void assign(uint n, GfVec3h fill)
 {
     UsdCsPINVOKE.VtVec3hArray_assign(swigCPtr, n, GfVec3h.getCPtr(fill));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 7
0
 public void BuildOrthonormalFrame(GfVec3h v1, GfVec3h v2, GfHalf eps)
 {
     UsdCsPINVOKE.GfVec3h_BuildOrthonormalFrame__SWIG_0(swigCPtr, GfVec3h.getCPtr(v1), GfVec3h.getCPtr(v2), GfHalf.getCPtr(eps));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 8
0
        public GfVec3h GetNormalized(GfHalf eps)
        {
            GfVec3h ret = new GfVec3h(UsdCsPINVOKE.GfVec3h_GetNormalized__SWIG_0(swigCPtr, GfHalf.getCPtr(eps)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 9
0
        public static bool Equals(GfVec3h lhs, GfVec3h rhs)
        {
            bool ret = UsdCsPINVOKE.GfVec3h_Equals(GfVec3h.getCPtr(lhs), GfVec3h.getCPtr(rhs));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 10
0
        public GfVec3h GetProjection(GfVec3h v)
        {
            GfVec3h ret = new GfVec3h(UsdCsPINVOKE.GfVec3h_GetProjection(swigCPtr, GfVec3h.getCPtr(v)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 11
0
        public GfVec3h GetComplement(GfVec3h b)
        {
            GfVec3h ret = new GfVec3h(UsdCsPINVOKE.GfVec3h_GetComplement(swigCPtr, GfVec3h.getCPtr(b)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 12
0
        public GfVec3h Set(GfHalf s0, GfHalf s1, GfHalf s2)
        {
            GfVec3h ret = new GfVec3h(UsdCsPINVOKE.GfVec3h_Set__SWIG_0(swigCPtr, GfHalf.getCPtr(s0), GfHalf.getCPtr(s1), GfHalf.getCPtr(s2)), false);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 13
0
        public static bool operator==(GfVec3h lhs, GfVec3h 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) || GfVec3h.Equals(lhs, rhs)));
        }
Ejemplo n.º 14
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(GfVec3h obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
Ejemplo n.º 15
0
        protected GfVec3h GetValue(int index)
        {
            GfVec3h ret = new GfVec3h(UsdCsPINVOKE.VtVec3hArray_GetValue(swigCPtr, index), false);

            return(ret);
        }
Ejemplo n.º 16
0
        public GfVec3h GetNormalized()
        {
            GfVec3h ret = new GfVec3h(UsdCsPINVOKE.GfVec3h_GetNormalized__SWIG_1(swigCPtr), true);

            return(ret);
        }
Ejemplo n.º 17
0
        public static GfVec3h XAxis()
        {
            GfVec3h ret = new GfVec3h(UsdCsPINVOKE.GfVec3h_XAxis(), true);

            return(ret);
        }
Ejemplo n.º 18
0
 override public bool Equals(object rhs)
 {
     return(GfVec3h.Equals(this, rhs as GfVec3h));
 }
Ejemplo n.º 19
0
        public static GfVec3h Axis(uint i)
        {
            GfVec3h ret = new GfVec3h(UsdCsPINVOKE.GfVec3h_Axis(i), true);

            return(ret);
        }
Ejemplo n.º 20
0
        public GfVec3h Set(GfHalf a)
        {
            GfVec3h ret = new GfVec3h(UsdCsPINVOKE.GfVec3h_Set__SWIG_1(swigCPtr, GfHalf.getCPtr(a)), false);

            return(ret);
        }
Ejemplo n.º 21
0
        public static bool OrthogonalizeBasis(GfVec3h tx, GfVec3h ty, GfVec3h tz, bool normalize)
        {
            bool ret = UsdCsPINVOKE.GfVec3h_OrthogonalizeBasis__SWIG_1(GfVec3h.getCPtr(tx), GfVec3h.getCPtr(ty), GfVec3h.getCPtr(tz), normalize);

            return(ret);
        }
Ejemplo n.º 22
0
 public void BuildOrthonormalFrame(GfVec3h v1, GfVec3h v2)
 {
     UsdCsPINVOKE.GfVec3h_BuildOrthonormalFrame__SWIG_1(swigCPtr, GfVec3h.getCPtr(v1), GfVec3h.getCPtr(v2));
 }
Ejemplo n.º 23
0
 public VtVec3hArray(Vt_ArrayForeignDataSource foreignSrc, GfVec3h data, uint size) : this(UsdCsPINVOKE.new_VtVec3hArray__SWIG_2(Vt_ArrayForeignDataSource.getCPtr(foreignSrc), GfVec3h.getCPtr(data), size), true)
 {
 }