Boost.Geometry    Boost C++ Libraries
Functions
relation: calculate spatial relation between two geometries

Functions

template<typename Geometry1 , typename Geometry2 , typename Strategy >
de9im::matrix boost::geometry::relation (Geometry1 const &geometry1, Geometry2 const &geometry2, Strategy const &strategy)
 Calculates the relation between a pair of geometries as defined in DE-9IM. More...
 
template<typename Geometry1 , typename Geometry2 >
de9im::matrix boost::geometry::relation (Geometry1 const &geometry1, Geometry2 const &geometry2)
 Calculates the relation between a pair of geometries as defined in DE-9IM. More...
 

Detailed Description

Function Documentation

template<typename Geometry1 , typename Geometry2 , typename Strategy >
de9im::matrix boost::geometry::relation ( Geometry1 const &  geometry1,
Geometry2 const &  geometry2,
Strategy const &  strategy 
)

Calculates the relation between a pair of geometries as defined in DE-9IM.

Template Parameters
Geometry1Any type fulfilling a Geometry Concept
Geometry2Any type fulfilling a Geometry Concept
StrategyAny type fulfilling a Relation Strategy Concept
Parameters
geometry1A model of the specified concept
geometry2A model of the specified concept
strategyThe strategy which will be used for relation calculations
Returns
The DE-9IM matrix expressing the relation between geometries.
template<typename Geometry1 , typename Geometry2 >
de9im::matrix boost::geometry::relation ( Geometry1 const &  geometry1,
Geometry2 const &  geometry2 
)

Calculates the relation between a pair of geometries as defined in DE-9IM.

Template Parameters
Geometry1Any type fulfilling a Geometry Concept
Geometry2Any type fulfilling a Geometry Concept
Parameters
geometry1A model of the specified concept
geometry2A model of the specified concept
Returns
The DE-9IM matrix expressing the relation between geometries.

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
Documentation is generated by Doxygen