Exemplo n.º 1
0
 public void ExtendBy(GfRange2d range)
 {
     UsdCsPINVOKE.GfRange2d_ExtendBy__SWIG_1(swigCPtr, GfRange2d.getCPtr(range));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 2
0
 public void SetWindow(GfRange2d window)
 {
     UsdCsPINVOKE.GfFrustum_SetWindow(swigCPtr, GfRange2d.getCPtr(window));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 3
0
        public static bool Equals(GfRange2d lhs, GfRange2d rhs)
        {
            bool ret = UsdCsPINVOKE.GfRange2d_Equals(GfRange2d.getCPtr(lhs), GfRange2d.getCPtr(rhs));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 4
0
        public static GfRange2d GetIntersection(GfRange2d a, GfRange2d b)
        {
            GfRange2d ret = new GfRange2d(UsdCsPINVOKE.GfRange2d_GetIntersection(GfRange2d.getCPtr(a), GfRange2d.getCPtr(b)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 5
0
        public bool IsOutside(GfRange2d range)
        {
            bool ret = UsdCsPINVOKE.GfRange2d_IsOutside(swigCPtr, GfRange2d.getCPtr(range));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 6
0
        public bool Contains(GfRange2d range)
        {
            bool ret = UsdCsPINVOKE.GfRange2d_Contains__SWIG_1(swigCPtr, GfRange2d.getCPtr(range));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 7
0
 public GfFrustum(GfMatrix4d camToWorldXf, GfRange2d window, GfRange1d nearFar, GfFrustum.ProjectionType projectionType) : this(UsdCsPINVOKE.new_GfFrustum__SWIG_4(GfMatrix4d.getCPtr(camToWorldXf), GfRange2d.getCPtr(window), GfRange1d.getCPtr(nearFar), (int)projectionType), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 8
0
 public GfFrustum(GfVec3d position, GfRotation rotation, GfRange2d window, GfRange1d nearFar, GfFrustum.ProjectionType projectionType) : this(UsdCsPINVOKE.new_GfFrustum__SWIG_2(GfVec3d.getCPtr(position), GfRotation.getCPtr(rotation), GfRange2d.getCPtr(window), GfRange1d.getCPtr(nearFar), (int)projectionType), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 9
0
        public GfRange2d IntersectWith(GfRange2d b)
        {
            GfRange2d ret = new GfRange2d(UsdCsPINVOKE.GfRange2d_IntersectWith(swigCPtr, GfRange2d.getCPtr(b)), false);

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