![]() |
![]() |
Functions | |
template<typename Geometry > | |
default_length_result < Geometry >::type | boost::geometry::perimeter (Geometry const &geometry) |
Calculates the perimeter of a geometry. More... | |
template<typename Geometry , typename Strategy > | |
default_length_result < Geometry >::type | boost::geometry::perimeter (Geometry const &geometry, Strategy const &strategy) |
Calculates the perimeter of a geometry using the specified strategy. More... | |
default_length_result<Geometry>::type boost::geometry::perimeter | ( | Geometry const & | geometry | ) |
Calculates the perimeter of a geometry.
The function perimeter returns the perimeter of a geometry, using the default distance-calculation-strategy
Geometry | Any type fulfilling a Geometry Concept |
geometry | A model of the specified concept |
default_length_result<Geometry>::type boost::geometry::perimeter | ( | Geometry const & | geometry, |
Strategy const & | strategy | ||
) |
Calculates the perimeter of a geometry using the specified strategy.
The function perimeter returns the perimeter of a geometry, using specified strategy
Geometry | Any type fulfilling a Geometry Concept |
Strategy | Any type fulfilling a distance Strategy Concept |
geometry | A model of the specified concept |
strategy | strategy to be used for distance calculations. |
April 2, 2011 |
Copyright © 2007-2011 Barend Gehrels, Amsterdam, the Netherlands Copyright © 2008-2011 Bruno Lalande, Paris, France Copyright © 2009-2010 Mateusz Loskot, London, UK |