![]() |
![]() |
Class segment: small class containing two (templatized) point references. More...
Public Member Functions | |
referring_segment (point_type &p1, point_type &p2) | |
Constructor taking the first and the second point. | |
Public Attributes | |
point_type & | first |
point_type & | second |
Class segment: small class containing two (templatized) point references.
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.
ConstOrNonConstPoint | point type of the segment, maybe a point or a const point |
boost::geometry::model::referring_segment< ConstOrNonConstPoint >::referring_segment | ( | point_type & | p1, |
point_type & | p2 | ||
) |
Constructor taking the first and the second point.
point_type& boost::geometry::model::referring_segment< ConstOrNonConstPoint >::first |
point_type& boost::geometry::model::referring_segment< ConstOrNonConstPoint >::second |
April 2, 2011 |
Copyright © 2007-2011 Barend Gehrels, Amsterdam, the Netherlands Copyright © 2008-2011 Bruno Lalande, Paris, France Copyright © 2009-2010 Mateusz Loskot, London, UK |