![]() |
![]() |
Strategy for distance point to segment. More...
Classes | |
struct | calculation_type |
Public Member Functions | |
template<typename Point , typename PointOfSegment > | |
calculation_type< Point, PointOfSegment >::type | apply (Point const &p, PointOfSegment const &p1, PointOfSegment const &p2) const |
Strategy for distance point to segment.
Calculates distance using projected-point method, and (optionally) Pythagoras
CalculationType | numeric type for calculation (e.g. high precision); if [*void] then it is extracted automatically from the coordinate type and (if necessary) promoted to floating point |
Strategy | underlying point-point distance strategy |
calculation_type<Point, PointOfSegment>::type boost::geometry::strategy::distance::projected_point< CalculationType, Strategy >::apply | ( | Point const & | p, |
PointOfSegment const & | p1, | ||
PointOfSegment const & | p2 | ||
) | const |
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 |