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 a snapshot of the develop branch, built from commit 9d110488d0.
PrevUpHomeNext

strategy::area::cartesian

Cartesian area calculation.

Description

Calculates cartesian area using the trapezoidal rule

Synopsis

template<typename CalculationType>
class strategy::area::cartesian
{
  // ...
};

Template parameter(s)

Parameter

Default

Description

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

template<typename PointOfSegment, typename Geometry>
void apply(PointOfSegment const & p1, PointOfSegment const & p2, state< Geometry > & st)

PointOfSegment const &: p1:

PointOfSegment const &: p2:

state< Geometry > &: st:

template<typename Geometry>
auto result(state< Geometry > & st)

state< Geometry > &: st:

Header

#include <boost/geometry/strategy/cartesian/area.hpp>

See also

area (with strategy)


PrevUpHomeNext