computational.geometry.visibilitygraph
Class SegmentUtil
java.lang.Object
computational.geometry.visibilitygraph.SegmentUtil
public class SegmentUtil
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
first
public Point first
second
public Point second
SegmentUtil
public SegmentUtil(Segment s)
containsSameVertex
public static Point containsSameVertex(Segment s1,
Segment s2)
getIntersectionPoint
public static Point getIntersectionPoint(Segment s1,
Segment s2)
getMaxXPoint
public static Point getMaxXPoint(Segment s)
getMiddlePoint
public static Point getMiddlePoint(Segment s)
getMinYPoint
public static Point getMinYPoint(Segment s)
getOtherPoint
public static Point getOtherPoint(Segment s,
Point p)
toString
public static java.lang.String toString(Segment s1)