<!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::util::CoordinateOperation 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="namespacegeos_1_1geom_1_1util.html">util</a> </li> <li><a class="el" href="classgeos_1_1geom_1_1util_1_1CoordinateOperation.html">geos::geom::util::CoordinateOperation</a> </li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> </div> <div class="headertitle"> <h1>geos::geom::util::CoordinateOperation Class Reference</h1> </div> </div> <div class="contents"> <!-- doxytag: class="geos::geom::util::CoordinateOperation" --><!-- doxytag: inherits="geos::geom::util::GeometryEditorOperation" --> <p><code>#include <<a class="el" href="CoordinateOperation_8h_source.html">CoordinateOperation.h</a>></code></p> <div class="dynheader"> Inheritance diagram for geos::geom::util::CoordinateOperation:</div> <div class="dyncontent"> <div class="center"> <img src="classgeos_1_1geom_1_1util_1_1CoordinateOperation.png" usemap="#geos::geom::util::CoordinateOperation_map" alt=""/> <map id="geos::geom::util::CoordinateOperation_map" name="geos::geom::util::CoordinateOperation_map"> <area href="classgeos_1_1geom_1_1util_1_1GeometryEditorOperation.html" alt="geos::geom::util::GeometryEditorOperation" shape="rect" coords="0,0,246,24"/> </map> </div> <p><a href="classgeos_1_1geom_1_1util_1_1CoordinateOperation-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">virtual <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_1util_1_1CoordinateOperation.html#a2ec0bc6be5f59f1c713c494680b4377f">edit</a> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a> *geometry, const <a class="el" href="classgeos_1_1geom_1_1GeometryFactory.html">GeometryFactory</a> *factory)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classgeos_1_1geom_1_1CoordinateSequence.html">CoordinateSequence</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1util_1_1CoordinateOperation.html#aec598319496dc355c3b141c7f3af9f73">edit</a> (const <a class="el" href="classgeos_1_1geom_1_1CoordinateSequence.html">CoordinateSequence</a> *coordinates, const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a> *geometry)=0</td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>A <a class="el" href="classgeos_1_1geom_1_1util_1_1GeometryEditorOperation.html">GeometryEditorOperation</a> which modifies the coordinate list of a <a class="el" href="classgeos_1_1geom_1_1Geometry.html" title="Basic implementation of Geometry, constructed and destructed by GeometryFactory.">Geometry</a>. Operates on <a class="el" href="classgeos_1_1geom_1_1Geometry.html" title="Basic implementation of Geometry, constructed and destructed by GeometryFactory.">Geometry</a> subclasses which contains a single coordinate list. </p> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="a2ec0bc6be5f59f1c713c494680b4377f"></a><!-- doxytag: member="geos::geom::util::CoordinateOperation::edit" ref="a2ec0bc6be5f59f1c713c494680b4377f" args="(const Geometry *geometry, const GeometryFactory *factory)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a>* geos::geom::util::CoordinateOperation::edit </td> <td>(</td> <td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a> * </td> <td class="paramname"> <em>geometry</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1GeometryFactory.html">GeometryFactory</a> * </td> <td class="paramname"> <em>factory</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Return a newly created geometry, ownership to caller </p> <p>Implements <a class="el" href="classgeos_1_1geom_1_1util_1_1GeometryEditorOperation.html#a773b32ed3cd07f030286852119cbe952">geos::geom::util::GeometryEditorOperation</a>.</p> </div> </div> <a class="anchor" id="aec598319496dc355c3b141c7f3af9f73"></a><!-- doxytag: member="geos::geom::util::CoordinateOperation::edit" ref="aec598319496dc355c3b141c7f3af9f73" args="(const CoordinateSequence *coordinates, const Geometry *geometry)=0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="classgeos_1_1geom_1_1CoordinateSequence.html">CoordinateSequence</a>* geos::geom::util::CoordinateOperation::edit </td> <td>(</td> <td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1CoordinateSequence.html">CoordinateSequence</a> * </td> <td class="paramname"> <em>coordinates</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a> * </td> <td class="paramname"> <em>geometry</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Edits the array of <a class="el" href="classgeos_1_1geom_1_1Coordinate.html" title="Coordinate is the lightweight class used to store coordinates.">Coordinate</a> from a <a class="el" href="classgeos_1_1geom_1_1Geometry.html" title="Basic implementation of Geometry, constructed and destructed by GeometryFactory.">Geometry</a>.</p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>coordinates</em> </td><td>the coordinate array to operate on </td></tr> <tr><td valign="top"></td><td valign="top"><em>geometry</em> </td><td>the geometry containing the coordinate list </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>an edited coordinate array (which may be the same as the input) </dd></dl> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="CoordinateOperation_8h_source.html">CoordinateOperation.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>