relation

# relation: calculate spatial relation between two geometries

typename Geometry1
typename Geometry2
de9im::matrix de9im::matrix boost::geometry::relation (Geometry1 const &geometry1, Geometry2 const &geometry2) relation Geometry1 const & geometry1 Geometry2 const & geometry2

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

Geometry1

Any type fulfilling a Geometry Concept

Geometry2

Any type fulfilling a Geometry Concept

geometry1

A model of the specified concept

geometry2

A model of the specified concept

The DE-9IM matrix expressing the relation between geometries.

[include reference/algorithms/relation.qbk]