1 <?xml version='1.0' encoding='UTF-8' standalone='no'?>
2 <doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.8.6">
3 <compounddef id="group__touches" kind="group">
4 <compoundname>touches</compoundname>
5 <title>touches: detect if a geometry self-touches or if two geometries touch</title>
6 <sectiondef kind="func">
7 <memberdef kind="function" id="group__touches_1ga34c4c58f9757ecd08dbd413701a59fac" prot="public" static="no" const="no" explicit="no" inline="yes" virt="non-virtual">
10 <type>typename Geometry</type>
14 <definition>bool boost::geometry::touches</definition>
15 <argsstring>(Geometry const &geometry)</argsstring>
18 <type>Geometry const &</type>
19 <declname>geometry</declname>
22 <para>Checks if a geometry has at least one touching point (self-tangency) </para> </briefdescription>
24 <para><simplesect kind="note"><para>This function can be called for one geometry (self-tangency) and also for two geometries (touch)</para></simplesect>
25 <parameterlist kind="templateparam"><parameteritem>
27 <parametername>Geometry</parametername>
29 <parameterdescription>
30 <para>Any type fulfilling a Geometry Concept </para></parameterdescription>
33 <parameterlist kind="param"><parameteritem>
35 <parametername>geometry</parametername>
37 <parameterdescription>
38 <para>A model of the specified concept </para></parameterdescription>
41 <simplesect kind="return"><para>Returns true if the geometry is self-touching</para></simplesect>
42 <qbk.distinguish>one geometry</qbk.distinguish> <qbk>[def __one_parameter__]</qbk> <qbk>[include reference/algorithms/touches.qbk]</qbk> </para> </detaileddescription>
45 <location file="/home/ubuntu/boost/boost/geometry/algorithms/touches.hpp" line="560" column="1" bodyfile="/home/ubuntu/boost/boost/geometry/algorithms/touches.hpp" bodystart="560" bodyend="563"/>
47 <memberdef kind="function" id="group__touches_1gabbb053b4c78edc40a6c37f1f0f71ddbe" prot="public" static="no" const="no" explicit="no" inline="yes" virt="non-virtual">
50 <type>typename Geometry1</type>
53 <type>typename Geometry2</type>
57 <definition>bool boost::geometry::touches</definition>
58 <argsstring>(Geometry1 const &geometry1, Geometry2 const &geometry2)</argsstring>
61 <type>Geometry1 const &</type>
62 <declname>geometry1</declname>
65 <type>Geometry2 const &</type>
66 <declname>geometry2</declname>
69 <para>Checks if two geometries have at least one touching point (tangent - non overlapping) </para> </briefdescription>
71 <para><parameterlist kind="templateparam"><parameteritem>
73 <parametername>Geometry1</parametername>
75 <parameterdescription>
76 <para>Any type fulfilling a Geometry Concept </para></parameterdescription>
80 <parametername>Geometry2</parametername>
82 <parameterdescription>
83 <para>Any type fulfilling a Geometry Concept </para></parameterdescription>
86 <parameterlist kind="param"><parameteritem>
88 <parametername>geometry1</parametername>
90 <parameterdescription>
91 <para>A model of the specified concept </para></parameterdescription>
95 <parametername>geometry2</parametername>
97 <parameterdescription>
98 <para>A model of the specified concept </para></parameterdescription>
101 <simplesect kind="return"><para>Returns true if two geometries touch each other</para></simplesect>
102 <qbk.distinguish>two geometries</qbk.distinguish> <qbk>[include reference/algorithms/touches.qbk]</qbk> </para> </detaileddescription>
105 <location file="/home/ubuntu/boost/boost/geometry/algorithms/touches.hpp" line="579" column="1" bodyfile="/home/ubuntu/boost/boost/geometry/algorithms/touches.hpp" bodystart="579" bodyend="582"/>
110 <detaileddescription>
111 </detaileddescription>