![]() |
![]() |
Class segment: small class containing two points. More...
Public Member Functions | |
segment ()=default | |
Default constructor, no initialization. More... | |
segment (Point const &p1, Point const &p2) | |
Constructor taking the first and the second point. More... | |
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.
|
default |
Default constructor, no initialization.
boost::geometry::model::segment< Point >::segment | ( | Point const & | p1, |
Point const & | p2 | ||
) |
Constructor taking the first and the second point.
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 |