Ejemplo n.º 1
0
 public virtual void sweep(PxBounds3 aabb, PxVec3 unitDir, float maxDist, PxSpatialLocationCallback callback)
 {
     physxPINVOKE.PxSpatialIndex_sweep(swigCPtr, PxBounds3.getCPtr(aabb), PxVec3.getCPtr(unitDir), maxDist, PxSpatialLocationCallback.getCPtr(callback));
     if (physxPINVOKE.SWIGPendingException.Pending)
     {
         throw physxPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 2
0
 public virtual void update(SWIGTYPE_p_uint32_t id, PxBounds3 bounds)
 {
     physxPINVOKE.PxSpatialIndex_update(swigCPtr, SWIGTYPE_p_uint32_t.getCPtr(id), PxBounds3.getCPtr(bounds));
     if (physxPINVOKE.SWIGPendingException.Pending)
     {
         throw physxPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 3
0
 public virtual void overlap(PxBounds3 aabb, PxSpatialOverlapCallback callback)
 {
     physxPINVOKE.PxSpatialIndex_overlap(swigCPtr, PxBounds3.getCPtr(aabb), PxSpatialOverlapCallback.getCPtr(callback));
     if (physxPINVOKE.SWIGPendingException.Pending)
     {
         throw physxPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 4
0
 public void include(PxBounds3 b)
 {
     physxPINVOKE.PxBounds3_include__SWIG_1(swigCPtr, PxBounds3.getCPtr(b));
     if (physxPINVOKE.SWIGPendingException.Pending)
     {
         throw physxPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 5
0
        public static PxBounds3 poseExtent(PxTransform pose, PxVec3 extent)
        {
            PxBounds3 ret = new PxBounds3(physxPINVOKE.PxBounds3_poseExtent(PxTransform.getCPtr(pose), PxVec3.getCPtr(extent)), true);

            if (physxPINVOKE.SWIGPendingException.Pending)
            {
                throw physxPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 6
0
        public virtual SWIGTYPE_p_uint32_t insert(PxSpatialIndexItem item, PxBounds3 bounds)
        {
            SWIGTYPE_p_uint32_t ret = new SWIGTYPE_p_uint32_t(physxPINVOKE.PxSpatialIndex_insert(swigCPtr, PxSpatialIndexItem.getCPtr(item), PxBounds3.getCPtr(bounds)), true);

            if (physxPINVOKE.SWIGPendingException.Pending)
            {
                throw physxPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 7
0
        public static PxBounds3 boundsOfPoints(PxVec3 v0, PxVec3 v1)
        {
            PxBounds3 ret = new PxBounds3(physxPINVOKE.PxBounds3_boundsOfPoints(PxVec3.getCPtr(v0), PxVec3.getCPtr(v1)), true);

            if (physxPINVOKE.SWIGPendingException.Pending)
            {
                throw physxPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 8
0
        public static PxBounds3 basisExtent(PxVec3 center, PxMat33 basis, PxVec3 extent)
        {
            PxBounds3 ret = new PxBounds3(physxPINVOKE.PxBounds3_basisExtent(PxVec3.getCPtr(center), PxMat33.getCPtr(basis), PxVec3.getCPtr(extent)), true);

            if (physxPINVOKE.SWIGPendingException.Pending)
            {
                throw physxPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 9
0
        public bool isInside(PxBounds3 box)
        {
            bool ret = physxPINVOKE.PxBounds3_isInside(swigCPtr, PxBounds3.getCPtr(box));

            if (physxPINVOKE.SWIGPendingException.Pending)
            {
                throw physxPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 10
0
        public bool intersects1D(PxBounds3 a, SWIGTYPE_p_uint32_t axis)
        {
            bool ret = physxPINVOKE.PxBounds3_intersects1D(swigCPtr, PxBounds3.getCPtr(a), SWIGTYPE_p_uint32_t.getCPtr(axis));

            if (physxPINVOKE.SWIGPendingException.Pending)
            {
                throw physxPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 11
0
        public bool intersects(PxBounds3 b)
        {
            bool ret = physxPINVOKE.PxBounds3_intersects(swigCPtr, PxBounds3.getCPtr(b));

            if (physxPINVOKE.SWIGPendingException.Pending)
            {
                throw physxPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 12
0
        public static PxBounds3 transformFast(PxTransform transform, PxBounds3 bounds)
        {
            PxBounds3 ret = new PxBounds3(physxPINVOKE.PxBounds3_transformFast__SWIG_1(PxTransform.getCPtr(transform), PxBounds3.getCPtr(bounds)), true);

            if (physxPINVOKE.SWIGPendingException.Pending)
            {
                throw physxPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 13
0
        public static PxBounds3 transformSafe(PxMat33 matrix, PxBounds3 bounds)
        {
            PxBounds3 ret = new PxBounds3(physxPINVOKE.PxBounds3_transformSafe__SWIG_0(PxMat33.getCPtr(matrix), PxBounds3.getCPtr(bounds)), true);

            if (physxPINVOKE.SWIGPendingException.Pending)
            {
                throw physxPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 14
0
        public static PxBounds3 empty()
        {
            PxBounds3 ret = new PxBounds3(physxPINVOKE.PxBounds3_empty(), true);

            return(ret);
        }
Ejemplo n.º 15
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PxBounds3 obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
Ejemplo n.º 16
0
        public virtual PxBounds3 getWorldBounds(float inflation)
        {
            PxBounds3 ret = new PxBounds3(physxPINVOKE.PxActor_getWorldBounds__SWIG_0(swigCPtr, inflation), true);

            return(ret);
        }
Ejemplo n.º 17
0
        public virtual PxBounds3 getWorldBounds()
        {
            PxBounds3 ret = new PxBounds3(physxPINVOKE.PxActor_getWorldBounds__SWIG_1(swigCPtr), true);

            return(ret);
        }