Example #1
0
 public GfBBox3d(GfRange3d box) : this(UsdCsPINVOKE.new_GfBBox3d__SWIG_2(GfRange3d.getCPtr(box)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #2
0
 public void ExtendBy(GfRange3d range)
 {
     UsdCsPINVOKE.GfRange3d_ExtendBy__SWIG_1(swigCPtr, GfRange3d.getCPtr(range));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #3
0
 public void SetRange(GfRange3d box)
 {
     UsdCsPINVOKE.GfBBox3d_SetRange(swigCPtr, GfRange3d.getCPtr(box));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #4
0
        public bool Intersect(GfRange3d box)
        {
            bool ret = UsdCsPINVOKE.GfRay_Intersect__SWIG_10(swigCPtr, GfRange3d.getCPtr(box));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #5
0
        public bool Intersect(GfRange3d box, out double enterDistance)
        {
            bool ret = UsdCsPINVOKE.GfRay_Intersect__SWIG_9(swigCPtr, GfRange3d.getCPtr(box), out enterDistance);

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

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #7
0
        public static GfRange3d GetIntersection(GfRange3d a, GfRange3d b)
        {
            GfRange3d ret = new GfRange3d(UsdCsPINVOKE.GfRange3d_GetIntersection(GfRange3d.getCPtr(a), GfRange3d.getCPtr(b)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #8
0
        public bool IsOutside(GfRange3d range)
        {
            bool ret = UsdCsPINVOKE.GfRange3d_IsOutside(swigCPtr, GfRange3d.getCPtr(range));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #9
0
        public bool Contains(GfRange3d range)
        {
            bool ret = UsdCsPINVOKE.GfRange3d_Contains__SWIG_1(swigCPtr, GfRange3d.getCPtr(range));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #10
0
        public GfRange3d IntersectWith(GfRange3d b)
        {
            GfRange3d ret = new GfRange3d(UsdCsPINVOKE.GfRange3d_IntersectWith(swigCPtr, GfRange3d.getCPtr(b)), false);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #11
0
        public bool IntersectsPositiveHalfSpace(GfRange3d box)
        {
            bool ret = UsdCsPINVOKE.GfPlane_IntersectsPositiveHalfSpace__SWIG_0(swigCPtr, GfRange3d.getCPtr(box));

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