computational.geometry.hvsegmentswindowing
Class SlowHVSegmentsWindowing

java.lang.Object
  extended by computational.geometry.hvsegmentswindowing.HVSegmentsWindowing
      extended by computational.geometry.hvsegmentswindowing.SlowHVSegmentsWindowing

public class SlowHVSegmentsWindowing
extends HVSegmentsWindowing

Slow solution to the problem of windowing a set of horizontal and vertical segments.


Constructor Summary
SlowHVSegmentsWindowing()
           
 
Method Summary
 void addSegment(Segment s)
           
 void checkPreconditions()
           
 void clear()
           
 java.util.List getSegments()
           
 java.util.List query(Rectangle r)
           
 void setSegments(java.util.List segmentL)
           
 void update()
           
 
Methods inherited from class computational.geometry.hvsegmentswindowing.HVSegmentsWindowing
isUpdated, setUpdated
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SlowHVSegmentsWindowing

public SlowHVSegmentsWindowing()
Method Detail

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