computational.geometry.visibilitygraph
Class MergePoint

java.lang.Object
  extended by computational.geometry.Point
      extended by computational.geometry.visibilitygraph.MergePoint
All Implemented Interfaces:
Shape, java.io.Serializable, java.lang.Cloneable

public class MergePoint
extends Point

See Also:
Serialized Form

Constructor Summary
MergePoint(Point p, Segment s1, Segment s2)
           
 
Method Summary
 Segment getFirstEdge()
           
 Point getPredecessor()
           
 Segment getSecondEdge()
           
 Point getSuccessor()
           
 java.lang.String toString()
          Returns a string representation of this point.
 
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
 

Constructor Detail

MergePoint

public MergePoint(Point p,
                  Segment s1,
                  Segment s2)
Method Detail

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.