Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > 5035839f674c88dea1f7928a86fbdc64 > files > 1366

geos-devel-3.2.1-3.fc14.x86_64.rpm

<!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::operation::relate Namespace 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&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li class="current"><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><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="namespaces.html"><span>Namespace&nbsp;List</span></a></li>
      <li><a href="namespacemembers.html"><span>Namespace&nbsp;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_1operation.html">operation</a>      </li>
      <li><a class="el" href="namespacegeos_1_1operation_1_1relate.html">relate</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a>  </div>
  <div class="headertitle">
<h1>geos::operation::relate Namespace Reference</h1>  </div>
</div>
<div class="contents">

<p>Contains classes to implement the computation of the spatial relationships of <code>Geometry</code>s.  
<a href="#_details">More...</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1relate_1_1EdgeEndBuilder.html">EdgeEndBuilder</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Computes the <a class="el" href="classgeos_1_1geomgraph_1_1EdgeEnd.html" title="Models the end of an edge incident on a node.">geomgraph::EdgeEnd</a> objects which arise from a noded geomgraph::Edge.  <a href="classgeos_1_1operation_1_1relate_1_1EdgeEndBuilder.html#_details">More...</a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1relate_1_1EdgeEndBundle.html">EdgeEndBundle</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">A collection of <a class="el" href="classgeos_1_1geomgraph_1_1EdgeEnd.html" title="Models the end of an edge incident on a node.">geomgraph::EdgeEnd</a> objects which originate at the same point and have the same direction.  <a href="classgeos_1_1operation_1_1relate_1_1EdgeEndBundle.html#_details">More...</a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1relate_1_1EdgeEndBundleStar.html">EdgeEndBundleStar</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">An ordered list of <a class="el" href="classgeos_1_1operation_1_1relate_1_1EdgeEndBundle.html" title="A collection of geomgraph::EdgeEnd objects which originate at the same point and have the same direct...">EdgeEndBundle</a> objects around a <a class="el" href="classgeos_1_1operation_1_1relate_1_1RelateNode.html" title="Represents a node in the topological graph used to compute spatial relationships.">RelateNode</a>.  <a href="classgeos_1_1operation_1_1relate_1_1EdgeEndBundleStar.html#_details">More...</a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1relate_1_1RelateComputer.html">RelateComputer</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Computes the topological relationship between two Geometries.  <a href="classgeos_1_1operation_1_1relate_1_1RelateComputer.html#_details">More...</a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1relate_1_1RelateNode.html">RelateNode</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Represents a node in the topological graph used to compute spatial relationships.  <a href="classgeos_1_1operation_1_1relate_1_1RelateNode.html#_details">More...</a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1relate_1_1RelateNodeFactory.html">RelateNodeFactory</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Used by the geomgraph::NodeMap in a <a class="el" href="classgeos_1_1operation_1_1relate_1_1RelateNodeGraph.html" title="Implements the simple graph of Nodes and geomgraph::EdgeEnd which is all that is required to determin...">RelateNodeGraph</a> to create <a class="el" href="classgeos_1_1operation_1_1relate_1_1RelateNode.html" title="Represents a node in the topological graph used to compute spatial relationships.">RelateNode</a> objects.  <a href="classgeos_1_1operation_1_1relate_1_1RelateNodeFactory.html#_details">More...</a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1relate_1_1RelateNodeGraph.html">RelateNodeGraph</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Implements the simple graph of Nodes and <a class="el" href="classgeos_1_1geomgraph_1_1EdgeEnd.html" title="Models the end of an edge incident on a node.">geomgraph::EdgeEnd</a> which is all that is required to determine topological relationships between Geometries.  <a href="classgeos_1_1operation_1_1relate_1_1RelateNodeGraph.html#_details">More...</a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1relate_1_1RelateOp.html">RelateOp</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Implements the SFS <code><a class="el" href="classgeos_1_1operation_1_1relate_1_1RelateOp.html#a694d50ad7d847328be1e9d4caad2373b" title="Computes the geom::IntersectionMatrix for the spatial relationship between two geom::Geometry objects...">relate()</a></code> operation on two <a class="el" href="classgeos_1_1geom_1_1Geometry.html" title="Basic implementation of Geometry, constructed and destructed by GeometryFactory.">geom::Geometry</a> objects.  <a href="classgeos_1_1operation_1_1relate_1_1RelateOp.html#_details">More...</a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Contains classes to implement the computation of the spatial relationships of <code>Geometry</code>s. </p>
<p>The <code>relate</code> algorithm computes the <code>IntersectionMatrix</code> describing the relationship of two <code>Geometry</code>s. The algorithm for computing <code>relate</code> uses the intersection operations supported by topology graphs. Although the <code>relate</code> result depends on the resultant graph formed by the computed intersections, there is no need to explicitly compute the entire graph. It is sufficient to compute the local structure of the graph at each intersection node. </p>
<p>The algorithm to compute <code>relate</code> has the following steps: </p>
<ul>
<li>
Build topology graphs of the two input geometries. For each geometry all self-intersection nodes are computed and added to the graph. </li>
<li>
Compute nodes for all intersections between edges and nodes of the graphs. </li>
<li>
Compute the labeling for the computed nodes by merging the labels from the input graphs. </li>
<li>
Compute the labeling for isolated components of the graph (see below) </li>
<li>
Compute the <code>IntersectionMatrix</code> from the labels on the nodes and edges. </li>
</ul>
<h3>Labeling isolated components</h3>
<p>Isolated components are components (edges or nodes) of an input <code>Geometry</code> which do not contain any intersections with the other input <code>Geometry</code>. The topological relationship of these components to the other input <code>Geometry</code> must be computed in order to determine the complete labeling of the component. This can be done by testing whether the component lies in the interior or exterior of the other <code>Geometry</code>. If the other <code>Geometry</code> is 1-dimensional, the isolated component must lie in the exterior (since otherwise it would have an intersection with an edge of the <code>Geometry</code>). If the other <code>Geometry</code> is 2-dimensional, a Point-In-Polygon test can be used to determine whether the isolated component is in the interior or exterior.</p>
<h2>Package Specification</h2>
<ul>
<li>
Java Topology Suite Technical Specifications </li>
<li>
<a href="http://www.opengis.org/techno/specs.htm">OpenGIS Simple Features Specification for SQL</a> </li>
</ul>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Thu Jul 22 2010 for GEOS by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.1 </small></address>
</body>
</html>