Exemple #1
0
 public GfVec3f(GfVec3d other) : this(UsdCsPINVOKE.new_GfVec3f__SWIG_4(GfVec3d.getCPtr(other)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #2
0
 public GfMatrix3d(GfVec3d v) : this(UsdCsPINVOKE.new_GfMatrix3d__SWIG_4(GfVec3d.getCPtr(v)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #3
0
 public VtValue(GfVec3d obj) : this(UsdCsPINVOKE.new_VtValue__SWIG_15(GfVec3d.getCPtr(obj)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #4
0
 public void SetMin(GfVec3d min)
 {
     UsdCsPINVOKE.GfRange3d_SetMin(swigCPtr, GfVec3d.getCPtr(min));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #5
0
 public void ExtendBy(GfVec3d point)
 {
     UsdCsPINVOKE.GfRange3d_ExtendBy__SWIG_0(swigCPtr, GfVec3d.getCPtr(point));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #6
0
 public void Set(GfVec3d normal, GfVec3d point)
 {
     UsdCsPINVOKE.GfPlane_Set__SWIG_1(swigCPtr, GfVec3d.getCPtr(normal), GfVec3d.getCPtr(point));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #7
0
 public void Set(GfVec3d normal, double distanceToOrigin)
 {
     UsdCsPINVOKE.GfPlane_Set__SWIG_0(swigCPtr, GfVec3d.getCPtr(normal), distanceToOrigin);
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #8
0
 public void Reorient(GfVec3d p)
 {
     UsdCsPINVOKE.GfPlane_Reorient(swigCPtr, GfVec3d.getCPtr(p));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #9
0
 protected void SetValue(int index, GfVec3d value)
 {
     UsdCsPINVOKE.VtVec3dArray_SetValue(swigCPtr, index, GfVec3d.getCPtr(value));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #10
0
 public void SetEnds(GfVec3d startPoint, GfVec3d endPoint)
 {
     UsdCsPINVOKE.GfRay_SetEnds(swigCPtr, GfVec3d.getCPtr(startPoint), GfVec3d.getCPtr(endPoint));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #11
0
 public void FitToSphere(GfVec3d center, double radius)
 {
     UsdCsPINVOKE.GfFrustum_FitToSphere__SWIG_1(swigCPtr, GfVec3d.getCPtr(center), radius);
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #12
0
 public void SetImaginary(GfVec3d imaginary)
 {
     UsdCsPINVOKE.GfQuatd_SetImaginary__SWIG_0(swigCPtr, GfVec3d.getCPtr(imaginary));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #13
0
 public void SetRow3(int i, GfVec3d v)
 {
     UsdCsPINVOKE.GfMatrix4d_SetRow3(swigCPtr, i, GfVec3d.getCPtr(v));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #14
0
 public void SetPosition(GfVec3d position)
 {
     UsdCsPINVOKE.GfFrustum_SetPosition(swigCPtr, GfVec3d.getCPtr(position));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #15
0
 public void push_back(GfVec3d elem)
 {
     UsdCsPINVOKE.VtVec3dArray_push_back(swigCPtr, GfVec3d.getCPtr(elem));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #16
0
 public void Set(GfVec3d p0, GfVec3d p1, GfVec3d p2)
 {
     UsdCsPINVOKE.GfPlane_Set__SWIG_2(swigCPtr, GfVec3d.getCPtr(p0), GfVec3d.getCPtr(p1), GfVec3d.getCPtr(p2));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #17
0
 public void assign(uint n, GfVec3d fill)
 {
     UsdCsPINVOKE.VtVec3dArray_assign(swigCPtr, n, GfVec3d.getCPtr(fill));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #18
0
 public void SetPointAndDirection(GfVec3d startPoint, GfVec3d direction)
 {
     UsdCsPINVOKE.GfRay_SetPointAndDirection(swigCPtr, GfVec3d.getCPtr(startPoint), GfVec3d.getCPtr(direction));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #19
0
        public bool Intersect(GfVec3d origin, GfVec3d axis, double radius, double height)
        {
            bool ret = UsdCsPINVOKE.GfRay_Intersect__SWIG_22(swigCPtr, GfVec3d.getCPtr(origin), GfVec3d.getCPtr(axis), radius, height);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #20
0
        public bool Intersect(GfVec3d origin, GfVec3d axis, double radius, out double enterDistance, out double exitDistance)
        {
            bool ret = UsdCsPINVOKE.GfRay_Intersect__SWIG_17(swigCPtr, GfVec3d.getCPtr(origin), GfVec3d.getCPtr(axis), radius, out enterDistance, out exitDistance);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #21
0
        public bool Intersect(GfVec3d center, double radius)
        {
            bool ret = UsdCsPINVOKE.GfRay_Intersect__SWIG_16(swigCPtr, GfVec3d.getCPtr(center), radius);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #22
0
        public bool Intersect(GfVec3d p0, GfVec3d p1, GfVec3d p2)
        {
            bool ret = UsdCsPINVOKE.GfRay_Intersect__SWIG_4(swigCPtr, GfVec3d.getCPtr(p0), GfVec3d.getCPtr(p1), GfVec3d.getCPtr(p2));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #23
0
        public bool Intersect(GfVec3d p0, GfVec3d p1, GfVec3d p2, out double distance, GfVec3d barycentricCoords)
        {
            bool ret = UsdCsPINVOKE.GfRay_Intersect__SWIG_2(swigCPtr, GfVec3d.getCPtr(p0), GfVec3d.getCPtr(p1), GfVec3d.getCPtr(p2), out distance, GfVec3d.getCPtr(barycentricCoords));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #24
0
        public double GetDistanceSquared(GfVec3d p)
        {
            double ret = UsdCsPINVOKE.GfRange3d_GetDistanceSquared(swigCPtr, GfVec3d.getCPtr(p));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #25
0
        public GfVec3d GetComplement(GfVec3d b)
        {
            GfVec3d ret = new GfVec3d(UsdCsPINVOKE.GfVec3d_GetComplement(swigCPtr, GfVec3d.getCPtr(b)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #26
0
        public GfVec3d Decompose(GfVec3d axis0, GfVec3d axis1, GfVec3d axis2)
        {
            GfVec3d ret = new GfVec3d(UsdCsPINVOKE.GfRotation_Decompose(swigCPtr, GfVec3d.getCPtr(axis0), GfVec3d.getCPtr(axis1), GfVec3d.getCPtr(axis2)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #27
0
        public bool IsInside(GfVec3d point)
        {
            bool ret = UsdCsPINVOKE.GfRange3d_IsInside__SWIG_0(swigCPtr, GfVec3d.getCPtr(point));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #28
0
        public bool Intersects(GfVec3d p0, GfVec3d p1)
        {
            bool ret = UsdCsPINVOKE.GfFrustum_Intersects__SWIG_2(swigCPtr, GfVec3d.getCPtr(p0), GfVec3d.getCPtr(p1));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #29
0
        public GfVec3d GetProjection(GfVec3d v)
        {
            GfVec3d ret = new GfVec3d(UsdCsPINVOKE.GfVec3d_GetProjection(swigCPtr, GfVec3d.getCPtr(v)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #30
0
        public static bool Equals(GfVec3d lhs, GfVec3d rhs)
        {
            bool ret = UsdCsPINVOKE.GfVec3d_Equals(GfVec3d.getCPtr(lhs), GfVec3d.getCPtr(rhs));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }