Example #1
0
 public void ExtendBy(GfRange1f range)
 {
     UsdCsPINVOKE.GfRange1f_ExtendBy__SWIG_1(swigCPtr, GfRange1f.getCPtr(range));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #2
0
 public void SetClippingRange(GfRange1f val)
 {
     UsdCsPINVOKE.GfCamera_SetClippingRange(swigCPtr, GfRange1f.getCPtr(val));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #3
0
        public static bool Equals(GfRange1f lhs, GfRange1f rhs)
        {
            bool ret = UsdCsPINVOKE.GfRange1f_Equals(GfRange1f.getCPtr(lhs), GfRange1f.getCPtr(rhs));

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

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

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

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #7
0
 public GfCamera(GfMatrix4d transform, GfCamera.Projection projection, float horizontalAperture, float verticalAperture, float horizontalApertureOffset, float verticalApertureOffset, float focalLength, GfRange1f clippingRange, GfVec4fVector clippingPlanes, float fStop) : this(UsdCsPINVOKE.new_GfCamera__SWIG_1(GfMatrix4d.getCPtr(transform), (int)projection, horizontalAperture, verticalAperture, horizontalApertureOffset, verticalApertureOffset, focalLength, GfRange1f.getCPtr(clippingRange), GfVec4fVector.getCPtr(clippingPlanes), fStop), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #8
0
        public GfRange1f IntersectWith(GfRange1f b)
        {
            GfRange1f ret = new GfRange1f(UsdCsPINVOKE.GfRange1f_IntersectWith(swigCPtr, GfRange1f.getCPtr(b)), false);

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