![]() |
![]() |
Classes | |
struct | boost::geometry::strategy::covered_by::services::default_strategy< GeometryContained, GeometryContaining, TagContained, TagContaining, CastedTagContained, CastedTagContaining, CsTagContained, CsTagContaining > |
Traits class binding a covered_by determination strategy to a coordinate system. More... | |
Functions | |
template<typename Geometry1 , typename Geometry2 > | |
bool | boost::geometry::covered_by (Geometry1 const &geometry1, Geometry2 const &geometry2) |
Checks if the first geometry is inside or on border the second geometry. More... | |
template<typename Geometry1 , typename Geometry2 , typename Strategy > | |
bool | boost::geometry::covered_by (Geometry1 const &geometry1, Geometry2 const &geometry2, Strategy const &strategy) |
Checks if the first geometry is inside or on border the second geometry using the specified strategy. More... | |
bool boost::geometry::covered_by | ( | Geometry1 const & | geometry1, |
Geometry2 const & | geometry2 | ||
) |
Checks if the first geometry is inside or on border the second geometry.
The free function covered_by checks if the first geometry is inside or on border the second geometry.
Geometry1 | Any type fulfilling a Geometry Concept |
Geometry2 | Any type fulfilling a Geometry Concept |
geometry1 | A model of the specified concept which might be inside or on the border of the second geometry |
geometry2 | A model of the specified concept which might cover the first geometry |
bool boost::geometry::covered_by | ( | Geometry1 const & | geometry1, |
Geometry2 const & | geometry2, | ||
Strategy const & | strategy | ||
) |
Checks if the first geometry is inside or on border the second geometry using the specified strategy.
The free function covered_by checks if the first geometry is inside or on border the second geometry, using the specified strategy. Reasons to specify a strategy include: use another coordinate system for calculations; construct the strategy beforehand (e.g. with the radius of the Earth); select a strategy when there are more than one available for a calculation.
Geometry1 | Any type fulfilling a Geometry Concept |
Geometry2 | Any type fulfilling a Geometry Concept |
geometry1 | A model of the specified concept which might be inside or on the border of the second geometry |
geometry2 | A model of the specified concept which might cover the first geometry |
strategy | strategy to be used |
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 |