Example #1
0
 public VtValue(GfVec2i obj) : this(UsdCsPINVOKE.new_VtValue__SWIG_14(GfVec2i.getCPtr(obj)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #2
0
 public GfVec2d(GfVec2i other) : this(UsdCsPINVOKE.new_GfVec2d__SWIG_7(GfVec2i.getCPtr(other)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #3
0
 public void push_back(GfVec2i elem)
 {
     UsdCsPINVOKE.VtVec2iArray_push_back(swigCPtr, GfVec2i.getCPtr(elem));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #4
0
 protected void SetValue(int index, GfVec2i value)
 {
     UsdCsPINVOKE.VtVec2iArray_SetValue(swigCPtr, index, GfVec2i.getCPtr(value));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #5
0
 public void assign(uint n, GfVec2i fill)
 {
     UsdCsPINVOKE.VtVec2iArray_assign(swigCPtr, n, GfVec2i.getCPtr(fill));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #6
0
        public GfVec2i GetComplement(GfVec2i b)
        {
            GfVec2i ret = new GfVec2i(UsdCsPINVOKE.GfVec2i_GetComplement(swigCPtr, GfVec2i.getCPtr(b)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #7
0
        public GfVec2i GetProjection(GfVec2i v)
        {
            GfVec2i ret = new GfVec2i(UsdCsPINVOKE.GfVec2i_GetProjection(swigCPtr, GfVec2i.getCPtr(v)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #8
0
        public static bool Equals(GfVec2i lhs, GfVec2i rhs)
        {
            bool ret = UsdCsPINVOKE.GfVec2i_Equals(GfVec2i.getCPtr(lhs), GfVec2i.getCPtr(rhs));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #9
0
 public VtVec2iArray(uint n, GfVec2i value) : this(UsdCsPINVOKE.new_VtVec2iArray__SWIG_4(n, GfVec2i.getCPtr(value)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #10
0
 public VtVec2iArray(Vt_ArrayForeignDataSource foreignSrc, GfVec2i data, uint size) : this(UsdCsPINVOKE.new_VtVec2iArray__SWIG_2(Vt_ArrayForeignDataSource.getCPtr(foreignSrc), GfVec2i.getCPtr(data), size), true)
 {
 }