touches

# touches: detect if a geometry self-touches or if two geometries touch

typename Geometry
bool bool boost::geometry::touches (Geometry const &geometry) touches Geometry const & geometry

Checks if a geometry \1.

This function can be called for one geometry (self-tangency) and also for two geometries (touch)

Geometry

Any type fulfilling a Geometry Concept

geometry

A model of the specified concept

Returns true if the geometry \1

one geometry [def __one_parameter__] [include reference/algorithms/touches.qbk]
typename Geometry1
typename Geometry2
bool bool boost::geometry::touches (Geometry1 const &geometry1, Geometry2 const &geometry2) touches Geometry1 const & geometry1 Geometry2 const & geometry2

Checks if two geometries \1.

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

Returns true if two geometries \1

two geometries [include reference/algorithms/touches.qbk]