Package repast.simphony.space.delaunay
Class QuadEdge
java.lang.Object
repast.simphony.space.delaunay.QuadEdge
This is a representation of the QuadEdge data structure. The quadEdge
structure as described in guibas and stolfi on page 92, represents a
subdivision of space and its dual.
- Version:
- $revision$
- Author:
- Howe
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetDest()
getDPrev()
getLNext()
getLPrev()
getONext()
getOPrev()
getOrg()
getRNext()
getRot()
getRot3()
getSym()
boolean
Determine if this edge is one of the inifinite edges.void
Set the destination of this edge.void
void
void
void
Set the origin of the edge.void
void
The dual (perpendicular bisector) of this edge.void
The result of applying the rot operator 3 times.void
The edge with opposite orientation to this one, i.e.
-
Constructor Details
-
QuadEdge
public QuadEdge()
-
-
Method Details
-
setOrg
Set the origin of the edge.- Parameters:
pt
- The origin of the edge.
-
setDest
Set the destination of this edge.- Parameters:
pt
- The destination of the edge.
-
setRot
The dual (perpendicular bisector) of this edge.- Parameters:
e
- The dual of this edge.
-
setSym
The edge with opposite orientation to this one, i.e. the origin of this edge is the destination of the other edge and the destination of this edge is the origin of the other edge.- Parameters:
e
- The symmetric of this edge.
-
setRot3
The result of applying the rot operator 3 times.- Parameters:
e
- The other edge.
-
setONext
-
setLNext
-
setOPrev
-
setRNext
-
getOrg
-
getDest
-
getRot
-
getSym
-
getRot3
-
getONext
-
getLNext
-
getOPrev
-
getRNext
-
getDPrev
-
getLPrev
-
isValidEdge
public boolean isValidEdge()Determine if this edge is one of the inifinite edges. If so, this is not a valid edge.- Returns:
- true if neither org nor dest are infinite.
-