Points in Boost.Geometry

Boost.Geometry states a set of requirements that a point must meet (a point interface or point concept) in order to work with the other components.

Points are constructed, then manipulated:

  1. Points are constructed, usually with parameters {x0, ... xn - 1}.

  2. A point's coordinates is accessed through either:

    1. Namespace scoped functions:

      boost::geometry::get<INDEX>(const POINT&)
          boost::geometry::set<INDEX>(POINT&, VALUE)
    2. or templatized member functions:

      boost::geometry::point_type::get<INDEX>()
          boost::geometry::point_type::set<INDEX>(VALUE)

The Point Concept in Boost.Geometry

(See external Point Concept in Boost.Geometry documentation)

Implementations of Boost.Geometry Point Concept

A Boost.Geometry Point Implementation: model::point

(See external model::point in Boost.Geometry documentation)