computational.geometry.visibilitygraph
Class MergePoint
java.lang.Object
computational.geometry.Point
computational.geometry.visibilitygraph.MergePoint
- All Implemented Interfaces:
- Shape, java.io.Serializable, java.lang.Cloneable
public class MergePoint
- extends Point
- See Also:
- Serialized Form
Methods inherited from class computational.geometry.Point |
add, boundingBox, clone, contains, distance2, draw, drawLabels, drawPoints, equals, getLabel, getPoints, getX, getY, setLabel, sub, translate |
Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MergePoint
public MergePoint(Point p,
Segment s1,
Segment s2)
getFirstEdge
public Segment getFirstEdge()
getPredecessor
public Point getPredecessor()
getSecondEdge
public Segment getSecondEdge()
getSuccessor
public Point getSuccessor()
toString
public java.lang.String toString()
- Description copied from class:
Point
- Returns a string representation of this point.
The string is composed of the point's label (if any),
and the point's (x,y) coordinates.
- Overrides:
toString
in class Point
- Returns:
- a string representation of this point.