<!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"/> <title>GEOS: geos::geom::GeometryFactory Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.7.1 --> <div class="navigation" id="top"> <div 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 class="current"><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> </ul> </div> <div class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div class="navpath"> <ul> <li><a class="el" href="namespacegeos.html">geos</a> </li> <li><a class="el" href="namespacegeos_1_1geom.html">geom</a> </li> <li><a class="el" href="classgeos_1_1geom_1_1GeometryFactory.html">geos::geom::GeometryFactory</a> </li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="#pub-static-methods">Static Public Member Functions</a> </div> <div class="headertitle"> <h1>geos::geom::GeometryFactory Class Reference</h1> </div> </div> <div class="contents"> <!-- doxytag: class="geos::geom::GeometryFactory" --> <p>Supplies a set of utility methods for building <a class="el" href="classgeos_1_1geom_1_1Geometry.html" title="Basic implementation of Geometry, constructed and destructed by GeometryFactory.">Geometry</a> objects from <a class="el" href="classgeos_1_1geom_1_1CoordinateSequence.html" title="The internal representation of a list of coordinates inside a Geometry.">CoordinateSequence</a> or other <a class="el" href="classgeos_1_1geom_1_1Geometry.html" title="Basic implementation of Geometry, constructed and destructed by GeometryFactory.">Geometry</a> objects. <a href="#_details">More...</a></p> <p><code>#include <<a class="el" href="GeometryFactory_8h_source.html">GeometryFactory.h</a>></code></p> <p><a href="classgeos_1_1geom_1_1GeometryFactory-members.html">List of all members.</a></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae54d45f635e5dd29a857fd2aaaf178fd"></a><!-- doxytag: member="geos::geom::GeometryFactory::GeometryFactory" ref="ae54d45f635e5dd29a857fd2aaaf178fd" args="()" --> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1GeometryFactory.html#ae54d45f635e5dd29a857fd2aaaf178fd">GeometryFactory</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a <a class="el" href="classgeos_1_1geom_1_1GeometryFactory.html" title="Supplies a set of utility methods for building Geometry objects from CoordinateSequence or other Geom...">GeometryFactory</a> that generates Geometries having a floating <a class="el" href="classgeos_1_1geom_1_1PrecisionModel.html" title="Specifies the precision model of the Coordinate in a Geometry.">PrecisionModel</a> and a spatial-reference ID of 0. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1GeometryFactory.html#a8565c546501dca721ab9264575a4f83e">GeometryFactory</a> (const <a class="el" href="classgeos_1_1geom_1_1PrecisionModel.html">PrecisionModel</a> *pm, int newSRID, <a class="el" href="classgeos_1_1geom_1_1CoordinateSequenceFactory.html">CoordinateSequenceFactory</a> *nCoordinateSequenceFactory)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a <a class="el" href="classgeos_1_1geom_1_1GeometryFactory.html" title="Supplies a set of utility methods for building Geometry objects from CoordinateSequence or other Geom...">GeometryFactory</a> that generates Geometries having the given <a class="el" href="classgeos_1_1geom_1_1PrecisionModel.html" title="Specifies the precision model of the Coordinate in a Geometry.">PrecisionModel</a>, spatial-reference ID, and <a class="el" href="classgeos_1_1geom_1_1CoordinateSequence.html" title="The internal representation of a list of coordinates inside a Geometry.">CoordinateSequence</a> implementation. <a href="#a8565c546501dca721ab9264575a4f83e"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5bdbac6cf4eeaefa60d0a4de6d4c1eea"></a><!-- doxytag: member="geos::geom::GeometryFactory::GeometryFactory" ref="a5bdbac6cf4eeaefa60d0a4de6d4c1eea" args="(CoordinateSequenceFactory *nCoordinateSequenceFactory)" --> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1GeometryFactory.html#a5bdbac6cf4eeaefa60d0a4de6d4c1eea">GeometryFactory</a> (<a class="el" href="classgeos_1_1geom_1_1CoordinateSequenceFactory.html">CoordinateSequenceFactory</a> *nCoordinateSequenceFactory)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a <a class="el" href="classgeos_1_1geom_1_1GeometryFactory.html" title="Supplies a set of utility methods for building Geometry objects from CoordinateSequence or other Geom...">GeometryFactory</a> that generates Geometries having the given <a class="el" href="classgeos_1_1geom_1_1CoordinateSequence.html" title="The internal representation of a list of coordinates inside a Geometry.">CoordinateSequence</a> implementation, a double-precision floating <a class="el" href="classgeos_1_1geom_1_1PrecisionModel.html" title="Specifies the precision model of the Coordinate in a Geometry.">PrecisionModel</a> and a spatial-reference ID of 0. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1GeometryFactory.html#a19f7abc98264005c78b31f159d9110b9">GeometryFactory</a> (const <a class="el" href="classgeos_1_1geom_1_1PrecisionModel.html">PrecisionModel</a> *pm)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a <a class="el" href="classgeos_1_1geom_1_1GeometryFactory.html" title="Supplies a set of utility methods for building Geometry objects from CoordinateSequence or other Geom...">GeometryFactory</a> that generates Geometries having the given <a class="el" href="classgeos_1_1geom_1_1PrecisionModel.html" title="Specifies the precision model of the Coordinate in a Geometry.">PrecisionModel</a> and the default <a class="el" href="classgeos_1_1geom_1_1CoordinateSequence.html" title="The internal representation of a list of coordinates inside a Geometry.">CoordinateSequence</a> implementation. <a href="#a19f7abc98264005c78b31f159d9110b9"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1GeometryFactory.html#aadd13606437c470d450c3f7c0701b902">GeometryFactory</a> (const <a class="el" href="classgeos_1_1geom_1_1PrecisionModel.html">PrecisionModel</a> *pm, int newSRID)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a <a class="el" href="classgeos_1_1geom_1_1GeometryFactory.html" title="Supplies a set of utility methods for building Geometry objects from CoordinateSequence or other Geom...">GeometryFactory</a> that generates Geometries having the given <a class="el" href="classgeos_1_1geom_1_1PrecisionModel.html">PrecisionModel</a> and spatial-reference ID, and the default <a class="el" href="classgeos_1_1geom_1_1CoordinateSequence.html" title="The internal representation of a list of coordinates inside a Geometry.">CoordinateSequence</a> implementation. <a href="#aadd13606437c470d450c3f7c0701b902"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1GeometryFactory.html#ae42880066180745d94fbc744ef37292b">GeometryFactory</a> (const <a class="el" href="classgeos_1_1geom_1_1GeometryFactory.html">GeometryFactory</a> &gf)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Copy constructor. <a href="#ae42880066180745d94fbc744ef37292b"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aadf23fd2586a8a8a0dcb0bc7558b4f19"></a><!-- doxytag: member="geos::geom::GeometryFactory::~GeometryFactory" ref="aadf23fd2586a8a8a0dcb0bc7558b4f19" args="()" --> virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1GeometryFactory.html#aadf23fd2586a8a8a0dcb0bc7558b4f19">~GeometryFactory</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a36a9cc18df8a409aa3dfde2a8b0161b5"></a><!-- doxytag: member="geos::geom::GeometryFactory::createPointFromInternalCoord" ref="a36a9cc18df8a409aa3dfde2a8b0161b5" args="(const Coordinate *coord, const Geometry *exemplar) const " --> <a class="el" href="classgeos_1_1geom_1_1Point.html">Point</a> * </td><td class="memItemRight" valign="bottom"><b>createPointFromInternalCoord</b> (const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">Coordinate</a> *coord, const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a> *exemplar) const </td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1GeometryFactory.html#ae696b4fddb76932c7d711a8bfbb51b0b">toGeometry</a> (const <a class="el" href="classgeos_1_1geom_1_1Envelope.html">Envelope</a> *envelope) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Converts an <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane.">Envelope</a> to a <a class="el" href="classgeos_1_1geom_1_1Geometry.html" title="Basic implementation of Geometry, constructed and destructed by GeometryFactory.">Geometry</a>. <a href="#ae696b4fddb76932c7d711a8bfbb51b0b"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aab695b73786b060725e1770b9279c24b"></a><!-- doxytag: member="geos::geom::GeometryFactory::getPrecisionModel" ref="aab695b73786b060725e1770b9279c24b" args="() const " --> const <a class="el" href="classgeos_1_1geom_1_1PrecisionModel.html">PrecisionModel</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1GeometryFactory.html#aab695b73786b060725e1770b9279c24b">getPrecisionModel</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the <a class="el" href="classgeos_1_1geom_1_1PrecisionModel.html" title="Specifies the precision model of the Coordinate in a Geometry.">PrecisionModel</a> that Geometries created by this factory will be associated with. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a12265dacd4abdea64d423f66c3e498ee"></a><!-- doxytag: member="geos::geom::GeometryFactory::createPoint" ref="a12265dacd4abdea64d423f66c3e498ee" args="() const " --> <a class="el" href="classgeos_1_1geom_1_1Point.html">Point</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1GeometryFactory.html#a12265dacd4abdea64d423f66c3e498ee">createPoint</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Creates an EMPTY <a class="el" href="classgeos_1_1geom_1_1Point.html" title="Basic implementation of Point.">Point</a>. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aea1f823b9e8029f63f9787b651dc0d07"></a><!-- doxytag: member="geos::geom::GeometryFactory::createPoint" ref="aea1f823b9e8029f63f9787b651dc0d07" args="(const Coordinate &coordinate) const " --> <a class="el" href="classgeos_1_1geom_1_1Point.html">Point</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1GeometryFactory.html#aea1f823b9e8029f63f9787b651dc0d07">createPoint</a> (const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">Coordinate</a> &coordinate) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Creates a <a class="el" href="classgeos_1_1geom_1_1Point.html" title="Basic implementation of Point.">Point</a> using the given <a class="el" href="classgeos_1_1geom_1_1Coordinate.html" title="Coordinate is the lightweight class used to store coordinates.">Coordinate</a>. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a00af50d3fddd3abd35957527d28937d7"></a><!-- doxytag: member="geos::geom::GeometryFactory::createPoint" ref="a00af50d3fddd3abd35957527d28937d7" args="(CoordinateSequence *coordinates) const " --> <a class="el" href="classgeos_1_1geom_1_1Point.html">Point</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1GeometryFactory.html#a00af50d3fddd3abd35957527d28937d7">createPoint</a> (<a class="el" href="classgeos_1_1geom_1_1CoordinateSequence.html">CoordinateSequence</a> *coordinates) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Creates a <a class="el" href="classgeos_1_1geom_1_1Point.html" title="Basic implementation of Point.">Point</a> taking ownership of the given <a class="el" href="classgeos_1_1geom_1_1CoordinateSequence.html" title="The internal representation of a list of coordinates inside a Geometry.">CoordinateSequence</a>. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad704ada938a97a50da4b0b0d748185b4"></a><!-- doxytag: member="geos::geom::GeometryFactory::createPoint" ref="ad704ada938a97a50da4b0b0d748185b4" args="(const CoordinateSequence &coordinates) const " --> <a class="el" href="classgeos_1_1geom_1_1Point.html">Point</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1GeometryFactory.html#ad704ada938a97a50da4b0b0d748185b4">createPoint</a> (const <a class="el" href="classgeos_1_1geom_1_1CoordinateSequence.html">CoordinateSequence</a> &coordinates) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Creates a <a class="el" href="classgeos_1_1geom_1_1Point.html" title="Basic implementation of Point.">Point</a> with a deep-copy of the given <a class="el" href="classgeos_1_1geom_1_1CoordinateSequence.html" title="The internal representation of a list of coordinates inside a Geometry.">CoordinateSequence</a>. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa5de2f55865b2b9236076beb054ea31f"></a><!-- doxytag: member="geos::geom::GeometryFactory::createGeometryCollection" ref="aa5de2f55865b2b9236076beb054ea31f" args="() const " --> <a class="el" href="classgeos_1_1geom_1_1GeometryCollection.html">GeometryCollection</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1GeometryFactory.html#aa5de2f55865b2b9236076beb054ea31f">createGeometryCollection</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Construct an EMPTY <a class="el" href="classgeos_1_1geom_1_1GeometryCollection.html" title="Represents a collection of heterogeneous Geometry objects.">GeometryCollection</a>. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a76d5810a33f982fb9079e68444c8160e"></a><!-- doxytag: member="geos::geom::GeometryFactory::createEmptyGeometry" ref="a76d5810a33f982fb9079e68444c8160e" args="() const " --> <a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1GeometryFactory.html#a76d5810a33f982fb9079e68444c8160e">createEmptyGeometry</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Construct the EMPTY <a class="el" href="classgeos_1_1geom_1_1Geometry.html" title="Basic implementation of Geometry, constructed and destructed by GeometryFactory.">Geometry</a>. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af872b4dfd44931b3739c0a64906b052b"></a><!-- doxytag: member="geos::geom::GeometryFactory::createGeometryCollection" ref="af872b4dfd44931b3739c0a64906b052b" args="(std::vector< Geometry * > *newGeoms) const " --> <a class="el" href="classgeos_1_1geom_1_1GeometryCollection.html">GeometryCollection</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1GeometryFactory.html#af872b4dfd44931b3739c0a64906b052b">createGeometryCollection</a> (std::vector< <a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a> * > *newGeoms) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Construct a <a class="el" href="classgeos_1_1geom_1_1GeometryCollection.html" title="Represents a collection of heterogeneous Geometry objects.">GeometryCollection</a> taking ownership of given arguments. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa1d58950c2205e8281735a95e03b2b4d"></a><!-- doxytag: member="geos::geom::GeometryFactory::createGeometryCollection" ref="aa1d58950c2205e8281735a95e03b2b4d" args="(const std::vector< Geometry * > &newGeoms) const " --> <a class="el" href="classgeos_1_1geom_1_1GeometryCollection.html">GeometryCollection</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1GeometryFactory.html#aa1d58950c2205e8281735a95e03b2b4d">createGeometryCollection</a> (const std::vector< <a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a> * > &newGeoms) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a <a class="el" href="classgeos_1_1geom_1_1GeometryCollection.html" title="Represents a collection of heterogeneous Geometry objects.">GeometryCollection</a> with a deep-copy of args. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acdd5a40518aa1f7b8b9ad1ab58a87538"></a><!-- doxytag: member="geos::geom::GeometryFactory::createMultiLineString" ref="acdd5a40518aa1f7b8b9ad1ab58a87538" args="() const " --> <a class="el" href="classgeos_1_1geom_1_1MultiLineString.html">MultiLineString</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1GeometryFactory.html#acdd5a40518aa1f7b8b9ad1ab58a87538">createMultiLineString</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Construct an EMPTY <a class="el" href="classgeos_1_1geom_1_1MultiLineString.html" title="Basic implementation of MultiLineString objects.">MultiLineString</a>. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afaba5e4c72e4e01dbde03b80dce8da64"></a><!-- doxytag: member="geos::geom::GeometryFactory::createMultiLineString" ref="afaba5e4c72e4e01dbde03b80dce8da64" args="(std::vector< Geometry * > *newLines) const " --> <a class="el" href="classgeos_1_1geom_1_1MultiLineString.html">MultiLineString</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1GeometryFactory.html#afaba5e4c72e4e01dbde03b80dce8da64">createMultiLineString</a> (std::vector< <a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a> * > *newLines) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Construct a <a class="el" href="classgeos_1_1geom_1_1MultiLineString.html" title="Basic implementation of MultiLineString objects.">MultiLineString</a> taking ownership of given arguments. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a33963df023353a65d6621dfec6e0bae5"></a><!-- doxytag: member="geos::geom::GeometryFactory::createMultiLineString" ref="a33963df023353a65d6621dfec6e0bae5" args="(const std::vector< Geometry * > &fromLines) const " --> <a class="el" href="classgeos_1_1geom_1_1MultiLineString.html">MultiLineString</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1GeometryFactory.html#a33963df023353a65d6621dfec6e0bae5">createMultiLineString</a> (const std::vector< <a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a> * > &fromLines) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Construct a <a class="el" href="classgeos_1_1geom_1_1MultiLineString.html" title="Basic implementation of MultiLineString objects.">MultiLineString</a> with a deep-copy of given arguments. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aeae0b8f97dab167f80d3c098fef58d32"></a><!-- doxytag: member="geos::geom::GeometryFactory::createMultiPolygon" ref="aeae0b8f97dab167f80d3c098fef58d32" args="() const " --> <a class="el" href="classgeos_1_1geom_1_1MultiPolygon.html">MultiPolygon</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1GeometryFactory.html#aeae0b8f97dab167f80d3c098fef58d32">createMultiPolygon</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Construct an EMPTY <a class="el" href="classgeos_1_1geom_1_1MultiPolygon.html" title="Basic implementation of MultiPolygon.">MultiPolygon</a>. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3207c6b8cd9dd7937c5e214868fbc6f4"></a><!-- doxytag: member="geos::geom::GeometryFactory::createMultiPolygon" ref="a3207c6b8cd9dd7937c5e214868fbc6f4" args="(std::vector< Geometry * > *newPolys) const " --> <a class="el" href="classgeos_1_1geom_1_1MultiPolygon.html">MultiPolygon</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1GeometryFactory.html#a3207c6b8cd9dd7937c5e214868fbc6f4">createMultiPolygon</a> (std::vector< <a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a> * > *newPolys) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Construct a <a class="el" href="classgeos_1_1geom_1_1MultiPolygon.html" title="Basic implementation of MultiPolygon.">MultiPolygon</a> taking ownership of given arguments. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af4fba5624ebbc12da37126f2814d6153"></a><!-- doxytag: member="geos::geom::GeometryFactory::createMultiPolygon" ref="af4fba5624ebbc12da37126f2814d6153" args="(const std::vector< Geometry * > &fromPolys) const " --> <a class="el" href="classgeos_1_1geom_1_1MultiPolygon.html">MultiPolygon</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1GeometryFactory.html#af4fba5624ebbc12da37126f2814d6153">createMultiPolygon</a> (const std::vector< <a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a> * > &fromPolys) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Construct a <a class="el" href="classgeos_1_1geom_1_1MultiPolygon.html" title="Basic implementation of MultiPolygon.">MultiPolygon</a> with a deep-copy of given arguments. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a18725c28ecc8313d3241854a33a3bb09"></a><!-- doxytag: member="geos::geom::GeometryFactory::createLinearRing" ref="a18725c28ecc8313d3241854a33a3bb09" args="() const " --> <a class="el" href="classgeos_1_1geom_1_1LinearRing.html">LinearRing</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1GeometryFactory.html#a18725c28ecc8313d3241854a33a3bb09">createLinearRing</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Construct an EMPTY <a class="el" href="classgeos_1_1geom_1_1LinearRing.html" title="Models an OGC SFS LinearRing.">LinearRing</a>. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a60c53a075edf08960907e36275392790"></a><!-- doxytag: member="geos::geom::GeometryFactory::createLinearRing" ref="a60c53a075edf08960907e36275392790" args="(CoordinateSequence *newCoords) const " --> <a class="el" href="classgeos_1_1geom_1_1LinearRing.html">LinearRing</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1GeometryFactory.html#a60c53a075edf08960907e36275392790">createLinearRing</a> (<a class="el" href="classgeos_1_1geom_1_1CoordinateSequence.html">CoordinateSequence</a> *newCoords) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Construct a <a class="el" href="classgeos_1_1geom_1_1LinearRing.html" title="Models an OGC SFS LinearRing.">LinearRing</a> taking ownership of given arguments. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acfa470ef4ad7f80c1f767edf27f524dd"></a><!-- doxytag: member="geos::geom::GeometryFactory::createLinearRing" ref="acfa470ef4ad7f80c1f767edf27f524dd" args="(std::auto_ptr< CoordinateSequence > newCoords) const " --> std::auto_ptr< <a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a> > </td><td class="memItemRight" valign="bottom"><b>createLinearRing</b> (std::auto_ptr< <a class="el" href="classgeos_1_1geom_1_1CoordinateSequence.html">CoordinateSequence</a> > newCoords) const </td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7e9065f41c3bb97375ff9446e759a844"></a><!-- doxytag: member="geos::geom::GeometryFactory::createLinearRing" ref="a7e9065f41c3bb97375ff9446e759a844" args="(const CoordinateSequence &coordinates) const " --> <a class="el" href="classgeos_1_1geom_1_1LinearRing.html">LinearRing</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1GeometryFactory.html#a7e9065f41c3bb97375ff9446e759a844">createLinearRing</a> (const <a class="el" href="classgeos_1_1geom_1_1CoordinateSequence.html">CoordinateSequence</a> &coordinates) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Construct a <a class="el" href="classgeos_1_1geom_1_1LinearRing.html" title="Models an OGC SFS LinearRing.">LinearRing</a> with a deep-copy of given arguments. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a20c58c44cce71806d44a014de33d40dd"></a><!-- doxytag: member="geos::geom::GeometryFactory::createMultiPoint" ref="a20c58c44cce71806d44a014de33d40dd" args="() const " --> <a class="el" href="classgeos_1_1geom_1_1MultiPoint.html">MultiPoint</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1GeometryFactory.html#a20c58c44cce71806d44a014de33d40dd">createMultiPoint</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs an EMPTY <code><a class="el" href="classgeos_1_1geom_1_1MultiPoint.html" title="Models a collection of Point objects.">MultiPoint</a></code>. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9fbf0200ac7e81d9bf381ae340645cbb"></a><!-- doxytag: member="geos::geom::GeometryFactory::createMultiPoint" ref="a9fbf0200ac7e81d9bf381ae340645cbb" args="(std::vector< Geometry * > *newPoints) const " --> <a class="el" href="classgeos_1_1geom_1_1MultiPoint.html">MultiPoint</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1GeometryFactory.html#a9fbf0200ac7e81d9bf381ae340645cbb">createMultiPoint</a> (std::vector< <a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a> * > *newPoints) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Construct a <a class="el" href="classgeos_1_1geom_1_1MultiPoint.html" title="Models a collection of Point objects.">MultiPoint</a> taking ownership of given arguments. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abda2119425fd491474137f10567906f2"></a><!-- doxytag: member="geos::geom::GeometryFactory::createMultiPoint" ref="abda2119425fd491474137f10567906f2" args="(const std::vector< Geometry * > &fromPoints) const " --> <a class="el" href="classgeos_1_1geom_1_1MultiPoint.html">MultiPoint</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1GeometryFactory.html#abda2119425fd491474137f10567906f2">createMultiPoint</a> (const std::vector< <a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a> * > &fromPoints) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Construct a <a class="el" href="classgeos_1_1geom_1_1MultiPoint.html" title="Models a collection of Point objects.">MultiPoint</a> with a deep-copy of given arguments. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a07e62a161889c0394aeebfcee4723060"></a><!-- doxytag: member="geos::geom::GeometryFactory::createMultiPoint" ref="a07e62a161889c0394aeebfcee4723060" args="(const CoordinateSequence &fromCoords) const " --> <a class="el" href="classgeos_1_1geom_1_1MultiPoint.html">MultiPoint</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1GeometryFactory.html#a07e62a161889c0394aeebfcee4723060">createMultiPoint</a> (const <a class="el" href="classgeos_1_1geom_1_1CoordinateSequence.html">CoordinateSequence</a> &fromCoords) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Construct a <a class="el" href="classgeos_1_1geom_1_1MultiPoint.html" title="Models a collection of Point objects.">MultiPoint</a> containing a <a class="el" href="classgeos_1_1geom_1_1Point.html" title="Basic implementation of Point.">Point</a> geometry for each <a class="el" href="classgeos_1_1geom_1_1Coordinate.html" title="Coordinate is the lightweight class used to store coordinates.">Coordinate</a> in the given list. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a096511680241146d77fd816e88744381"></a><!-- doxytag: member="geos::geom::GeometryFactory::createPolygon" ref="a096511680241146d77fd816e88744381" args="() const " --> <a class="el" href="classgeos_1_1geom_1_1Polygon.html">Polygon</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1GeometryFactory.html#a096511680241146d77fd816e88744381">createPolygon</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Construct an EMPTY <a class="el" href="classgeos_1_1geom_1_1Polygon.html" title="Represents a linear polygon, which may include holes.">Polygon</a>. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9057fce375090cdb60e0cc5d2828e248"></a><!-- doxytag: member="geos::geom::GeometryFactory::createPolygon" ref="a9057fce375090cdb60e0cc5d2828e248" args="(LinearRing *shell, std::vector< Geometry * > *holes) const " --> <a class="el" href="classgeos_1_1geom_1_1Polygon.html">Polygon</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1GeometryFactory.html#a9057fce375090cdb60e0cc5d2828e248">createPolygon</a> (<a class="el" href="classgeos_1_1geom_1_1LinearRing.html">LinearRing</a> *shell, std::vector< <a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a> * > *holes) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Construct a <a class="el" href="classgeos_1_1geom_1_1Polygon.html" title="Represents a linear polygon, which may include holes.">Polygon</a> taking ownership of given arguments. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a32d09220de1c93aa7cb06405715a4c99"></a><!-- doxytag: member="geos::geom::GeometryFactory::createPolygon" ref="a32d09220de1c93aa7cb06405715a4c99" args="(const LinearRing &shell, const std::vector< Geometry * > &holes) const " --> <a class="el" href="classgeos_1_1geom_1_1Polygon.html">Polygon</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1GeometryFactory.html#a32d09220de1c93aa7cb06405715a4c99">createPolygon</a> (const <a class="el" href="classgeos_1_1geom_1_1LinearRing.html">LinearRing</a> &shell, const std::vector< <a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a> * > &holes) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Construct a <a class="el" href="classgeos_1_1geom_1_1Polygon.html" title="Represents a linear polygon, which may include holes.">Polygon</a> with a deep-copy of given arguments. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9e0e91ca8b446cac61d883c0d55fe5b3"></a><!-- doxytag: member="geos::geom::GeometryFactory::createLineString" ref="a9e0e91ca8b446cac61d883c0d55fe5b3" args="() const " --> <a class="el" href="classgeos_1_1geom_1_1LineString.html">LineString</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1GeometryFactory.html#a9e0e91ca8b446cac61d883c0d55fe5b3">createLineString</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Construct an EMPTY <a class="el" href="classgeos_1_1geom_1_1LineString.html" title="Basic implementation of LineString.">LineString</a>. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6f2d4cd3cb99041e8dbfc97c618b9049"></a><!-- doxytag: member="geos::geom::GeometryFactory::createLineString" ref="a6f2d4cd3cb99041e8dbfc97c618b9049" args="(const LineString &ls) const " --> std::auto_ptr< <a class="el" href="classgeos_1_1geom_1_1LineString.html">LineString</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1GeometryFactory.html#a6f2d4cd3cb99041e8dbfc97c618b9049">createLineString</a> (const <a class="el" href="classgeos_1_1geom_1_1LineString.html">LineString</a> &ls) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Copy a <a class="el" href="classgeos_1_1geom_1_1LineString.html" title="Basic implementation of LineString.">LineString</a>. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac7b7b71ae887177e2740a3d2eaf1a8b7"></a><!-- doxytag: member="geos::geom::GeometryFactory::createLineString" ref="ac7b7b71ae887177e2740a3d2eaf1a8b7" args="(CoordinateSequence *coordinates) const " --> <a class="el" href="classgeos_1_1geom_1_1LineString.html">LineString</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1GeometryFactory.html#ac7b7b71ae887177e2740a3d2eaf1a8b7">createLineString</a> (<a class="el" href="classgeos_1_1geom_1_1CoordinateSequence.html">CoordinateSequence</a> *coordinates) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Construct a <a class="el" href="classgeos_1_1geom_1_1LineString.html" title="Basic implementation of LineString.">LineString</a> taking ownership of given argument. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae97a0796460e7fb20facfe143274dd33"></a><!-- doxytag: member="geos::geom::GeometryFactory::createLineString" ref="ae97a0796460e7fb20facfe143274dd33" args="(std::auto_ptr< CoordinateSequence > coordinates) const " --> std::auto_ptr< <a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a> > </td><td class="memItemRight" valign="bottom"><b>createLineString</b> (std::auto_ptr< <a class="el" href="classgeos_1_1geom_1_1CoordinateSequence.html">CoordinateSequence</a> > coordinates) const </td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a743518c792bced14e858b65c2f9d3294"></a><!-- doxytag: member="geos::geom::GeometryFactory::createLineString" ref="a743518c792bced14e858b65c2f9d3294" args="(const CoordinateSequence &coordinates) const " --> <a class="el" href="classgeos_1_1geom_1_1LineString.html">LineString</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1GeometryFactory.html#a743518c792bced14e858b65c2f9d3294">createLineString</a> (const <a class="el" href="classgeos_1_1geom_1_1CoordinateSequence.html">CoordinateSequence</a> &coordinates) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Construct a <a class="el" href="classgeos_1_1geom_1_1LineString.html" title="Basic implementation of LineString.">LineString</a> with a deep-copy of given argument. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1GeometryFactory.html#afb0900faa69e2eb9eb18ed875d91e54b">buildGeometry</a> (std::vector< <a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a> * > *geoms) const </td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1GeometryFactory.html#a98bf689b4a2574eea0955b05e40abb1d">buildGeometry</a> (const std::vector< <a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a> * > &geoms) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">This function does the same thing of the omonimouse function taking vector pointer instead of reference. <a href="#a98bf689b4a2574eea0955b05e40abb1d"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a12650a949d41fc4ef57a74ec1be43657"></a><!-- doxytag: member="geos::geom::GeometryFactory::getSRID" ref="a12650a949d41fc4ef57a74ec1be43657" args="() const " --> int </td><td class="memItemRight" valign="bottom"><b>getSRID</b> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3d2f361227e3d04669566f3081c2a754"></a><!-- doxytag: member="geos::geom::GeometryFactory::getCoordinateSequenceFactory" ref="a3d2f361227e3d04669566f3081c2a754" args="() const " --> const <a class="el" href="classgeos_1_1geom_1_1CoordinateSequenceFactory.html">CoordinateSequenceFactory</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1GeometryFactory.html#a3d2f361227e3d04669566f3081c2a754">getCoordinateSequenceFactory</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the <a class="el" href="classgeos_1_1geom_1_1CoordinateSequenceFactory.html" title="A factory to create concrete instances of CoordinateSequences.">CoordinateSequenceFactory</a> associated with this <a class="el" href="classgeos_1_1geom_1_1GeometryFactory.html" title="Supplies a set of utility methods for building Geometry objects from CoordinateSequence or other Geom...">GeometryFactory</a>. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2c0e9f5d5002ec33ea0e52fd0e811cb0"></a><!-- doxytag: member="geos::geom::GeometryFactory::createGeometry" ref="a2c0e9f5d5002ec33ea0e52fd0e811cb0" args="(const Geometry *g) const " --> <a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1GeometryFactory.html#a2c0e9f5d5002ec33ea0e52fd0e811cb0">createGeometry</a> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a> *g) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns a clone of given <a class="el" href="classgeos_1_1geom_1_1Geometry.html" title="Basic implementation of Geometry, constructed and destructed by GeometryFactory.">Geometry</a>. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7fe6bc4a46b5a562ae3d0bf839b386be"></a><!-- doxytag: member="geos::geom::GeometryFactory::destroyGeometry" ref="a7fe6bc4a46b5a562ae3d0bf839b386be" args="(Geometry *g) const " --> void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1GeometryFactory.html#a7fe6bc4a46b5a562ae3d0bf839b386be">destroyGeometry</a> (<a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a> *g) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Destroy a <a class="el" href="classgeos_1_1geom_1_1Geometry.html" title="Basic implementation of Geometry, constructed and destructed by GeometryFactory.">Geometry</a>, or release it. <br/></td></tr> <tr><td colspan="2"><h2><a name="pub-static-methods"></a> Static Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6d8ad437af25556f652f9e735a676743"></a><!-- doxytag: member="geos::geom::GeometryFactory::getDefaultInstance" ref="a6d8ad437af25556f652f9e735a676743" args="()" --> static const <a class="el" href="classgeos_1_1geom_1_1GeometryFactory.html">GeometryFactory</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1GeometryFactory.html#a6d8ad437af25556f652f9e735a676743">getDefaultInstance</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Return a pointer to the default <a class="el" href="classgeos_1_1geom_1_1GeometryFactory.html" title="Supplies a set of utility methods for building Geometry objects from CoordinateSequence or other Geom...">GeometryFactory</a>. This is a global shared object instantiated using default constructor. <br/></td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>Supplies a set of utility methods for building <a class="el" href="classgeos_1_1geom_1_1Geometry.html" title="Basic implementation of Geometry, constructed and destructed by GeometryFactory.">Geometry</a> objects from <a class="el" href="classgeos_1_1geom_1_1CoordinateSequence.html" title="The internal representation of a list of coordinates inside a Geometry.">CoordinateSequence</a> or other <a class="el" href="classgeos_1_1geom_1_1Geometry.html" title="Basic implementation of Geometry, constructed and destructed by GeometryFactory.">Geometry</a> objects. </p> <p>Note that the factory constructor methods do <b>not</b> change the input coordinates in any way. In particular, they are not rounded to the supplied <code><a class="el" href="classgeos_1_1geom_1_1PrecisionModel.html" title="Specifies the precision model of the Coordinate in a Geometry.">PrecisionModel</a></code>. It is assumed that input Coordinates meet the given precision. </p> <hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="a8565c546501dca721ab9264575a4f83e"></a><!-- doxytag: member="geos::geom::GeometryFactory::GeometryFactory" ref="a8565c546501dca721ab9264575a4f83e" args="(const PrecisionModel *pm, int newSRID, CoordinateSequenceFactory *nCoordinateSequenceFactory)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">geos::geom::GeometryFactory::GeometryFactory </td> <td>(</td> <td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1PrecisionModel.html">PrecisionModel</a> * </td> <td class="paramname"> <em>pm</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"> <em>newSRID</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classgeos_1_1geom_1_1CoordinateSequenceFactory.html">CoordinateSequenceFactory</a> * </td> <td class="paramname"> <em>nCoordinateSequenceFactory</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Constructs a <a class="el" href="classgeos_1_1geom_1_1GeometryFactory.html" title="Supplies a set of utility methods for building Geometry objects from CoordinateSequence or other Geom...">GeometryFactory</a> that generates Geometries having the given <a class="el" href="classgeos_1_1geom_1_1PrecisionModel.html" title="Specifies the precision model of the Coordinate in a Geometry.">PrecisionModel</a>, spatial-reference ID, and <a class="el" href="classgeos_1_1geom_1_1CoordinateSequence.html" title="The internal representation of a list of coordinates inside a Geometry.">CoordinateSequence</a> implementation. </p> <p>NOTES: (1) the given <a class="el" href="classgeos_1_1geom_1_1PrecisionModel.html" title="Specifies the precision model of the Coordinate in a Geometry.">PrecisionModel</a> is COPIED (2) the <a class="el" href="classgeos_1_1geom_1_1CoordinateSequenceFactory.html" title="A factory to create concrete instances of CoordinateSequences.">CoordinateSequenceFactory</a> is NOT COPIED and must be available for the whole lifetime of the <a class="el" href="classgeos_1_1geom_1_1GeometryFactory.html" title="Supplies a set of utility methods for building Geometry objects from CoordinateSequence or other Geom...">GeometryFactory</a> </p> </div> </div> <a class="anchor" id="a19f7abc98264005c78b31f159d9110b9"></a><!-- doxytag: member="geos::geom::GeometryFactory::GeometryFactory" ref="a19f7abc98264005c78b31f159d9110b9" args="(const PrecisionModel *pm)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">geos::geom::GeometryFactory::GeometryFactory </td> <td>(</td> <td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1PrecisionModel.html">PrecisionModel</a> * </td> <td class="paramname"> <em>pm</em></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Constructs a <a class="el" href="classgeos_1_1geom_1_1GeometryFactory.html" title="Supplies a set of utility methods for building Geometry objects from CoordinateSequence or other Geom...">GeometryFactory</a> that generates Geometries having the given <a class="el" href="classgeos_1_1geom_1_1PrecisionModel.html" title="Specifies the precision model of the Coordinate in a Geometry.">PrecisionModel</a> and the default <a class="el" href="classgeos_1_1geom_1_1CoordinateSequence.html" title="The internal representation of a list of coordinates inside a Geometry.">CoordinateSequence</a> implementation. </p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>pm</em> </td><td>the <a class="el" href="classgeos_1_1geom_1_1PrecisionModel.html" title="Specifies the precision model of the Coordinate in a Geometry.">PrecisionModel</a> to use </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="aadd13606437c470d450c3f7c0701b902"></a><!-- doxytag: member="geos::geom::GeometryFactory::GeometryFactory" ref="aadd13606437c470d450c3f7c0701b902" args="(const PrecisionModel *pm, int newSRID)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">geos::geom::GeometryFactory::GeometryFactory </td> <td>(</td> <td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1PrecisionModel.html">PrecisionModel</a> * </td> <td class="paramname"> <em>pm</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"> <em>newSRID</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Constructs a <a class="el" href="classgeos_1_1geom_1_1GeometryFactory.html" title="Supplies a set of utility methods for building Geometry objects from CoordinateSequence or other Geom...">GeometryFactory</a> that generates Geometries having the given <a class="el" href="classgeos_1_1geom_1_1PrecisionModel.html">PrecisionModel</a> and spatial-reference ID, and the default <a class="el" href="classgeos_1_1geom_1_1CoordinateSequence.html" title="The internal representation of a list of coordinates inside a Geometry.">CoordinateSequence</a> implementation. </p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>pm</em> </td><td>the <a class="el" href="classgeos_1_1geom_1_1PrecisionModel.html" title="Specifies the precision model of the Coordinate in a Geometry.">PrecisionModel</a> to use </td></tr> <tr><td valign="top"></td><td valign="top"><em>newSRID</em> </td><td>the SRID to use </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="ae42880066180745d94fbc744ef37292b"></a><!-- doxytag: member="geos::geom::GeometryFactory::GeometryFactory" ref="ae42880066180745d94fbc744ef37292b" args="(const GeometryFactory &gf)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">geos::geom::GeometryFactory::GeometryFactory </td> <td>(</td> <td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1GeometryFactory.html">GeometryFactory</a> & </td> <td class="paramname"> <em>gf</em></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Copy constructor. </p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>gf</em> </td><td>the <a class="el" href="classgeos_1_1geom_1_1GeometryFactory.html" title="Supplies a set of utility methods for building Geometry objects from CoordinateSequence or other Geom...">GeometryFactory</a> to clone from </td></tr> </table> </dd> </dl> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="afb0900faa69e2eb9eb18ed875d91e54b"></a><!-- doxytag: member="geos::geom::GeometryFactory::buildGeometry" ref="afb0900faa69e2eb9eb18ed875d91e54b" args="(std::vector< Geometry * > *geoms) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a>* geos::geom::GeometryFactory::buildGeometry </td> <td>(</td> <td class="paramtype">std::vector< <a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a> * > * </td> <td class="paramname"> <em>geoms</em></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Build an appropriate <code><a class="el" href="classgeos_1_1geom_1_1Geometry.html" title="Basic implementation of Geometry, constructed and destructed by GeometryFactory.">Geometry</a></code>, <code>MultiGeometry</code>, or <code><a class="el" href="classgeos_1_1geom_1_1GeometryCollection.html" title="Represents a collection of heterogeneous Geometry objects.">GeometryCollection</a></code> to contain the <code><a class="el" href="classgeos_1_1geom_1_1Geometry.html" title="Basic implementation of Geometry, constructed and destructed by GeometryFactory.">Geometry</a></code>s in it.</p> <p>For example:</p> <ul> <li>If <code>geomList</code> contains a single <code><a class="el" href="classgeos_1_1geom_1_1Polygon.html" title="Represents a linear polygon, which may include holes.">Polygon</a></code>, the <code><a class="el" href="classgeos_1_1geom_1_1Polygon.html" title="Represents a linear polygon, which may include holes.">Polygon</a></code> is returned.</li> <li>If <code>geomList</code> contains several <code><a class="el" href="classgeos_1_1geom_1_1Polygon.html" title="Represents a linear polygon, which may include holes.">Polygon</a></code>s, a <code><a class="el" href="classgeos_1_1geom_1_1MultiPolygon.html" title="Basic implementation of MultiPolygon.">MultiPolygon</a></code> is returned.</li> <li>If <code>geomList</code> contains some <code><a class="el" href="classgeos_1_1geom_1_1Polygon.html" title="Represents a linear polygon, which may include holes.">Polygon</a></code>s and some <code><a class="el" href="classgeos_1_1geom_1_1LineString.html" title="Basic implementation of LineString.">LineString</a></code>s, a <code><a class="el" href="classgeos_1_1geom_1_1GeometryCollection.html" title="Represents a collection of heterogeneous Geometry objects.">GeometryCollection</a></code> is returned.</li> <li>If <code>geomList</code> is empty, an empty <code><a class="el" href="classgeos_1_1geom_1_1GeometryCollection.html" title="Represents a collection of heterogeneous Geometry objects.">GeometryCollection</a></code> is returned</li> </ul> <p>Note that this method does not "flatten" Geometries in the input, and hence if any MultiGeometries are contained in the input a <a class="el" href="classgeos_1_1geom_1_1GeometryCollection.html" title="Represents a collection of heterogeneous Geometry objects.">GeometryCollection</a> containing them will be returned.</p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>newGeoms</em> </td><td>the <code><a class="el" href="classgeos_1_1geom_1_1Geometry.html" title="Basic implementation of Geometry, constructed and destructed by GeometryFactory.">Geometry</a></code>s to combine</td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>A <code><a class="el" href="classgeos_1_1geom_1_1Geometry.html" title="Basic implementation of Geometry, constructed and destructed by GeometryFactory.">Geometry</a></code> of the "smallest", "most type-specific" class that can contain the elements of <code>geomList</code>.</dd></dl> <p>NOTE: the returned <a class="el" href="classgeos_1_1geom_1_1Geometry.html" title="Basic implementation of Geometry, constructed and destructed by GeometryFactory.">Geometry</a> will take ownership of the given vector AND its elements </p> </div> </div> <a class="anchor" id="a98bf689b4a2574eea0955b05e40abb1d"></a><!-- doxytag: member="geos::geom::GeometryFactory::buildGeometry" ref="a98bf689b4a2574eea0955b05e40abb1d" args="(const std::vector< Geometry * > &geoms) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a>* geos::geom::GeometryFactory::buildGeometry </td> <td>(</td> <td class="paramtype">const std::vector< <a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a> * > & </td> <td class="paramname"> <em>geoms</em></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>This function does the same thing of the omonimouse function taking vector pointer instead of reference. </p> <p>The difference is that this version will copy needed data leaving ownership to the caller. </p> </div> </div> <a class="anchor" id="ae696b4fddb76932c7d711a8bfbb51b0b"></a><!-- doxytag: member="geos::geom::GeometryFactory::toGeometry" ref="ae696b4fddb76932c7d711a8bfbb51b0b" args="(const Envelope *envelope) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a>* geos::geom::GeometryFactory::toGeometry </td> <td>(</td> <td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Envelope.html">Envelope</a> * </td> <td class="paramname"> <em>envelope</em></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Converts an <a class="el" href="classgeos_1_1geom_1_1Envelope.html" title="An Envelope defines a rectangulare region of the 2D coordinate plane.">Envelope</a> to a <a class="el" href="classgeos_1_1geom_1_1Geometry.html" title="Basic implementation of Geometry, constructed and destructed by GeometryFactory.">Geometry</a>. </p> <p>Returned <a class="el" href="classgeos_1_1geom_1_1Geometry.html" title="Basic implementation of Geometry, constructed and destructed by GeometryFactory.">Geometry</a> can be a <a class="el" href="classgeos_1_1geom_1_1Point.html" title="Basic implementation of Point.">Point</a>, a <a class="el" href="classgeos_1_1geom_1_1Polygon.html" title="Represents a linear polygon, which may include holes.">Polygon</a> or an EMPTY geom. </p> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="GeometryFactory_8h_source.html">GeometryFactory.h</a></li> </ul> </div> <hr class="footer"/><address class="footer"><small>Generated on Thu Jul 22 2010 for GEOS by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.1 </small></address> </body> </html>