|  | Home | Libraries | People | FAQ | More | 
Checks if a geometry has at least one touching point (self-tangency)
template<typename Geometry> bool touches(Geometry const & geometry)
| Type | Concept | Name | Description | 
|---|---|---|---|
| Geometry const & | Any type fulfilling a Geometry Concept | geometry | A model of the specified concept | 
Returns true if the geometry is self-touching
Either
            #include <boost/geometry.hpp>
          
Or
            #include <boost/geometry/algorithms/touches.hpp>
          
The function touches implements function Touches from the OGC Simple Feature Specification.
The version with one parameter is additional and not described in the OGC standard
| ![[Note]](../../../../../../../../doc/src/images/note.png) | Note | 
|---|---|
| Implemented for Point/Linestring/MultiLinestring/Polygon/MultiPolygon. |