87 lines
35 KiB
HTML
87 lines
35 KiB
HTML
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||
|
<head>
|
||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||
|
<meta name="generator" content="Doxygen 1.8.11"/>
|
||
|
<title>GEOS: GeometryPrecisionReducer.h Source File</title>
|
||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||
|
<script type="text/javascript" src="jquery.js"></script>
|
||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||
|
</head>
|
||
|
<body>
|
||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||
|
<div id="titlearea">
|
||
|
<table cellspacing="0" cellpadding="0">
|
||
|
<tbody>
|
||
|
<tr style="height: 56px;">
|
||
|
<td id="projectalign" style="padding-left: 0.5em;">
|
||
|
<div id="projectname">GEOS
|
||
|
 <span id="projectnumber">3.9.1dev</span>
|
||
|
</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
</div>
|
||
|
<!-- end header part -->
|
||
|
<!-- Generated by Doxygen 1.8.11 -->
|
||
|
<div id="navrow1" class="tabs">
|
||
|
<ul class="tablist">
|
||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||
|
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
||
|
<li><a href="annotated.html"><span>Classes</span></a></li>
|
||
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div id="navrow2" class="tabs2">
|
||
|
<ul class="tablist">
|
||
|
<li><a href="files.html"><span>File List</span></a></li>
|
||
|
<li><a href="globals.html"><span>File Members</span></a></li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div id="nav-path" class="navpath">
|
||
|
<ul>
|
||
|
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_0bc14b2fb119a11b6a0f32f4d350db61.html">geos</a></li><li class="navelem"><a class="el" href="dir_1faa4b632e4472d8f0daef830108dc4a.html">precision</a></li> </ul>
|
||
|
</div>
|
||
|
</div><!-- top -->
|
||
|
<div class="header">
|
||
|
<div class="headertitle">
|
||
|
<div class="title">GeometryPrecisionReducer.h</div> </div>
|
||
|
</div><!--header-->
|
||
|
<div class="contents">
|
||
|
<a href="GeometryPrecisionReducer_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/**********************************************************************</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> *</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> * GEOS - Geometry Engine Open Source</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * http://geos.osgeo.org</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> *</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * Copyright (C) 2012 Sandro Santilli <strk@kbt.io></span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> *</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> * This is free software; you can redistribute and/or modify it under</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> * the terms of the GNU Lesser General Public Licence as published</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> * by the Free Software Foundation.</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> * See the COPYING file for more information.</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> *</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> ***********************************************************************</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> *</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> * Last port: precision/GeometryPrecisionReducer.cpp rev. 1.10 (JTS-1.7)</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> *</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment"> **********************************************************************/</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> </div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor">#ifndef GEOS_PRECISION_GEOMETRYPRECISIONREDUCER_H</span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#define GEOS_PRECISION_GEOMETRYPRECISIONREDUCER_H</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> </div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#include <<a class="code" href="export_8h.html">geos/export.h</a>></span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#include <<a class="code" href="GeometryFactory_8h.html">geos/geom/GeometryFactory.h</a>></span> <span class="comment">// for GeometryFactory::Ptr</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include <memory></span> <span class="comment">// for unique_ptr</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> </div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="comment">// Forward declarations</span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27<
|
||
|
<div class="ttc" id="classgeos_1_1precision_1_1GeometryPrecisionReducer_html_a506dd7e0656b72953848f584f43f78bb"><div class="ttname"><a href="classgeos_1_1precision_1_1GeometryPrecisionReducer.html#a506dd7e0656b72953848f584f43f78bb">geos::precision::GeometryPrecisionReducer::reducePointwise</a></div><div class="ttdeci">static std::unique_ptr< geom::Geometry > reducePointwise(const geom::Geometry &g, const geom::PrecisionModel &precModel)</div><div class="ttdef"><b>Definition:</b> <a href="GeometryPrecisionReducer_8h_source.html#l00117">GeometryPrecisionReducer.h:117</a></div></div>
|
||
|
<div class="ttc" id="classgeos_1_1precision_1_1GeometryPrecisionReducer_html_a326f1c55b893749c053fa4855cc99c59"><div class="ttname"><a href="classgeos_1_1precision_1_1GeometryPrecisionReducer.html#a326f1c55b893749c053fa4855cc99c59">geos::precision::GeometryPrecisionReducer::removeCollapsed</a></div><div class="ttdeci">bool removeCollapsed</div><div class="ttdef"><b>Definition:</b> <a href="GeometryPrecisionReducer_8h_source.html#l00067">GeometryPrecisionReducer.h:67</a></div></div>
|
||
|
<div class="ttc" id="export_8h_html_ae36df939090171f6e9a28a8cb6254fea"><div class="ttname"><a href="export_8h.html#ae36df939090171f6e9a28a8cb6254fea">GEOS_DLL</a></div><div class="ttdeci">#define GEOS_DLL</div><div class="ttdef"><b>Definition:</b> <a href="export_8h_source.html#l00028">export.h:28</a></div></div>
|
||
|
<div class="ttc" id="export_8h_html"><div class="ttname"><a href="export_8h.html">export.h</a></div></div>
|
||
|
<div class="ttc" id="classgeos_1_1precision_1_1GeometryPrecisionReducer_html_a0b5e2cb08053b6b13dd7e7f3b54fc843"><div class="ttname"><a href="classgeos_1_1precision_1_1GeometryPrecisionReducer.html#a0b5e2cb08053b6b13dd7e7f3b54fc843">geos::precision::GeometryPrecisionReducer::changePrecisionModel</a></div><div class="ttdeci">bool changePrecisionModel</div><div class="ttdef"><b>Definition:</b> <a href="GeometryPrecisionReducer_8h_source.html#l00068">GeometryPrecisionReducer.h:68</a></div></div>
|
||
|
<div class="ttc" id="classgeos_1_1precision_1_1GeometryPrecisionReducer_html_ad183c4084fd47b52a9a059463b06ec4f"><div class="ttname"><a href="classgeos_1_1precision_1_1GeometryPrecisionReducer.html#ad183c4084fd47b52a9a059463b06ec4f">geos::precision::GeometryPrecisionReducer::setRemoveCollapsedComponents</a></div><div class="ttdeci">void setRemoveCollapsedComponents(bool remove)</div><div class="ttdef"><b>Definition:</b> <a href="GeometryPrecisionReducer_8h_source.html#l00162">GeometryPrecisionReducer.h:162</a></div></div>
|
||
|
<div class="ttc" id="classgeos_1_1precision_1_1GeometryPrecisionReducer_html_a7d3631630a419ed01af01d34002f2297"><div class="ttname"><a href="classgeos_1_1precision_1_1GeometryPrecisionReducer.html#a7d3631630a419ed01af01d34002f2297">geos::precision::GeometryPrecisionReducer::isPointwise</a></div><div class="ttdeci">bool isPointwise</div><div class="ttdef"><b>Definition:</b> <a href="GeometryPrecisionReducer_8h_source.html#l00070">GeometryPrecisionReducer.h:70</a></div></div>
|
||
|
<div class="ttc" id="classgeos_1_1precision_1_1GeometryPrecisionReducer_html_a642cf48860cabc54e243c7377cc9c17d"><div class="ttname"><a href="classgeos_1_1precision_1_1GeometryPrecisionReducer.html#a642cf48860cabc54e243c7377cc9c17d">geos::precision::GeometryPrecisionReducer::targetPM</a></div><div class="ttdeci">const geom::PrecisionModel & targetPM</div><div class="ttdef"><b>Definition:</b> <a href="GeometryPrecisionReducer_8h_source.html#l00065">GeometryPrecisionReducer.h:65</a></div></div>
|
||
|
<div class="ttc" id="classgeos_1_1geom_1_1PrecisionModel_html"><div class="ttname"><a href="classgeos_1_1geom_1_1PrecisionModel.html">geos::geom::PrecisionModel</a></div><div class="ttdoc">Specifies the precision model of the Coordinate in a Geometry. </div><div class="ttdef"><b>Definition:</b> <a href="PrecisionModel_8h_source.html#l00087">PrecisionModel.h:87</a></div></div>
|
||
|
<div class="ttc" id="classgeos_1_1geom_1_1Geometry_html"><div class="ttname"><a href="classgeos_1_1geom_1_1Geometry.html">geos::geom::Geometry</a></div><div class="ttdoc">Basic implementation of Geometry, constructed and destructed by GeometryFactory. </div><div class="ttdef"><b>Definition:</b> <a href="Geometry_8h_source.html#l00188">Geometry.h:188</a></div></div>
|
||
|
<div class="ttc" id="classgeos_1_1precision_1_1GeometryPrecisionReducer_html_a1e1515c812154e869f1b1b5b8f898e3b"><div class="ttname"><a href="classgeos_1_1precision_1_1GeometryPrecisionReducer.html#a1e1515c812154e869f1b1b5b8f898e3b">geos::precision::GeometryPrecisionReducer::useAreaReducer</a></div><div class="ttdeci">bool useAreaReducer</div><div class="ttdef"><b>Definition:</b> <a href="GeometryPrecisionReducer_8h_source.html#l00069">GeometryPrecisionReducer.h:69</a></div></div>
|
||
|
<div class="ttc" id="classgeos_1_1geom_1_1GeometryFactory_html"><div class="ttname"><a href="classgeos_1_1geom_1_1GeometryFactory.html">geos::geom::GeometryFactory</a></div><div class="ttdoc">Supplies a set of utility methods for building Geometry objects from CoordinateSequence or other Geom...</div><div class="ttdef"><b>Definition:</b> <a href="GeometryFactory_8h_source.html#l00068">GeometryFactory.h:68</a></div></div>
|
||
|
<div class="ttc" id="classgeos_1_1precision_1_1GeometryPrecisionReducer_html_a2cf5c1580a719fe349b5e0d2c7fd3181"><div class="ttname"><a href="classgeos_1_1precision_1_1GeometryPrecisionReducer.html#a2cf5c1580a719fe349b5e0d2c7fd3181">geos::precision::GeometryPrecisionReducer::setUseAreaReducer</a></div><div class="ttdeci">void setUseAreaReducer(bool useAR)</div><div class="ttdef"><b>Definition:</b> <a href="GeometryPrecisionReducer_8h_source.html#l00184">GeometryPrecisionReducer.h:184</a></div></div>
|
||
|
<div class="ttc" id="classgeos_1_1precision_1_1GeometryPrecisionReducer_html"><div class="ttname"><a href="classgeos_1_1precision_1_1GeometryPrecisionReducer.html">geos::precision::GeometryPrecisionReducer</a></div><div class="ttdoc">Reduces the precision of a geom::Geometry according to the supplied geom::PrecisionModel, ensuring that the result is valid (unless specified otherwise). </div><div class="ttdef"><b>Definition:</b> <a href="GeometryPrecisionReducer_8h_source.html#l00058">GeometryPrecisionReducer.h:58</a></div></div>
|
||
|
<div class="ttc" id="classgeos_1_1precision_1_1GeometryPrecisionReducer_html_a23eec3922377921a160cbc16e97d89fc"><div class="ttname"><a href="classgeos_1_1precision_1_1GeometryPrecisionReducer.html#a23eec3922377921a160cbc16e97d89fc">geos::precision::GeometryPrecisionReducer::GeometryPrecisionReducer</a></div><div class="ttdeci">GeometryPrecisionReducer(const geom::GeometryFactory &changeFactory)</div><div class="ttdoc">Create a reducer that will change the precision model of the new reduced Geometry. </div><div class="ttdef"><b>Definition:</b> <a href="GeometryPrecisionReducer_8h_source.html#l00145">GeometryPrecisionReducer.h:145</a></div></div>
|
||
|
<div class="ttc" id="namespacegeos_html"><div class="ttname"><a href="namespacegeos.html">geos</a></div><div class="ttdoc">Basic namespace for all GEOS functionalities. </div><div class="ttdef"><b>Definition:</b> <a href="IndexedNestedRingTester_8h_source.html#l00026">IndexedNestedRingTester.h:26</a></div></div>
|
||
|
<div class="ttc" id="classgeos_1_1precision_1_1GeometryPrecisionReducer_html_a63483fdb4fb194a3e5444380b67a3f34"><div class="ttname"><a href="classgeos_1_1precision_1_1GeometryPrecisionReducer.html#a63483fdb4fb194a3e5444380b67a3f34">geos::precision::GeometryPrecisionReducer::newFactory</a></div><div class="ttdeci">const geom::GeometryFactory * newFactory</div><div class="ttdef"><b>Definition:</b> <a href="GeometryPrecisionReducer_8h_source.html#l00063">GeometryPrecisionReducer.h:63</a></div></div>
|
||
|
<div class="ttc" id="classgeos_1_1precision_1_1GeometryPrecisionReducer_html_aad2456c5ccb843c29cfdec6907e113ab"><div class="ttname"><a href="classgeos_1_1precision_1_1GeometryPrecisionReducer.html#aad2456c5ccb843c29cfdec6907e113ab">geos::precision::GeometryPrecisionReducer::reduce</a></div><div class="ttdeci">static std::unique_ptr< geom::Geometry > reduce(const geom::Geometry &g, const geom::PrecisionModel &precModel)</div><div class="ttdef"><b>Definition:</b> <a href="GeometryPrecisionReducer_8h_source.html#l00097">GeometryPrecisionReducer.h:97</a></div></div>
|
||
|
<div class="ttc" id="classgeos_1_1precision_1_1GeometryPrecisionReducer_html_afbf0bea4334e3eea5d4635d26d732c10"><div class="ttname"><a href="classgeos_1_1precision_1_1GeometryPrecisionReducer.html#afbf0bea4334e3eea5d4635d26d732c10">geos::precision::GeometryPrecisionReducer::GeometryPrecisionReducer</a></div><div class="ttdeci">GeometryPrecisionReducer(const geom::PrecisionModel &pm)</div><div class="ttdef"><b>Definition:</b> <a href="GeometryPrecisionReducer_8h_source.html#l00126">GeometryPrecisionReducer.h:126</a></div></div>
|
||
|
<div class="ttc" id="classgeos_1_1precision_1_1GeometryPrecisionReducer_html_a49bcfa95700d9b7e309049bdcee25d2c"><div class="ttname"><a href="classgeos_1_1precision_1_1GeometryPrecisionReducer.html#a49bcfa95700d9b7e309049bdcee25d2c">geos::precision::GeometryPrecisionReducer::setChangePrecisionModel</a></div><div class="ttdeci">void setChangePrecisionModel(bool change)</div><div class="ttdoc">Sets whether the geom::PrecisionModel of the new reduced Geometry will be changed to be the geom::Pre...</div><div class="ttdef"><b>Definition:</b> <a href="GeometryPrecisionReducer_8h_source.html#l00178">GeometryPrecisionReducer.h:178</a></div></div>
|
||
|
<div class="ttc" id="classgeos_1_1precision_1_1GeometryPrecisionReducer_html_a443eb455858dbd88d5712cf8ce3a1519"><div class="ttname"><a href="classgeos_1_1precision_1_1GeometryPrecisionReducer.html#a443eb455858dbd88d5712cf8ce3a1519">geos::precision::GeometryPrecisionReducer::setPointwise</a></div><div class="ttdeci">void setPointwise(bool pointwise)</div><div class="ttdoc">Sets whether the precision reduction will be done in pointwise fashion only. </div><div class="ttdef"><b>Definition:</b> <a href="GeometryPrecisionReducer_8h_source.html#l00201">GeometryPrecisionReducer.h:201</a></div></div>
|
||
|
<div class="ttc" id="GeometryFactory_8h_html"><div class="ttname"><a href="GeometryFactory_8h.html">GeometryFactory.h</a></div></div>
|
||
|
</div><!-- fragment --></div><!-- contents -->
|
||
|
<!-- start footer part -->
|
||
|
<hr class="footer"/><address class="footer"><small>
|
||
|
Generated by  <a href="http://www.doxygen.org/index.html">
|
||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||
|
</a> 1.8.11
|
||
|
</small></address>
|
||
|
</body>
|
||
|
</html>
|