hgeRect::TestPoint

Tests if a point lies within the bounding box.

bool TestPoint(
  float x,
  float y
);

Parameters

x
The point X-coordinate.
y
The point Y-coordinate.

Return value

If the point lies within the bounding box, returns true. Otherwise returns false.

Requirements

Header: hgerect.h
Import library: hgehelp.lib

See also

Intersect