public class VoronoiCellRepresentation extends AbstractRepresentation
| Constructor and Description |
|---|
VoronoiCellRepresentation() |
| Modifier and Type | Method and Description |
|---|---|
void |
beginAlgorithm(java.util.Collection<VPoint> points) |
void |
circleEvent(VLinkedNode n1,
VLinkedNode n2,
VLinkedNode n3,
int circle_x,
int circle_y) |
VPoint |
createPoint(int x,
int y) |
void |
endAlgorithm(java.util.Collection<VPoint> points,
int lastsweeplineposition,
VLinkedNode headnode) |
void |
paint(java.awt.Graphics2D g) |
void |
siteEvent(VLinkedNode n1,
VLinkedNode n2,
VLinkedNode n3) |
public VPoint createPoint(int x, int y)
createPoint in class AbstractRepresentationpublic void beginAlgorithm(java.util.Collection<VPoint> points)
public void siteEvent(VLinkedNode n1, VLinkedNode n2, VLinkedNode n3)
public void circleEvent(VLinkedNode n1, VLinkedNode n2, VLinkedNode n3, int circle_x, int circle_y)
public void endAlgorithm(java.util.Collection<VPoint> points, int lastsweeplineposition, VLinkedNode headnode)
public void paint(java.awt.Graphics2D g)
paint in class AbstractRepresentation