perimeter

# perimeter: calculate perimeter of a geometry

typename Geometry
default_length_result< Geometry >::type default_length_result<Geometry>::type boost::geometry::perimeter (Geometry const &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

The calculated \1

[include reference/algorithms/perimeter.qbk]
typename Geometry
typename Strategy
default_length_result< Geometry >::type default_length_result<Geometry>::type boost::geometry::perimeter (Geometry const &geometry, Strategy const &strategy) 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.

The calculated \1

with strategy [include reference/algorithms/perimeter.qbk]