boost::geometry::model::segment
segment.hpp
typename Point
boost::geometry::model::segment< Point >::BOOST_CONCEPT_ASSERT
((concept::Point< Point >))
BOOST_CONCEPT_ASSERT
(concept::Point< Point >)
boost::geometry::model::segment< Point >::segment
()
segment

Default constructor, no initialization.

boost::geometry::model::segment< Point >::segment
(Point const &p1, Point const &p2)
segment
Point const & p1
Point const & p2

Constructor taking the first and the second point.

Class segment: small class containing two points.

From Wikipedia: In geometry, a line segment is a part of a line that is bounded by two distinct end points, and contains every point on the line between its end points.

There is also a point-referring-segment, class referring_segment, containing point references, where points are NOT copied

[include reference/geometries/segment.qbk] [heading Model of] [link geometry.reference.concepts.concept_segment Segment Concept]
- boost::geometry::model::segment
  BOOST_CONCEPT_ASSERT
- boost::geometry::model::segment
  segment
- boost::geometry::model::segment
  segment