|
RePast v. 2.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--uchicago.src.sim.network.DefaultEdge
|
+--uchicago.src.sim.space.QuadEdge
This is the quad edge data structure defined by stolfi and guibas. to learn how it works please read: Guibas, L. and Stolfi, J., "Primitives for the Manipulation of General Subdivisions and the Computation of Voronoi Diagrams", ACT TOG, 4(2), April, 1985. It's a bit too complex to describe in full here.
| Field Summary |
| Fields inherited from class uchicago.src.sim.network.DefaultEdge |
from, label, strength, to, type |
| Constructor Summary | |
QuadEdge(QuadEdge next,
SpatialNode data,
QuadEdge rot)
|
|
| Method Summary | |
static QuadEdge |
connect(QuadEdge a,
QuadEdge b)
|
static void |
deleteEdge(QuadEdge e)
|
QuadEdge |
gerDNext()
|
SpatialNode |
getDest()
|
QuadEdge |
getDPrev()
|
Node |
getFrom()
Gets the from node |
QuadEdge |
getInvRot()
|
SpatialNode |
getLeft()
|
QuadEdge |
getLNext()
|
QuadEdge |
getLPrev()
|
QuadEdge |
getONext()
|
QuadEdge |
getOPrev()
|
SpatialNode |
getOrg()
|
SpatialNode |
getRight()
|
QuadEdge |
getRNext()
|
QuadEdge |
getRot()
|
QuadEdge |
getRPrev()
|
QuadEdge |
getSym()
|
Node |
getTo()
Gets the to node |
static QuadEdge |
makeEdge()
this is the make edge primitive described by stolfi and guibas, pg 96. |
static QuadEdge |
makeEdge(SpatialNode orig,
SpatialNode dest)
This is a convience constructor for creating a QuadEdge from two points. |
void |
setDest(SpatialNode d)
|
void |
splice(QuadEdge e)
|
static void |
splice(QuadEdge e1,
QuadEdge e2)
This is the splice primitive defined in stolfi and guibas, pg 96 |
static void |
swap(QuadEdge e)
|
| Methods inherited from class uchicago.src.sim.network.DefaultEdge |
getLabel, getStrength, getType, setFrom, setLabel, setStrength, setTo, setType |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public QuadEdge(QuadEdge next,
SpatialNode data,
QuadEdge rot)
| Method Detail |
public SpatialNode getOrg()
public SpatialNode getDest()
public void setDest(SpatialNode d)
public SpatialNode getRight()
public SpatialNode getLeft()
public QuadEdge getRot()
public QuadEdge getInvRot()
public QuadEdge getSym()
public QuadEdge getONext()
public QuadEdge getOPrev()
public QuadEdge getLNext()
public QuadEdge getLPrev()
public QuadEdge getRNext()
public QuadEdge getRPrev()
public QuadEdge gerDNext()
public QuadEdge getDPrev()
public static QuadEdge makeEdge()
public static QuadEdge makeEdge(SpatialNode orig,
SpatialNode dest)
orig - dest -
public Node getTo()
DefaultEdge
getTo in interface EdgegetTo in class DefaultEdgepublic Node getFrom()
DefaultEdge
getFrom in interface EdgegetFrom in class DefaultEdge
public static void splice(QuadEdge e1,
QuadEdge e2)
e1 - e2 - public void splice(QuadEdge e)
public static QuadEdge connect(QuadEdge a,
QuadEdge b)
public static void deleteEdge(QuadEdge e)
public static void swap(QuadEdge e)
|
RePast v. 2.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||