geos_390_docs/GeometryFactory_8h_source.html

108 lines
69 KiB
HTML
Raw Permalink Normal View History

2020-12-23 18:34:09 -08:00
<!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: GeometryFactory.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
&#160;<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&#160;Page</span></a></li>
<li><a href="pages.html"><span>Related&#160;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&#160;List</span></a></li>
<li><a href="globals.html"><span>File&#160;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_aed5f07abf54fb298f6559880addb1ef.html">geom</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">GeometryFactory.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="GeometryFactory_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>&#160;<span class="comment">/**********************************************************************</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> * GEOS - Geometry Engine Open Source</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> * http://geos.osgeo.org</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> * Copyright (C) 2011 Sandro Santilli &lt;strk@kbt.io&gt;</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> * Copyright (C) 2006 Refractions Research Inc.</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment"> * This is free software; you can redistribute and/or modify it under</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment"> * the terms of the GNU Lesser General Public Licence as published</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment"> * by the Free Software Foundation.</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment"> * See the COPYING file for more information.</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment"> **********************************************************************</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="comment"> * Last port: geom/GeometryFactory.java r320 (JTS-1.12)</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="comment"> **********************************************************************/</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#ifndef GEOS_GEOM_GEOMETRYFACTORY_H</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="preprocessor">#define GEOS_GEOM_GEOMETRYFACTORY_H</span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="Geometry_8h.html">geos/geom/Geometry.h</a>&gt;</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="GeometryCollection_8h.html">geos/geom/GeometryCollection.h</a>&gt;</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="MultiPoint_8h.html">geos/geom/MultiPoint.h</a>&gt;</span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="MultiLineString_8h.html">geos/geom/MultiLineString.h</a>&gt;</span><
<div class="ttc" id="classgeos_1_1geom_1_1GeometryFactory_html_a511b46da88d10d150d2fb00297d6aff2"><div class="ttname"><a href="classgeos_1_1geom_1_1GeometryFactory.html#a511b46da88d10d150d2fb00297d6aff2">geos::geom::GeometryFactory::precisionModel</a></div><div class="ttdeci">PrecisionModel precisionModel</div><div class="ttdef"><b>Definition:</b> <a href="GeometryFactory_8h_source.html#l00509">GeometryFactory.h:509</a></div></div>
<div class="ttc" id="classgeos_1_1geom_1_1Geometry_html_a32559974d1d58f5676594e0bef0d970f"><div class="ttname"><a href="classgeos_1_1geom_1_1Geometry.html#a32559974d1d58f5676594e0bef0d970f">geos::geom::Geometry::getSortIndex</a></div><div class="ttdeci">virtual int getSortIndex() const =0</div></div>
<div class="ttc" id="classgeos_1_1geom_1_1Envelope_html"><div class="ttname"><a href="classgeos_1_1geom_1_1Envelope.html">geos::geom::Envelope</a></div><div class="ttdoc">An Envelope defines a rectangulare region of the 2D coordinate plane. </div><div class="ttdef"><b>Definition:</b> <a href="Envelope_8h_source.html#l00058">Envelope.h:58</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="inline_8h_html"><div class="ttname"><a href="inline_8h.html">inline.h</a></div></div>
<div class="ttc" id="classgeos_1_1geom_1_1Coordinate_html"><div class="ttname"><a href="classgeos_1_1geom_1_1Coordinate.html">geos::geom::Coordinate</a></div><div class="ttdoc">Coordinate is the lightweight class used to store coordinates. </div><div class="ttdef"><b>Definition:</b> <a href="Coordinate_8h_source.html#l00060">Coordinate.h:60</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_1geom_1_1MultiPolygon_html"><div class="ttname"><a href="classgeos_1_1geom_1_1MultiPolygon.html">geos::geom::MultiPolygon</a></div><div class="ttdef"><b>Definition:</b> <a href="MultiPolygon_8h_source.html#l00059">MultiPolygon.h:59</a></div></div>
<div class="ttc" id="classgeos_1_1geom_1_1GeometryFactory_html_aabf3cf7b9fe45990b621a8c213aff5d4"><div class="ttname"><a href="classgeos_1_1geom_1_1GeometryFactory.html#aabf3cf7b9fe45990b621a8c213aff5d4">geos::geom::GeometryFactory::createGeometryCollection</a></div><div class="ttdeci">std::unique_ptr&lt; GeometryCollection &gt; createGeometryCollection(std::vector&lt; std::unique_ptr&lt; T &gt;&gt; &amp;&amp;newGeoms) const </div><div class="ttdef"><b>Definition:</b> <a href="GeometryFactory_8h_source.html#l00189">GeometryFactory.h:189</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="MultiPoint_8h_html"><div class="ttname"><a href="MultiPoint_8h.html">MultiPoint.h</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_1geom_1_1Geometry_html_a0011cf7156ff985f7847eb56369d5881"><div class="ttname"><a href="classgeos_1_1geom_1_1Geometry.html#a0011cf7156ff985f7847eb56369d5881">geos::geom::Geometry::toGeometryArray</a></div><div class="ttdeci">static std::vector&lt; std::unique_ptr&lt; Geometry &gt; &gt; toGeometryArray(std::vector&lt; std::unique_ptr&lt; T &gt;&gt; &amp;&amp;v)</div><div class="ttdef"><b>Definition:</b> <a href="Geometry_8h_source.html#l00920">Geometry.h:920</a></div></div>
<div class="ttc" id="classgeos_1_1util_1_1IllegalArgumentException_html"><div class="ttname"><a href="classgeos_1_1util_1_1IllegalArgumentException.html">geos::util::IllegalArgumentException</a></div><div class="ttdoc">Indicates one or more illegal arguments. </div><div class="ttdef"><b>Definition:</b> <a href="IllegalArgumentException_8h_source.html#l00034">IllegalArgumentException.h:34</a></div></div>
<div class="ttc" id="classgeos_1_1geom_1_1LineString_html"><div class="ttname"><a href="classgeos_1_1geom_1_1LineString.html">geos::geom::LineString</a></div><div class="ttdef"><b>Definition:</b> <a href="LineString_8h_source.html#l00068">LineString.h:68</a></div></div>
<div class="ttc" id="classgeos_1_1geom_1_1GeometryFactory_html_a6e9e56714fcfc58e1ad7460d0a3f269a"><div class="ttname"><a href="classgeos_1_1geom_1_1GeometryFactory.html#a6e9e56714fcfc58e1ad7460d0a3f269a">geos::geom::GeometryFactory::_refCount</a></div><div class="ttdeci">int _refCount</div><div class="ttdef"><b>Definition:</b> <a href="GeometryFactory_8h_source.html#l00513">GeometryFactory.h:513</a></div></div>
<div class="ttc" id="MultiLineString_8h_html"><div class="ttname"><a href="MultiLineString_8h.html">MultiLineString.h</a></div></div>
<div class="ttc" id="classgeos_1_1geom_1_1Polygon_html"><div class="ttname"><a href="classgeos_1_1geom_1_1Polygon.html">geos::geom::Polygon</a></div><div class="ttdoc">Represents a linear polygon, which may include holes. </div><div class="ttdef"><b>Definition:</b> <a href="Polygon_8h_source.html#l00064">Polygon.h:64</a></div></div>
<div class="ttc" id="IllegalArgumentException_8h_html"><div class="ttname"><a href="IllegalArgumentException_8h.html">IllegalArgumentException.h</a></div></div>
<div class="ttc" id="classgeos_1_1geom_1_1Dimension_html_af46f1c0c325eb685fcf32987748d04cfa4647a7b91baa6f91d523f9293100789d"><div class="ttname"><a href="classgeos_1_1geom_1_1Dimension.html#af46f1c0c325eb685fcf32987748d04cfa4647a7b91baa6f91d523f9293100789d">geos::geom::Dimension::L</a></div><div class="ttdoc">Dimension value of a curve (1). </div><div class="ttdef"><b>Definition:</b> <a href="Dimension_8h_source.html#l00045">Dimension.h:45</a></div></div>
<div class="ttc" id="classgeos_1_1geom_1_1Dimension_html_af46f1c0c325eb685fcf32987748d04cfa35166f022d8564b72d7cb041c1a8d9a2"><div class="ttname"><a href="classgeos_1_1geom_1_1Dimension.html#af46f1c0c325eb685fcf32987748d04cfa35166f022d8564b72d7cb041c1a8d9a2">geos::geom::Dimension::A</a></div><div class="ttdoc">Dimension value of a surface (2). </div><div class="ttdef"><b>Definition:</b> <a href="Dimension_8h_source.html#l00048">Dimension.h:48</a></div></div>
<div class="ttc" id="util_8h_html"><div class="ttname"><a href="util_8h.html">util.h</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="MultiPolygon_8h_html"><div class="ttname"><a href="MultiPolygon_8h.html">MultiPolygon.h</a></div></div>
<div class="ttc" id="structgeos_1_1geom_1_1GeometryFactory_1_1GeometryFactoryDeleter_html"><div class="ttname"><a href="structgeos_1_1geom_1_1GeometryFactory_1_1GeometryFactoryDeleter.html">geos::geom::GeometryFactory::GeometryFactoryDeleter</a></div><div class="ttdef"><b>Definition:</b> <a href="GeometryFactory_8h_source.html#l00071">GeometryFactory.h:71</a></div></div>
<div class="ttc" id="classgeos_1_1geom_1_1GeometryCollection_html"><div class="ttname"><a href="classgeos_1_1geom_1_1GeometryCollection.html">geos::geom::GeometryCollection</a></div><div class="ttdoc">Represents a collection of heterogeneous Geometry objects. </div><div class="ttdef"><b>Definition:</b> <a href="GeometryCollection_8h_source.html#l00055">GeometryCollection.h:55</a></div></div>
<div class="ttc" id="classgeos_1_1geom_1_1GeometryFactory_html_af3c3d09a806e71d3e6d6e7ff8d8c9e31"><div class="ttname"><a href="classgeos_1_1geom_1_1GeometryFactory.html#af3c3d09a806e71d3e6d6e7ff8d8c9e31">geos::geom::GeometryFactory::destroy</a></div><div class="ttdeci">void destroy()</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_1geom_1_1GeometryFactory_html_ae501e35b67bc2f5675daa1a08a28f352"><div class="ttname"><a href="classgeos_1_1geom_1_1GeometryFactory.html#ae501e35b67bc2f5675daa1a08a28f352">geos::geom::GeometryFactory::SRID</a></div><div class="ttdeci">int SRID</div><div class="ttdef"><b>Definition:</b> <a href="GeometryFactory_8h_source.html#l00510">GeometryFactory.h:510</a></div></div>
<div class="ttc" id="classgeos_1_1geom_1_1MultiPoint_html"><div class="ttname"><a href="classgeos_1_1geom_1_1MultiPoint.html">geos::geom::MultiPoint</a></div><div class="ttdef"><b>Definition:</b> <a href="MultiPoint_8h_source.html#l00054">MultiPoint.h:54</a></div></div>
<div class="ttc" id="classgeos_1_1geom_1_1LinearRing_html"><div class="ttname"><a href="classgeos_1_1geom_1_1LinearRing.html">geos::geom::LinearRing</a></div><div class="ttdoc">Models an OGC SFS LinearRing. A LinearRing is a LineString which is both closed and simple...</div><div class="ttdef"><b>Definition:</b> <a href="LinearRing_8h_source.html#l00054">LinearRing.h:54</a></div></div>
<div class="ttc" id="classgeos_1_1geom_1_1GeometryFactory_html_abeb021befe4db936743d16e3c96416dc"><div class="ttname"><a href="classgeos_1_1geom_1_1GeometryFactory.html#abeb021befe4db936743d16e3c96416dc">geos::geom::GeometryFactory::buildGeometry</a></div><div class="ttdeci">std::unique_ptr&lt; Geometry &gt; buildGeometry(T from, T toofar) const </div><div class="ttdoc">See buildGeometry(std::vector&lt;Geometry *&gt;&amp;) for semantics. </div><div class="ttdef"><b>Definition:</b> <a href="GeometryFactory_8h_source.html#l00362">GeometryFactory.h:362</a></div></div>
<div class="ttc" id="PrecisionModel_8h_html"><div class="ttname"><a href="PrecisionModel_8h.html">PrecisionModel.h</a></div></div>
<div class="ttc" id="classgeos_1_1geom_1_1GeometryFactory_html_a3a80e29db03ace159fc112de6a2c1c9a"><div class="ttname"><a href="classgeos_1_1geom_1_1GeometryFactory.html#a3a80e29db03ace159fc112de6a2c1c9a">geos::geom::GeometryFactory::coordinateListFactory</a></div><div class="ttdeci">const CoordinateSequenceFactory * coordinateListFactory</div><div class="ttdef"><b>Definition:</b> <a href="GeometryFactory_8h_source.html#l00511">GeometryFactory.h:511</a></div></div>
<div class="ttc" id="classgeos_1_1geom_1_1Dimension_html_af46f1c0c325eb685fcf32987748d04cfa8baa9b556734c7439b778dd77175d68a"><div class="ttname"><a href="classgeos_1_1geom_1_1Dimension.html#af46f1c0c325eb685fcf32987748d04cfa8baa9b556734c7439b778dd77175d68a">geos::geom::Dimension::P</a></div><div class="ttdoc">Dimension value of a point (0). </div><div class="ttdef"><b>Definition:</b> <a href="Dimension_8h_source.html#l00042">Dimension.h:42</a></div></div>
<div class="ttc" id="classgeos_1_1geom_1_1CoordinateSequenceFactory_html"><div class="ttname"><a href="classgeos_1_1geom_1_1CoordinateSequenceFactory.html">geos::geom::CoordinateSequenceFactory</a></div><div class="ttdoc">A factory to create concrete instances of CoordinateSequences. </div><div class="ttdef"><b>Definition:</b> <a href="CoordinateSequenceFactory_8h_source.html#l00048">CoordinateSequenceFactory.h:48</a></div></div>
<div class="ttc" id="classgeos_1_1geom_1_1CoordinateSequence_html"><div class="ttname"><a href="classgeos_1_1geom_1_1CoordinateSequence.html">geos::geom::CoordinateSequence</a></div><div class="ttdoc">The internal representation of a list of coordinates inside a Geometry. </div><div class="ttdef"><b>Definition:</b> <a href="CoordinateSequence_8h_source.html#l00058">CoordinateSequence.h:58</a></div></div>
<div class="ttc" id="structgeos_1_1geom_1_1GeometryFactory_1_1GeometryFactoryDeleter_html_a52475277b65585f9462c44a82aa5c9fc"><div class="ttname"><a href="structgeos_1_1geom_1_1GeometryFactory_1_1GeometryFactoryDeleter.html#a52475277b65585f9462c44a82aa5c9fc">geos::geom::GeometryFactory::GeometryFactoryDeleter::operator()</a></div><div class="ttdeci">void operator()(GeometryFactory *p) const </div><div class="ttdef"><b>Definition:</b> <a href="GeometryFactory_8h_source.html#l00073">GeometryFactory.h:73</a></div></div>
<div class="ttc" id="classgeos_1_1geom_1_1Point_html"><div class="ttname"><a href="classgeos_1_1geom_1_1Point.html">geos::geom::Point</a></div><div class="ttdef"><b>Definition:</b> <a href="Point_8h_source.html#l00066">Point.h:66</a></div></div>
<div class="ttc" id="classgeos_1_1geom_1_1GeometryFactory_html_a5b2f9d33a3526ee762eaa7835c2a0203"><div class="ttname"><a href="classgeos_1_1geom_1_1GeometryFactory.html#a5b2f9d33a3526ee762eaa7835c2a0203">geos::geom::GeometryFactory::_autoDestroy</a></div><div class="ttdeci">bool _autoDestroy</div><div class="ttdef"><b>Definition:</b> <a href="GeometryFactory_8h_source.html#l00514">GeometryFactory.h:514</a></div></div>
<div class="ttc" id="classgeos_1_1geom_1_1MultiLineString_html"><div class="ttname"><a href="classgeos_1_1geom_1_1MultiLineString.html">geos::geom::MultiLineString</a></div><div class="ttdoc">Models a collection of LineStrings. </div><div class="ttdef"><b>Definition:</b> <a href="MultiLineString_8h_source.html#l00051">MultiLineString.h:51</a></div></div>
<div class="ttc" id="Geometry_8h_html"><div class="ttname"><a href="Geometry_8h.html">Geometry.h</a></div></div>
<div class="ttc" id="GeometryCollection_8h_html"><div class="ttname"><a href="GeometryCollection_8h.html">GeometryCollection.h</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>