BPoint
objects represent points on a two-dimensional coordinate grid. The
object's coordinates are stored as public x
and y
data members. The
BPoint
class declares a global object, B_ORIGIN
, that represents (0,0).
For an overview of coordinate geometry for the BeOS, see "The Coordinate Space".