...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Within detection using cross counting,.
template<typename Point_, typename PointOfSegment_, typename CalculationType, , > class strategy::within::crossings_multiply { // ... };
Parameter |
Default |
Description |
---|---|---|
typename Point_ |
||
typename PointOfSegment_ |
Point_ |
|
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 |
Any type fulfilling a Point Concept |
||
segment point type |
Function |
Description |
Parameters |
Returns |
---|---|---|---|
template<typename Point, typename PointOfSegment> bool apply(Point const & point, PointOfSegment const & seg1, PointOfSegment const & seg2, flags & state)
|
Point const &: point: PointOfSegment const &: seg1: PointOfSegment const &: seg2: flags &: state: |
||
int result(flags const & state)
|
flags const &: state: |
#include <boost/geometry/strategies/cartesian/point_in_poly_crossings_multiply.hpp>