relate

# relate: check spatial relation between two geometries

typename Geometry1
typename Geometry2
typename Mask
bool bool boost::geometry::relate (Geometry1 const &geometry1, Geometry2 const &geometry2, Mask const &mask) relate Geometry1 const & geometry1 Geometry2 const & geometry2 Mask const & mask

Checks relation between a pair of geometries defined by a mask.

Geometry1

Any type fulfilling a Geometry Concept

Geometry2

Any type fulfilling a Geometry Concept

Mask

An intersection model Mask type.

geometry1

A model of the specified concept

geometry2

A model of the specified concept

mask

An intersection model mask object.

true if the relation is compatible with the mask, false otherwise.

[include reference/algorithms/relate.qbk]