![]() |
![]() |
Classes | |
class | boost::geometry::concepts::WithinStrategyPolygonal< Strategy > |
Checks strategy for within (point-in-polygon) More... | |
struct | boost::geometry::strategy::within::services::default_strategy< GeometryContained, GeometryContaining, TagContained, TagContaining, CastedTagContained, CastedTagContaining, CsTagContained, CsTagContaining > |
Traits class binding a within determination strategy to a coordinate system. More... | |
Functions | |
template<typename Geometry1 , typename Geometry2 > | |
bool | boost::geometry::within (Geometry1 const &geometry1, Geometry2 const &geometry2) |
Checks if the first geometry is completely inside the second geometry. More... | |
template<typename Geometry1 , typename Geometry2 , typename Strategy > | |
bool | boost::geometry::within (Geometry1 const &geometry1, Geometry2 const &geometry2, Strategy const &strategy) |
Checks if the first geometry is completely inside the second geometry using the specified strategy. More... | |
bool boost::geometry::within | ( | Geometry1 const & | geometry1, |
Geometry2 const & | geometry2 | ||
) |
Checks if the first geometry is completely inside the second geometry.
The free function within checks if the first geometry is completely inside 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 within the second geometry |
geometry2 | A model of the specified concept which might contain the first geometry |
bool boost::geometry::within | ( | Geometry1 const & | geometry1, |
Geometry2 const & | geometry2, | ||
Strategy const & | strategy | ||
) |
Checks if the first geometry is completely inside the second geometry using the specified strategy.
The free function within checks if the first geometry is completely inside 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 within the second geometry |
geometry2 | A model of the specified concept which might contain 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 |