testPoint abstract method

bool testPoint(
  1. Transform xf,
  2. Vector2 point
)

Test a point for containment in this shape. This only works for convex shapes.

xf should be the shape world transform. point should be in world coordinates.

Implementation

bool testPoint(Transform xf, Vector2 point);