org.geotools.geometry.iso.operation.relate
Class EdgeEndBundle

java.lang.Object
  extended by org.geotools.geometry.iso.topograph2D.EdgeEnd
      extended by org.geotools.geometry.iso.operation.relate.EdgeEndBundle
All Implemented Interfaces:
java.lang.Comparable

public class EdgeEndBundle
extends EdgeEnd

A collection of EdgeStubs which obey the following invariant: They originate at the same node and have the same direction. Contains all EdgeEnds which start at the same point and are parallel.


Field Summary
 
Fields inherited from class org.geotools.geometry.iso.topograph2D.EdgeEnd
edge, label
 
Constructor Summary
EdgeEndBundle(EdgeEnd e)
           
 
Method Summary
 void computeLabel()
          This computes the overall edge label for the set of edges in this EdgeStubBundle.
 java.util.List getEdgeEnds()
           
 Label getLabel()
           
 void insert(EdgeEnd e)
           
 java.util.Iterator iterator()
           
 
Methods inherited from class org.geotools.geometry.iso.topograph2D.EdgeEnd
compareDirection, compareTo, getCoordinate, getDirectedCoordinate, getDx, getDy, getEdge, getNode, getQuadrant, init, print, setNode, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EdgeEndBundle

public EdgeEndBundle(EdgeEnd e)
Method Detail

getLabel

public Label getLabel()
Overrides:
getLabel in class EdgeEnd

iterator

public java.util.Iterator iterator()
Returns:

getEdgeEnds

public java.util.List getEdgeEnds()
Returns:

insert

public void insert(EdgeEnd e)
Parameters:
e -

computeLabel

public void computeLabel()
This computes the overall edge label for the set of edges in this EdgeStubBundle. It essentially merges the ON and side labels for each edge. These labels must be compatible

Overrides:
computeLabel in class EdgeEnd


Copyright © 1996-2010 Geotools. All Rights Reserved.