| Home | Libraries | People | FAQ | More

#### strategy::within::franklin

Within detection using cross counting.

###### Synopsis

    template<typename Point_, typename PointOfSegment_, typename CalculationType, ,
             >
    class strategy::within::franklin
    {
      // ...
    };

###### Template parameter(s)

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

###### Member Function(s)

Function | Description | Parameters | Returns
--- | --- | --- | ---
    template<typename Point, typename PointOfSegment>
    bool apply(Point const & point, PointOfSegment const & seg1, PointOfSegment const & seg2,
               crossings & state)
|  | Point const &: point: PointOfSegment const &: seg1: PointOfSegment const &: seg2: crossings &: state: |
    int result(crossings const & state)
|  | crossings const &: state: |

###### Header

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

###### See also

within (with strategy)