Package org.geotools.graph.util.delaunay
Class DelaunayEdge
- Object
-
- BasicGraphable
-
- BasicEdge
-
- DelaunayEdge
-
- All Implemented Interfaces:
Serializable,Edge,Graphable
public class DelaunayEdge extends BasicEdge
- Author:
- jfc173
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface Edge
EQUAL_NODE_ORIENTATION, OPPOSITE_NODE_ORIENTATION, UNEQUAL_NODE_ORIENTATION
-
-
Constructor Summary
Constructors Constructor Description DelaunayEdge(XYNode nodeA, XYNode nodeB)Creates a new instance of DelaunayEdge
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddisconnect()booleanequals(Object o)doublegetEuclideanDistance()TrianglegetOtherFace(Triangle t)booleanhasEndPoint(XYNode node)inthashCode()voidsetFaceA(Triangle t)voidsetFaceB(Triangle t)voidsetOtherFace(Triangle newT, Triangle oldT)StringtoString()Returns ([A node.toString()],[B node.toString()]).-
Methods inherited from class BasicEdge
compareNodes, getNodeA, getNodeB, getOtherNode, getRelated, reverse
-
Methods inherited from class BasicGraphable
getCount, getID, getObject, isVisited, setCount, setID, setObject, setVisited
-
-
-
-
Method Detail
-
disconnect
public void disconnect()
-
setFaceA
public void setFaceA(Triangle t)
-
setFaceB
public void setFaceB(Triangle t)
-
hasEndPoint
public boolean hasEndPoint(XYNode node)
-
getEuclideanDistance
public double getEuclideanDistance()
-
toString
public String toString()
Description copied from class:BasicEdgeReturns ([A node.toString()],[B node.toString()]).- Overrides:
toStringin classBasicEdge- See Also:
Graphable.getID()
-
-