<!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::Dimension 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_1Dimension.html">geos::geom::Dimension</a> </li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#pub-types">Public Types</a> | <a href="#pub-static-methods">Static Public Member Functions</a> </div> <div class="headertitle"> <h1>geos::geom::Dimension Class Reference</h1> </div> </div> <div class="contents"> <!-- doxytag: class="geos::geom::Dimension" --> <p>Constants representing the dimensions of a point, a curve and a surface. <a href="#_details">More...</a></p> <p><code>#include <<a class="el" href="Dimension_8h_source.html">Dimension.h</a>></code></p> <p><a href="classgeos_1_1geom_1_1Dimension-members.html">List of all members.</a></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="pub-types"></a> Public Types</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1Dimension.html#af46f1c0c325eb685fcf32987748d04cf">DimensionType</a> { <br/> <a class="el" href="classgeos_1_1geom_1_1Dimension.html#af46f1c0c325eb685fcf32987748d04cfa59d4432fd9146fe655a414fb3d9b78bb">DONTCARE</a> = -3, <a class="el" href="classgeos_1_1geom_1_1Dimension.html#af46f1c0c325eb685fcf32987748d04cfa140897b4ab9a6c5c60e0cc103aed2f27">True</a> = -2, <a class="el" href="classgeos_1_1geom_1_1Dimension.html#af46f1c0c325eb685fcf32987748d04cfa5055f3028cec299275cd330122f086e2">False</a> = -1, <a class="el" href="classgeos_1_1geom_1_1Dimension.html#af46f1c0c325eb685fcf32987748d04cfa8baa9b556734c7439b778dd77175d68a">P</a> = 0, <br/> <a class="el" href="classgeos_1_1geom_1_1Dimension.html#af46f1c0c325eb685fcf32987748d04cfa4647a7b91baa6f91d523f9293100789d">L</a> = 1, <a class="el" href="classgeos_1_1geom_1_1Dimension.html#af46f1c0c325eb685fcf32987748d04cfa35166f022d8564b72d7cb041c1a8d9a2">A</a> = 2 <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="ad831e53109805069648ea552761d8cfe"></a><!-- doxytag: member="geos::geom::Dimension::toDimensionSymbol" ref="ad831e53109805069648ea552761d8cfe" args="(int dimensionValue)" --> static char </td><td class="memItemRight" valign="bottom"><b>toDimensionSymbol</b> (int dimensionValue)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3e912b0e0cb025bf7f110177a09df59f"></a><!-- doxytag: member="geos::geom::Dimension::toDimensionValue" ref="a3e912b0e0cb025bf7f110177a09df59f" args="(char dimensionSymbol)" --> static int </td><td class="memItemRight" valign="bottom"><b>toDimensionValue</b> (char dimensionSymbol)</td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>Constants representing the dimensions of a point, a curve and a surface. </p> <p>Also, constants representing the dimensions of the empty geometry and non-empty geometries, and a wildcard dimension meaning "any dimension". </p> <hr/><h2>Member Enumeration Documentation</h2> <a class="anchor" id="af46f1c0c325eb685fcf32987748d04cf"></a><!-- doxytag: member="geos::geom::Dimension::DimensionType" ref="af46f1c0c325eb685fcf32987748d04cf" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">enum <a class="el" href="classgeos_1_1geom_1_1Dimension.html#af46f1c0c325eb685fcf32987748d04cf">geos::geom::Dimension::DimensionType</a></td> </tr> </table> </div> <div class="memdoc"> <dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"><em><a class="anchor" id="af46f1c0c325eb685fcf32987748d04cfa59d4432fd9146fe655a414fb3d9b78bb"></a><!-- doxytag: member="DONTCARE" ref="af46f1c0c325eb685fcf32987748d04cfa59d4432fd9146fe655a414fb3d9b78bb" args="" -->DONTCARE</em> </td><td> <p><a class="el" href="classgeos_1_1geom_1_1Dimension.html" title="Constants representing the dimensions of a point, a curve and a surface.">Dimension</a> value for any dimension (= {FALSE, TRUE}). </p> </td></tr> <tr><td valign="top"><em><a class="anchor" id="af46f1c0c325eb685fcf32987748d04cfa140897b4ab9a6c5c60e0cc103aed2f27"></a><!-- doxytag: member="True" ref="af46f1c0c325eb685fcf32987748d04cfa140897b4ab9a6c5c60e0cc103aed2f27" args="" -->True</em> </td><td> <p><a class="el" href="classgeos_1_1geom_1_1Dimension.html" title="Constants representing the dimensions of a point, a curve and a surface.">Dimension</a> value of non-empty geometries (= {P, L, A}). </p> </td></tr> <tr><td valign="top"><em><a class="anchor" id="af46f1c0c325eb685fcf32987748d04cfa5055f3028cec299275cd330122f086e2"></a><!-- doxytag: member="False" ref="af46f1c0c325eb685fcf32987748d04cfa5055f3028cec299275cd330122f086e2" args="" -->False</em> </td><td> <p><a class="el" href="classgeos_1_1geom_1_1Dimension.html" title="Constants representing the dimensions of a point, a curve and a surface.">Dimension</a> value of the empty geometry (-1). </p> </td></tr> <tr><td valign="top"><em><a class="anchor" id="af46f1c0c325eb685fcf32987748d04cfa8baa9b556734c7439b778dd77175d68a"></a><!-- doxytag: member="P" ref="af46f1c0c325eb685fcf32987748d04cfa8baa9b556734c7439b778dd77175d68a" args="" -->P</em> </td><td> <p><a class="el" href="classgeos_1_1geom_1_1Dimension.html" title="Constants representing the dimensions of a point, a curve and a surface.">Dimension</a> value of a point (0). </p> </td></tr> <tr><td valign="top"><em><a class="anchor" id="af46f1c0c325eb685fcf32987748d04cfa4647a7b91baa6f91d523f9293100789d"></a><!-- doxytag: member="L" ref="af46f1c0c325eb685fcf32987748d04cfa4647a7b91baa6f91d523f9293100789d" args="" -->L</em> </td><td> <p><a class="el" href="classgeos_1_1geom_1_1Dimension.html" title="Constants representing the dimensions of a point, a curve and a surface.">Dimension</a> value of a curve (1). </p> </td></tr> <tr><td valign="top"><em><a class="anchor" id="af46f1c0c325eb685fcf32987748d04cfa35166f022d8564b72d7cb041c1a8d9a2"></a><!-- doxytag: member="A" ref="af46f1c0c325eb685fcf32987748d04cfa35166f022d8564b72d7cb041c1a8d9a2" args="" -->A</em> </td><td> <p><a class="el" href="classgeos_1_1geom_1_1Dimension.html" title="Constants representing the dimensions of a point, a curve and a surface.">Dimension</a> value of a surface (2). </p> </td></tr> </table> </dd> </dl> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="Dimension_8h_source.html">Dimension.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>