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 is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

strategy::side::geographic

Check at which side of a segment a point lies left of segment (> 0), right of segment (< 0), on segment (0)

Synopsis

template<typename FormulaPolicy, typename Spheroid, typename CalculationType>
class strategy::side::geographic
{
  // ...
};

Template parameter(s)

Parameter

Default

Description

typename FormulaPolicy

strategy::andoyer

Geodesic solution formula policy.

typename Spheroid

srs::spheroid<double>

Reference model of coordinate system.

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

Constructor(s)

Function

Description

Parameters

geographic()

geographic(Spheroid const & model)

Spheroid const &: model:

Member Function(s)

Function

Description

Parameters

Returns

envelope_strategy_type get_envelope_strategy()

disjoint_strategy_type get_disjoint_strategy()

equals_point_point_strategy_type get_equals_point_point_strategy()

template<typename P1, typename P2, typename P>
int apply(P1 const & p1, P2 const & p2, P const & p)

P1 const &: p1:

P2 const &: p2:

P const &: p:

Spheroid const  & model()

Header

#include <boost/geometry/strategies/geographic/side.hpp>

See also

srs::spheroid


PrevUpHomeNext