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__correct" kind="group">
4 <compoundname>correct</compoundname>
5 <title>correct: correct geometries</title>
6 <sectiondef kind="func">
7 <memberdef kind="function" id="group__correct_1gaf14641937f187af33fec6bd99c8202d9" prot="public" static="no" const="no" explicit="no" inline="yes" virt="non-virtual">
10 <type>typename Geometry</type>
14 <definition>void boost::geometry::correct</definition>
15 <argsstring>(Geometry &geometry)</argsstring>
18 <type>Geometry &</type>
19 <declname>geometry</declname>
22 <para>Corrects a geometry. </para> </briefdescription>
24 <para>Corrects a geometry: all rings which are wrongly oriented with respect to their expected orientation are reversed. To all rings which do not have a closing point and are typed as they should have one, the first point is appended. Also boxes can be corrected.</para><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 which will be corrected if necessary</para></parameterdescription>
40 <qbk>[include reference/algorithms/correct.qbk]</qbk> </para> </detaileddescription>
43 <location file="/home/ubuntu/boost/boost/geometry/algorithms/correct.hpp" line="326" column="1" bodyfile="/home/ubuntu/boost/boost/geometry/algorithms/correct.hpp" bodystart="326" bodyend="329"/>
49 </detaileddescription>