public void QueryAABB(b2QueryCallback callback, b2AABB aabb) { Box2DPINVOKE.b2World_QueryAABB(swigCPtr, b2QueryCallback.getCPtr(callback), b2AABB.getCPtr(aabb)); if (Box2DPINVOKE.SWIGPendingException.Pending) throw Box2DPINVOKE.SWIGPendingException.Retrieve(); }
public override void ComputeAABB(b2AABB aabb, b2Transform transform, int childIndex) { Box2DPINVOKE.b2CircleShape_ComputeAABB(swigCPtr, b2AABB.getCPtr(aabb), b2Transform.getCPtr(transform), childIndex); if (Box2DPINVOKE.SWIGPendingException.Pending) throw Box2DPINVOKE.SWIGPendingException.Retrieve(); }
public b2AABB GetAABB(int childIndex) { b2AABB ret = new b2AABB(Box2DPINVOKE.b2Fixture_GetAABB(swigCPtr, childIndex), false); return ret; }
public virtual void ComputeAABB(b2AABB aabb, b2Transform xf, int childIndex) { Box2DPINVOKE.b2Shape_ComputeAABB(swigCPtr, b2AABB.getCPtr(aabb), b2Transform.getCPtr(xf), childIndex); if (Box2DPINVOKE.SWIGPendingException.Pending) throw Box2DPINVOKE.SWIGPendingException.Retrieve(); }
public void Combine(b2AABB aabb1, b2AABB aabb2) { Box2DPINVOKE.b2AABB_Combine__SWIG_1(swigCPtr, b2AABB.getCPtr(aabb1), b2AABB.getCPtr(aabb2)); if (Box2DPINVOKE.SWIGPendingException.Pending) throw Box2DPINVOKE.SWIGPendingException.Retrieve(); }
public bool Contains(b2AABB aabb) { bool ret = Box2DPINVOKE.b2AABB_Contains(swigCPtr, b2AABB.getCPtr(aabb)); if (Box2DPINVOKE.SWIGPendingException.Pending) throw Box2DPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public b2AABB GetFatAABB(int proxyId) { b2AABB ret = new b2AABB(Box2DPINVOKE.b2DynamicTree_GetFatAABB(swigCPtr, proxyId), false); return ret; }
internal static HandleRef getCPtr(b2AABB obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }
public int CreateProxy(b2AABB aabb, SWIGTYPE_p_void userData) { int ret = Box2DPINVOKE.b2DynamicTree_CreateProxy(swigCPtr, b2AABB.getCPtr(aabb), SWIGTYPE_p_void.getCPtr(userData)); if (Box2DPINVOKE.SWIGPendingException.Pending) throw Box2DPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public bool MoveProxy(int proxyId, b2AABB aabb1, b2Vec2 displacement) { bool ret = Box2DPINVOKE.b2DynamicTree_MoveProxy(swigCPtr, proxyId, b2AABB.getCPtr(aabb1), b2Vec2.getCPtr(displacement)); if (Box2DPINVOKE.SWIGPendingException.Pending) throw Box2DPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public static bool b2TestOverlap(b2AABB a, b2AABB b) { bool ret = Box2DPINVOKE.b2TestOverlap__SWIG_1(b2AABB.getCPtr(a), b2AABB.getCPtr(b)); if (Box2DPINVOKE.SWIGPendingException.Pending) throw Box2DPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public b2AABB GetFatAABB(int proxyId) { b2AABB ret = new b2AABB(Box2DPINVOKE.b2BroadPhase_GetFatAABB(swigCPtr, proxyId), false); return ret; }
public void MoveProxy(int proxyId, b2AABB aabb, b2Vec2 displacement) { Box2DPINVOKE.b2BroadPhase_MoveProxy(swigCPtr, proxyId, b2AABB.getCPtr(aabb), b2Vec2.getCPtr(displacement)); if (Box2DPINVOKE.SWIGPendingException.Pending) throw Box2DPINVOKE.SWIGPendingException.Retrieve(); }