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 void
disconnect()
boolean
equals(Object o)
double
getEuclideanDistance()
Triangle
getOtherFace(Triangle t)
boolean
hasEndPoint(XYNode node)
int
hashCode()
void
setFaceA(Triangle t)
void
setFaceB(Triangle t)
void
setOtherFace(Triangle newT, Triangle oldT)
String
toString()
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:BasicEdge
Returns ([A node.toString()],[B node.toString()]).- Overrides:
toString
in classBasicEdge
- See Also:
Graphable.getID()
-
-