![]() |
Home | Libraries | People | FAQ | More |
Within detection using winding rule.
template<typename Point, typename PointOfSegment, typename SideStrategy, typename CalculationType> class strategy::within::winding { // ... };
|
Parameter |
Default |
Description |
|---|---|---|
|
typename Point |
Any type fulfilling a Point Concept |
|
|
typename PointOfSegment |
Point |
segment point type |
|
typename SideStrategy |
typename strategy::side::services::default_strategy < typename cs_tag<Point>::type >::type |
Side strategy |
|
typename CalculationType |
void |
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 |
|
Function |
Description |
Parameters |
|---|---|---|
|
winding()
|
||
|
winding(SideStrategy const & side_strategy)
|
SideStrategy const &: side_strategy: |
|
Function |
Description |
Parameters |
Returns |
|---|---|---|---|
|
envelope_strategy_type get_envelope_strategy()
|
|||
|
disjoint_strategy_type get_disjoint_strategy()
|
|||
|
bool apply(Point const & point, PointOfSegment const & s1, PointOfSegment const & s2, counter & state)
|
Point const &: point: PointOfSegment const &: s1: PointOfSegment const &: s2: counter &: state: |
||
|
int result(counter const & state)
|
counter const &: state: |
#include <boost/geometry/strategies/agnostic/point_in_poly_winding.hpp>