computational.geometry.segmentintersection
Class SweepingLine

java.lang.Object
  extended by computational.geometry.segmentintersection.SegmentIntersection
      extended by computational.geometry.segmentintersection.SweepingLine

public class SweepingLine
extends SegmentIntersection


Nested Class Summary
static class SweepingLine.IntersectionPoint
          IntersectionPoint
static class SweepingLine.SegmentEndPoint
          SegmentEndPoint
 
Field Summary
 
Fields inherited from class computational.geometry.segmentintersection.SegmentIntersection
ALL_INTERSECTIONS, ANY_INTERSECTION, ANY_PROPER_INTERSECTION, history, segments
 
Constructor Summary
SweepingLine()
          CONSTRUCTORS
SweepingLine(java.util.Collection segments)
           
SweepingLine(java.util.Collection segments, LogManager history)
           
 
Method Summary
 java.util.Collection allIntersections()
           
 boolean anyIntersection()
           
 boolean anyProperIntersection()
           
 void checkPreconditions(int query)
          CONCRETIZATION
 
Methods inherited from class computational.geometry.segmentintersection.SegmentIntersection
addSegment, clear, deleteSegment, getLogManager, getSegments, isUpdated, movePoint, moveSegment, setLogManager, setUpdated, setUpdated
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SweepingLine

public SweepingLine()
CONSTRUCTORS


SweepingLine

public SweepingLine(java.util.Collection segments)

SweepingLine

public SweepingLine(java.util.Collection segments,
                    LogManager history)
Method Detail

allIntersections

public java.util.Collection allIntersections()
Specified by:
allIntersections in class SegmentIntersection

anyIntersection

public boolean anyIntersection()
Specified by:
anyIntersection in class SegmentIntersection

anyProperIntersection

public boolean anyProperIntersection()
Specified by:
anyProperIntersection in class SegmentIntersection

checkPreconditions

public void checkPreconditions(int query)
                        throws PreconditionViolatedException
CONCRETIZATION

Specified by:
checkPreconditions in class SegmentIntersection
Throws:
PreconditionViolatedException