BPoint

BPoint objects represents 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 Haiku, see “The Coordinate Space”.