Box2D::Contains
Defined in:
Returns a boolean value indicating whether an aligned box contains a point.
TSBox.h
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