Within detection using winding rule, but checking if enclosing ring is counter clockwise and, if so, reverses the result.
More...
template<bool Reverse, typename Point, typename PointOfSegment = Point, typename CalculationType = void>
class boost::geometry::strategy::within::oriented_winding< Reverse, Point, PointOfSegment, CalculationType >
Within detection using winding rule, but checking if enclosing ring is counter clockwise and, if so, reverses the result.
- Template Parameters
-
Point | Any type fulfilling a Point Concept |
Reverse | True if parameter should be reversed |
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
- Barend Gehrels
- Note
- The implementation is inspired by terralib http://www.terralib.org (LGPL)
-
but totally revised afterwards, especially for cases on segments
-
Only dependant on "side", -> agnostic, suitable for spherical/latlong