Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

Linestring Concept
PrevUpHomeNext
Description

The Linestring Concept describes the requirements for a linestring type. All algorithms in Boost.Geometry will check any geometry arguments against the concept requirements.

A linestring is a Curve with linear interpolation between Points. (opengeospatial).

Concept Definition

The Linestring Concept is defined as following:

  • there must be a specialization of traits::tag defining linestring_tag as type
  • it must behave like a Boost.Range Random Access Range
  • The type defined by the metafunction range_value<...>::type must fulfill the Point Concept
Available Models
  • model::linestring
  • a std::vector (requires registration)
  • a std::deque (requires registration)

PrevUpHomeNext