strategy::within::crossings_multiply

| Home | Libraries | People | FAQ | More

#### strategy::within::crossings_multiply

Within detection using cross counting,.

###### Synopsis

    template<typename Point, typename PointOfSegment, typename CalculationType>
    class strategy::within::crossings_multiply
    {
      // ...
    };

###### Template parameter(s)

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

###### Member Function(s)

Function | Description | Parameters | Returns
--- | --- | --- | ---

    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:

###### Header

`#include <boost/geometry/strategies/cartesian/point_in_poly_crossings_multiply.hpp>`