Area calculation for cartesian points. More...
#include <area_surveyor.hpp>
Public Types | |
typedef boost::mpl::if_c < boost::is_void < CalculationType > ::type::value, typename select_most_precise< typename coordinate_type < PointOfSegment >::type, double >::type, CalculationType >::type | return_type |
typedef summation | state_type |
typedef PointOfSegment | segment_point_type |
Static Public Member Functions | |
static void | apply (PointOfSegment const &p1, PointOfSegment const &p2, summation &state) |
static return_type | result (summation const &state) |
Area calculation for cartesian points.
Calculates area using the Surveyor's formula, a well-known triangulation algorithm
PointOfSegment | |
CalculationType |
{ [heading See also] [link geometry.reference.algorithms.area.area_2_with_strategy area (with strategy)] }
typedef boost::mpl::if_c< boost::is_void<CalculationType>::type::value, typename select_most_precise < typename coordinate_type<PointOfSegment>::type, double >::type, CalculationType >::type boost::geometry::strategy::area::surveyor< PointOfSegment, CalculationType >::return_type |
typedef PointOfSegment boost::geometry::strategy::area::surveyor< PointOfSegment, CalculationType >::segment_point_type |
typedef summation boost::geometry::strategy::area::surveyor< PointOfSegment, CalculationType >::state_type |
|
inlinestatic |
|
inlinestatic |