Boost
C++ Libraries
...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
This version of Boost is under active development. You are currently in the branch. The current version is 1.89.0.
Within detection using winding rule.
template<typename Point, typename PointOfSegment, typename CalculationType> class strategy::within::winding { // ... };
|
Parameter |
Default |
Description |
|---|---|---|
|
typename Point |
Any type fulfilling a Point Concept |
|
|
typename PointOfSegment |
Point |
segment point type |
|
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 |
Returns |
|---|---|---|---|
|
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>