|  | Home | Libraries | People | FAQ | More | 
Calculates cartesian area using the trapezoidal rule
template<typename CalculationType> class strategy::area::cartesian { // ... };
| 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 | 
| 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: | 
          #include <boost/geometry/strategy/cartesian/area.hpp>