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 override bool RayCast(b2RayCastOutput output, b2RayCastInput input, b2Transform transform, int childIndex) { bool ret = Box2DPINVOKE.b2CircleShape_RayCast(swigCPtr, b2RayCastOutput.getCPtr(output), b2RayCastInput.getCPtr(input), b2Transform.getCPtr(transform), childIndex); if (Box2DPINVOKE.SWIGPendingException.Pending) throw Box2DPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public override bool TestPoint(b2Transform transform, b2Vec2 p) { bool ret = Box2DPINVOKE.b2CircleShape_TestPoint(swigCPtr, b2Transform.getCPtr(transform), b2Vec2.getCPtr(p)); if (Box2DPINVOKE.SWIGPendingException.Pending) throw Box2DPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public virtual bool TestPoint(b2Transform xf, b2Vec2 p) { bool ret = Box2DPINVOKE.b2Shape_TestPoint(swigCPtr, b2Transform.getCPtr(xf), b2Vec2.getCPtr(p)); if (Box2DPINVOKE.SWIGPendingException.Pending) throw Box2DPINVOKE.SWIGPendingException.Retrieve(); 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 b2Transform GetTransform() { b2Transform ret = new b2Transform(Box2DPINVOKE.b2Body_GetTransform(swigCPtr), false); return ret; }
public void GetTransform(b2Transform xfb, float beta) { Box2DPINVOKE.b2Sweep_GetTransform(swigCPtr, b2Transform.getCPtr(xfb), beta); }
public void Initialize(b2Manifold manifold, b2Transform xfA, float radiusA, b2Transform xfB, float radiusB) { Box2DPINVOKE.b2WorldManifold_Initialize(swigCPtr, b2Manifold.getCPtr(manifold), b2Transform.getCPtr(xfA), radiusA, b2Transform.getCPtr(xfB), radiusB); if (Box2DPINVOKE.SWIGPendingException.Pending) throw Box2DPINVOKE.SWIGPendingException.Retrieve(); }
public virtual void Evaluate(b2Manifold manifold, b2Transform xfA, b2Transform xfB) { Box2DPINVOKE.b2Contact_Evaluate(swigCPtr, b2Manifold.getCPtr(manifold), b2Transform.getCPtr(xfA), b2Transform.getCPtr(xfB)); if (Box2DPINVOKE.SWIGPendingException.Pending) throw Box2DPINVOKE.SWIGPendingException.Retrieve(); }
internal static HandleRef getCPtr(b2Transform obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }
public virtual void DrawTransform(b2Transform xf) { Box2DPINVOKE.b2Draw_DrawTransform(swigCPtr, b2Transform.getCPtr(xf)); if (Box2DPINVOKE.SWIGPendingException.Pending) throw Box2DPINVOKE.SWIGPendingException.Retrieve(); }
public static bool b2TestOverlap(b2Shape shapeA, int indexA, b2Shape shapeB, int indexB, b2Transform xfA, b2Transform xfB) { bool ret = Box2DPINVOKE.b2TestOverlap__SWIG_0(b2Shape.getCPtr(shapeA), indexA, b2Shape.getCPtr(shapeB), indexB, b2Transform.getCPtr(xfA), b2Transform.getCPtr(xfB)); if (Box2DPINVOKE.SWIGPendingException.Pending) throw Box2DPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public static b2Transform b2MulT(b2Transform A, b2Transform B) { b2Transform ret = new b2Transform(Box2DPINVOKE.b2MulT__SWIG_5(b2Transform.getCPtr(A), b2Transform.getCPtr(B)), true); if (Box2DPINVOKE.SWIGPendingException.Pending) throw Box2DPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public static b2Vec2 b2MulT(b2Transform T, b2Vec2 v) { b2Vec2 ret = new b2Vec2(Box2DPINVOKE.b2MulT__SWIG_4(b2Transform.getCPtr(T), b2Vec2.getCPtr(v)), true); if (Box2DPINVOKE.SWIGPendingException.Pending) throw Box2DPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public static void b2CollidePolygons(b2Manifold manifold, b2PolygonShape polygonA, b2Transform xfA, b2PolygonShape polygonB, b2Transform xfB) { Box2DPINVOKE.b2CollidePolygons(b2Manifold.getCPtr(manifold), b2PolygonShape.getCPtr(polygonA), b2Transform.getCPtr(xfA), b2PolygonShape.getCPtr(polygonB), b2Transform.getCPtr(xfB)); if (Box2DPINVOKE.SWIGPendingException.Pending) throw Box2DPINVOKE.SWIGPendingException.Retrieve(); }
public static void b2CollideEdgeAndPolygon(b2Manifold manifold, b2EdgeShape edgeA, b2Transform xfA, b2PolygonShape circleB, b2Transform xfB) { Box2DPINVOKE.b2CollideEdgeAndPolygon(b2Manifold.getCPtr(manifold), b2EdgeShape.getCPtr(edgeA), b2Transform.getCPtr(xfA), b2PolygonShape.getCPtr(circleB), b2Transform.getCPtr(xfB)); if (Box2DPINVOKE.SWIGPendingException.Pending) throw Box2DPINVOKE.SWIGPendingException.Retrieve(); }