computational.geometry.hvsegmentswindowing
Class SlowHVSegmentsWindowing
java.lang.Object
computational.geometry.hvsegmentswindowing.HVSegmentsWindowing
computational.geometry.hvsegmentswindowing.SlowHVSegmentsWindowing
public class SlowHVSegmentsWindowing
- extends HVSegmentsWindowing
Slow solution to the problem of windowing a set of horizontal and
vertical segments.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SlowHVSegmentsWindowing
public SlowHVSegmentsWindowing()
addSegment
public void addSegment(Segment s)
throws PreconditionViolatedException
- Specified by:
addSegment
in class HVSegmentsWindowing
- Throws:
PreconditionViolatedException
checkPreconditions
public void checkPreconditions()
throws PreconditionViolatedException
- Throws:
PreconditionViolatedException
clear
public void clear()
- Specified by:
clear
in class HVSegmentsWindowing
getSegments
public java.util.List getSegments()
- Specified by:
getSegments
in class HVSegmentsWindowing
query
public java.util.List query(Rectangle r)
- Specified by:
query
in class HVSegmentsWindowing
setSegments
public void setSegments(java.util.List segmentL)
throws PreconditionViolatedException
- Specified by:
setSegments
in class HVSegmentsWindowing
- Throws:
PreconditionViolatedException
update
public void update()
- Specified by:
update
in class HVSegmentsWindowing