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__is__valid" kind="group">
4 <compoundname>is_valid</compoundname>
5 <title>is_valid: detect if a geometry is valid</title>
6 <sectiondef kind="func">
7 <memberdef kind="function" id="group__is__valid_1ga356cf864eac8d92b2b841419c945b03f" prot="public" static="no" const="no" explicit="no" inline="yes" virt="non-virtual">
10 <type>typename Geometry</type>
14 <definition>bool boost::geometry::is_valid</definition>
15 <argsstring>(Geometry const &geometry)</argsstring>
18 <type>Geometry const &</type>
19 <declname>geometry</declname>
22 <para>Checks if a geometry is valid (in the OGC sense) </para> </briefdescription>
24 <para><parameterlist kind="templateparam"><parameteritem>
26 <parametername>Geometry</parametername>
28 <parameterdescription>
29 <para>Any type fulfilling a Geometry Concept </para></parameterdescription>
32 <parameterlist kind="param"><parameteritem>
34 <parametername>geometry</parametername>
36 <parameterdescription>
37 <para>A model of the specified concept </para></parameterdescription>
40 <simplesect kind="return"><para>Returns true if the geometry is valid (in the OGC sense); furthermore, the following geometries are considered valid: multi-geometries with no elements, linear geometries containing spikes, areal geometries with duplicate (consecutive) points</para></simplesect>
41 <qbk>[include reference/algorithms/is_valid.qbk]</qbk> </para> </detaileddescription>
44 <location file="/home/ubuntu/boost/boost/geometry/algorithms/detail/is_valid/interface.hpp" line="97" column="1" bodyfile="/home/ubuntu/boost/boost/geometry/algorithms/detail/is_valid/interface.hpp" bodystart="97" bodyend="101"/>
46 <memberdef kind="function" id="group__is__valid_1ga679fa00f8e9cc0a124fcdba608516dfc" prot="public" static="no" const="no" explicit="no" inline="yes" virt="non-virtual">
49 <type>typename Geometry</type>
53 <definition>bool boost::geometry::is_valid</definition>
54 <argsstring>(Geometry const &geometry, validity_failure_type &failure)</argsstring>
57 <type>Geometry const &</type>
58 <declname>geometry</declname>
61 <type>validity_failure_type &</type>
62 <declname>failure</declname>
65 <para>Checks if a geometry is valid (in the OGC sense) </para> </briefdescription>
67 <para><parameterlist kind="templateparam"><parameteritem>
69 <parametername>Geometry</parametername>
71 <parameterdescription>
72 <para>Any type fulfilling a Geometry Concept </para></parameterdescription>
75 <parameterlist kind="param"><parameteritem>
77 <parametername>geometry</parametername>
79 <parameterdescription>
80 <para>A model of the specified concept </para></parameterdescription>
84 <parametername>failure</parametername>
86 <parameterdescription>
87 <para>An enumeration value indicating that the geometry is valid or not, and if not valid indicating the reason why </para></parameterdescription>
90 <simplesect kind="return"><para>Returns true if the geometry is valid (in the OGC sense); furthermore, the following geometries are considered valid: multi-geometries with no elements, linear geometries containing spikes, areal geometries with duplicate (consecutive) points</para></simplesect>
91 <qbk.distinguish>with failure value</qbk.distinguish> <qbk>[include reference/algorithms/is_valid_with_failure.qbk]</qbk> </para> </detaileddescription>
94 <location file="/home/ubuntu/boost/boost/geometry/algorithms/detail/is_valid/interface.hpp" line="121" column="1" bodyfile="/home/ubuntu/boost/boost/geometry/algorithms/detail/is_valid/interface.hpp" bodystart="121" bodyend="127"/>
96 <memberdef kind="function" id="group__is__valid_1gaf0867398eaeea60e5c004a8615c7c28c" prot="public" static="no" const="no" explicit="no" inline="yes" virt="non-virtual">
99 <type>typename Geometry</type>
103 <definition>bool boost::geometry::is_valid</definition>
104 <argsstring>(Geometry const &geometry, std::string &message)</argsstring>
105 <name>is_valid</name>
107 <type>Geometry const &</type>
108 <declname>geometry</declname>
111 <type>std::string &</type>
112 <declname>message</declname>
115 <para>Checks if a geometry is valid (in the OGC sense) </para> </briefdescription>
116 <detaileddescription>
117 <para><parameterlist kind="templateparam"><parameteritem>
119 <parametername>Geometry</parametername>
121 <parameterdescription>
122 <para>Any type fulfilling a Geometry Concept </para></parameterdescription>
125 <parameterlist kind="param"><parameteritem>
127 <parametername>geometry</parametername>
129 <parameterdescription>
130 <para>A model of the specified concept </para></parameterdescription>
134 <parametername>message</parametername>
136 <parameterdescription>
137 <para>A string containing a message stating if the geometry is valid or not, and if not valid a reason why </para></parameterdescription>
140 <simplesect kind="return"><para>Returns true if the geometry is valid (in the OGC sense); furthermore, the following geometries are considered valid: multi-geometries with no elements, linear geometries containing spikes, areal geometries with duplicate (consecutive) points</para></simplesect>
141 <qbk.distinguish>with message</qbk.distinguish> <qbk>[include reference/algorithms/is_valid_with_message.qbk]</qbk> </para> </detaileddescription>
144 <location file="/home/ubuntu/boost/boost/geometry/algorithms/detail/is_valid/interface.hpp" line="147" column="1" bodyfile="/home/ubuntu/boost/boost/geometry/algorithms/detail/is_valid/interface.hpp" bodystart="147" bodyend="154"/>
149 <detaileddescription>
150 </detaileddescription>