Exemplo n.º 1
0
 public VtValue(GfVec2d obj) : this(UsdCsPINVOKE.new_VtValue__SWIG_11(GfVec2d.getCPtr(obj)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 2
0
 public GfMatrix2d(GfVec2d v) : this(UsdCsPINVOKE.new_GfMatrix2d__SWIG_4(GfVec2d.getCPtr(v)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 3
0
 public GfVec2d(GfVec2d other) : this(UsdCsPINVOKE.new_GfVec2d__SWIG_1(GfVec2d.getCPtr(other)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 4
0
 protected void SetValue(int index, GfVec2d value)
 {
     UsdCsPINVOKE.VtVec2dArray_SetValue(swigCPtr, index, GfVec2d.getCPtr(value));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 5
0
 public void ExtendBy(GfVec2d point)
 {
     UsdCsPINVOKE.GfRange2d_ExtendBy__SWIG_0(swigCPtr, GfVec2d.getCPtr(point));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 6
0
 public void push_back(GfVec2d elem)
 {
     UsdCsPINVOKE.VtVec2dArray_push_back(swigCPtr, GfVec2d.getCPtr(elem));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 7
0
 public void SetRow(int i, GfVec2d v)
 {
     UsdCsPINVOKE.GfMatrix2d_SetRow(swigCPtr, i, GfVec2d.getCPtr(v));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 8
0
 public void SetMin(GfVec2d min)
 {
     UsdCsPINVOKE.GfRange2d_SetMin(swigCPtr, GfVec2d.getCPtr(min));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 9
0
 public void assign(uint n, GfVec2d fill)
 {
     UsdCsPINVOKE.VtVec2dArray_assign(swigCPtr, n, GfVec2d.getCPtr(fill));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 10
0
        public double GetDistanceSquared(GfVec2d p)
        {
            double ret = UsdCsPINVOKE.GfRange2d_GetDistanceSquared(swigCPtr, GfVec2d.getCPtr(p));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 11
0
        public static bool Equals(GfVec2d lhs, GfVec2d rhs)
        {
            bool ret = UsdCsPINVOKE.GfVec2d_Equals(GfVec2d.getCPtr(lhs), GfVec2d.getCPtr(rhs));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 12
0
        public GfVec2d GetComplement(GfVec2d b)
        {
            GfVec2d ret = new GfVec2d(UsdCsPINVOKE.GfVec2d_GetComplement(swigCPtr, GfVec2d.getCPtr(b)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 13
0
        public GfVec2d GetProjection(GfVec2d v)
        {
            GfVec2d ret = new GfVec2d(UsdCsPINVOKE.GfVec2d_GetProjection(swigCPtr, GfVec2d.getCPtr(v)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 14
0
        public bool IsInside(GfVec2d point)
        {
            bool ret = UsdCsPINVOKE.GfRange2d_IsInside__SWIG_0(swigCPtr, GfVec2d.getCPtr(point));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 15
0
        public GfFrustum ComputeNarrowedFrustum(GfVec3d worldPoint, GfVec2d halfSize)
        {
            GfFrustum ret = new GfFrustum(UsdCsPINVOKE.GfFrustum_ComputeNarrowedFrustum__SWIG_1(swigCPtr, GfVec3d.getCPtr(worldPoint), GfVec2d.getCPtr(halfSize)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 16
0
        public GfRay ComputePickRay(GfVec2d windowPos)
        {
            GfRay ret = new GfRay(UsdCsPINVOKE.GfFrustum_ComputePickRay__SWIG_0(swigCPtr, GfVec2d.getCPtr(windowPos)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 17
0
 public VtVec2dArray(Vt_ArrayForeignDataSource foreignSrc, GfVec2d data, uint size) : this(UsdCsPINVOKE.new_VtVec2dArray__SWIG_2(Vt_ArrayForeignDataSource.getCPtr(foreignSrc), GfVec2d.getCPtr(data), size), true)
 {
 }
Exemplo n.º 18
0
 public VtVec2dArray(uint n, GfVec2d value) : this(UsdCsPINVOKE.new_VtVec2dArray__SWIG_5(n, GfVec2d.getCPtr(value)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 19
0
        public GfMatrix2d SetDiagonal(GfVec2d arg0)
        {
            GfMatrix2d ret = new GfMatrix2d(UsdCsPINVOKE.GfMatrix2d_SetDiagonal__SWIG_1(swigCPtr, GfVec2d.getCPtr(arg0)), false);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 20
0
        public GfRange2d Union(GfVec2d b)
        {
            GfRange2d ret = new GfRange2d(UsdCsPINVOKE.GfRange2d_Union__SWIG_2(swigCPtr, GfVec2d.getCPtr(b)), false);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 21
0
 public GfRange2d(GfVec2d min, GfVec2d max) : this(UsdCsPINVOKE.new_GfRange2d__SWIG_1(GfVec2d.getCPtr(min), GfVec2d.getCPtr(max)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }