Esempio n. 1
0
 public VtValue(GfVec2h obj) : this(UsdCsPINVOKE.new_VtValue__SWIG_13(GfVec2h.getCPtr(obj)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 2
0
 public GfVec2d(GfVec2h other) : this(UsdCsPINVOKE.new_GfVec2d__SWIG_6(GfVec2h.getCPtr(other)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 3
0
 public void push_back(GfVec2h elem)
 {
     UsdCsPINVOKE.VtVec2hArray_push_back(swigCPtr, GfVec2h.getCPtr(elem));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 4
0
 protected void SetValue(int index, GfVec2h value)
 {
     UsdCsPINVOKE.VtVec2hArray_SetValue(swigCPtr, index, GfVec2h.getCPtr(value));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 5
0
 public void assign(uint n, GfVec2h fill)
 {
     UsdCsPINVOKE.VtVec2hArray_assign(swigCPtr, n, GfVec2h.getCPtr(fill));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 6
0
        public static bool Equals(GfVec2h lhs, GfVec2h rhs)
        {
            bool ret = UsdCsPINVOKE.GfVec2h_Equals(GfVec2h.getCPtr(lhs), GfVec2h.getCPtr(rhs));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 7
0
        public GfVec2h GetComplement(GfVec2h b)
        {
            GfVec2h ret = new GfVec2h(UsdCsPINVOKE.GfVec2h_GetComplement(swigCPtr, GfVec2h.getCPtr(b)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 8
0
        public GfVec2h GetProjection(GfVec2h v)
        {
            GfVec2h ret = new GfVec2h(UsdCsPINVOKE.GfVec2h_GetProjection(swigCPtr, GfVec2h.getCPtr(v)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 9
0
 public VtVec2hArray(uint n, GfVec2h value) : this(UsdCsPINVOKE.new_VtVec2hArray__SWIG_4(n, GfVec2h.getCPtr(value)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 10
0
 public VtVec2hArray(Vt_ArrayForeignDataSource foreignSrc, GfVec2h data, uint size) : this(UsdCsPINVOKE.new_VtVec2hArray__SWIG_2(Vt_ArrayForeignDataSource.getCPtr(foreignSrc), GfVec2h.getCPtr(data), size), true)
 {
 }