Exemplo n.º 1
0
        public bool Intersect(GfBBox3d box)
        {
            bool ret = UsdCsPINVOKE.GfRay_Intersect__SWIG_13(swigCPtr, GfBBox3d.getCPtr(box));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 2
0
        public static bool IntersectsViewVolume(GfBBox3d bbox, GfMatrix4d vpMat)
        {
            bool ret = UsdCsPINVOKE.GfFrustum_IntersectsViewVolume(GfBBox3d.getCPtr(bbox), GfMatrix4d.getCPtr(vpMat));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 3
0
        public bool Intersect(GfBBox3d box, out double enterDistance)
        {
            bool ret = UsdCsPINVOKE.GfRay_Intersect__SWIG_12(swigCPtr, GfBBox3d.getCPtr(box), out enterDistance);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 4
0
        public bool Intersects(GfBBox3d bbox)
        {
            bool ret = UsdCsPINVOKE.GfFrustum_Intersects__SWIG_0(swigCPtr, GfBBox3d.getCPtr(bbox));

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

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 6
0
        public static GfBBox3d Combine(GfBBox3d b1, GfBBox3d b2)
        {
            GfBBox3d ret = new GfBBox3d(UsdCsPINVOKE.GfBBox3d_Combine(GfBBox3d.getCPtr(b1), GfBBox3d.getCPtr(b2)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 7
0
        public bool ComputePointInstanceUntransformedBounds(UsdGeomPointInstancer instancer, long[] instanceIdBegin, uint numIds, GfBBox3d result)
        {
            bool ret = UsdCsPINVOKE.UsdGeomBBoxCache_ComputePointInstanceUntransformedBounds(swigCPtr, UsdGeomPointInstancer.getCPtr(instancer), instanceIdBegin, numIds, GfBBox3d.getCPtr(result));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 8
0
        public bool ComputePointInstanceRelativeBounds(UsdGeomPointInstancer instancer, long[] instanceIdBegin, uint numIds, UsdPrim relativeToAncestorPrim, GfBBox3d result)
        {
            bool ret = UsdCsPINVOKE.UsdGeomBBoxCache_ComputePointInstanceRelativeBounds(swigCPtr, UsdGeomPointInstancer.getCPtr(instancer), instanceIdBegin, numIds, UsdPrim.getCPtr(relativeToAncestorPrim), GfBBox3d.getCPtr(result));

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