Box2D.Dynamics.Fixture.TestPoint C# (CSharp) Method

TestPoint() public method

Test a point for containment in this fixture. This only works for convex shapes.
public TestPoint ( Vec2 p ) : bool
p Box2D.Common.Vec2 a point in world coordinates.
return bool
        public bool TestPoint(Vec2 p)
        {
            return Shape.TestPoint(Body.Xf, p);
        }