boost::geometry::model::linestring
linestring.hpp
typename Point
template< typename, typename > class Container Container std::vector
template< typename > class Allocator Allocator std::allocator
Container< Point, Allocator< Point > > typedef Container<Point, Allocator<Point> > boost::geometry::model::linestring< Point, Container, Allocator >::base_type base_type
boost::geometry::model::linestring< Point, Container, Allocator >::BOOST_CONCEPT_ASSERT
((concept::Point< Point >))
BOOST_CONCEPT_ASSERT
(concept::Point< Point >)
boost::geometry::model::linestring< Point, Container, Allocator >::linestring
()
linestring

Default constructor, creating an empty \1.

typename Iterator
boost::geometry::model::linestring< Point, Container, Allocator >::linestring
(Iterator begin, Iterator end)
linestring
Iterator begin
Iterator end

Constructor with begin and end, filling the \1.

boost::geometry::model::linestring< Point, Container, Allocator >::linestring
(std::initializer_list< Point > l)
linestring
std::initializer_list< Point > l

Constructor taking std::initializer_list, filling the \1.

A linestring (named so by OGC) is a collection (default a vector) of points.

Point

Any type fulfilling a Point Concept

Container

container type, for example std::vector, std::deque

Allocator

container-allocator-type

[include reference/geometries/linestring.qbk] [heading Model of] [link geometry.reference.concepts.concept_linestring Linestring Concept]
- boost::geometry::model::linestring
  base_type
- boost::geometry::model::linestring
  BOOST_CONCEPT_ASSERT
- boost::geometry::model::linestring
  linestring
- boost::geometry::model::linestring
  linestring
- boost::geometry::model::linestring
  linestring