getCPtr() static private method

static private getCPtr ( SWIGTYPE_p_btAlignedObjectArrayT_btVector3_t obj ) : HandleRef
obj SWIGTYPE_p_btAlignedObjectArrayT_btVector3_t
return System.Runtime.InteropServices.HandleRef
Example #1
0
 public static void getVerticesFromPlaneEquations(SWIGTYPE_p_btAlignedObjectArrayT_btVector3_t planeEquations, SWIGTYPE_p_btAlignedObjectArrayT_btVector3_t verticesOut)
 {
     LinearMathPINVOKE.btGeometryUtil_getVerticesFromPlaneEquations(SWIGTYPE_p_btAlignedObjectArrayT_btVector3_t.getCPtr(planeEquations), SWIGTYPE_p_btAlignedObjectArrayT_btVector3_t.getCPtr(verticesOut));
     if (LinearMathPINVOKE.SWIGPendingException.Pending)
     {
         throw LinearMathPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #2
0
        public static bool isPointInsidePlanes(SWIGTYPE_p_btAlignedObjectArrayT_btVector3_t planeEquations, btVector3 point, float margin)
        {
            bool ret = LinearMathPINVOKE.btGeometryUtil_isPointInsidePlanes(SWIGTYPE_p_btAlignedObjectArrayT_btVector3_t.getCPtr(planeEquations), btVector3.getCPtr(point), margin);

            if (LinearMathPINVOKE.SWIGPendingException.Pending)
            {
                throw LinearMathPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #3
0
        public static bool isInside(SWIGTYPE_p_btAlignedObjectArrayT_btVector3_t vertices, btVector3 planeNormal, float margin)
        {
            bool ret = LinearMathPINVOKE.btGeometryUtil_isInside(SWIGTYPE_p_btAlignedObjectArrayT_btVector3_t.getCPtr(vertices), btVector3.getCPtr(planeNormal), margin);

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