C4 Engine
C4 Engine API Documentation

Box2D::Contains

Defined in:  TSBox.h
Returns a boolean value indicating whether an aligned box contains a point.
Prototype

bool Contains(const Point2D& p) const;

Parameters
p The point that is tested for containment.
Description
The Contains function determines whether the point specified by the p parameter is contained in an aligned bounding box and returns true if so and false otherwise.
See Also

Box2D::Intersection