org.geotools.graph.util.delaunay
Class DelaunayEdge

java.lang.Object
  extended byorg.geotools.graph.structure.basic.BasicGraphable
      extended byorg.geotools.graph.structure.basic.BasicEdge
          extended byorg.geotools.graph.util.delaunay.DelaunayEdge
All Implemented Interfaces:
Edge, Graphable, java.io.Serializable

public class DelaunayEdge
extends BasicEdge

Author:
jfc173
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.geotools.graph.structure.Edge
EQUAL_NODE_ORIENTATION, OPPOSITE_NODE_ORIENTATION, UNEQUAL_NODE_ORIENTATION
 
Constructor Summary
DelaunayEdge(XYNode nodeA, XYNode nodeB)
          Creates a new instance of DelaunayEdge
 
Method Summary
 void disconnect()
           
 boolean equals(java.lang.Object o)
           
 double getEuclideanDistance()
           
 Triangle getOtherFace(Triangle t)
           
 boolean hasEndPoint(XYNode node)
           
 void setFaceA(Triangle t)
           
 void setFaceB(Triangle t)
           
 void setOtherFace(Triangle newT, Triangle oldT)
           
 java.lang.String toString()
          Returns ([A node.toString()],[B node.toString()]).
 
Methods inherited from class org.geotools.graph.structure.basic.BasicEdge
compareNodes, getNodeA, getNodeB, getOtherNode, getRelated, reverse
 
Methods inherited from class org.geotools.graph.structure.basic.BasicGraphable
getCount, getID, getObject, isVisited, setCount, setID, setObject, setVisited
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.geotools.graph.structure.Graphable
getCount, getID, getObject, isVisited, setCount, setID, setObject, setVisited
 

Constructor Detail

DelaunayEdge

public DelaunayEdge(XYNode nodeA,
                    XYNode nodeB)
Creates a new instance of DelaunayEdge

Method Detail

disconnect

public void disconnect()

setFaceA

public void setFaceA(Triangle t)

setFaceB

public void setFaceB(Triangle t)

hasEndPoint

public boolean hasEndPoint(XYNode node)

getOtherFace

public Triangle getOtherFace(Triangle t)

setOtherFace

public void setOtherFace(Triangle newT,
                         Triangle oldT)

getEuclideanDistance

public double getEuclideanDistance()

equals

public boolean equals(java.lang.Object o)

toString

public java.lang.String toString()
Description copied from class: BasicEdge
Returns ([A node.toString()],[B node.toString()]).

Overrides:
toString in class BasicEdge


Copyright © GeoTools. All Rights Reserved.