template<typename Point, typename PointOfSegment = Point, typename CalculationType = void>
class boost::geometry::strategy::within::franklin< Point, PointOfSegment, CalculationType >
Within detection using cross counting.
- Template Parameters
-
Point | Any type fulfilling a Point Concept |
PointOfSegment | segment point type |
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 |
- Author
- adapted from Randolph Franklin algorithm
-
Barend and Maarten, 1995
-
Revised for templatized library, Barend Gehrels, 2007
- Returns
- true if point is in ring, works for closed rings in both directions
- Note
- Does NOT work correctly for point ON border