org.geotools.graph.util.delaunay
Class DelaunayEdge
java.lang.Object
org.geotools.graph.structure.basic.BasicGraphable
org.geotools.graph.structure.basic.BasicEdge
org.geotools.graph.util.delaunay.DelaunayEdge
- All Implemented Interfaces:
- Edge, Graphable, java.io.Serializable
- public class DelaunayEdge
- extends BasicEdge
- Author:
- jfc173
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DelaunayEdge
public DelaunayEdge(XYNode nodeA,
XYNode nodeB)
- Creates a new instance of DelaunayEdge
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.