Next: , Previous: Polygon Operators, Up: Polygon Reference


27.3 Querying

— Virtual function: const Point& get_center (void)
const function: Point get_center (void)

These functions return center. If the Polygon doesn't contain any Points, a warning is issued, and INVALID_POINT is returned.