org.shapelogic.filter
Class FullLengthHorizontalFilter

java.lang.Object
  extended by org.shapelogic.filter.BaseFilter<Polygon,CLine>
      extended by org.shapelogic.filter.PolygonLineFilter
          extended by org.shapelogic.filter.FullLengthHorizontalFilter
All Implemented Interfaces:
org.apache.commons.collections.Predicate, IFilter<Polygon,CLine>

public class FullLengthHorizontalFilter
extends PolygonLineFilter

Filter lines that are both horizontal and also full length of the multi line it is part of.

Author:
Sami Badawi

Field Summary
 
Fields inherited from class org.shapelogic.filter.BaseFilter
_collection, _constraint, _parent
 
Constructor Summary
FullLengthHorizontalFilter()
           
 
Method Summary
 boolean evaluate(java.lang.Object line)
           
 
Methods inherited from class org.shapelogic.filter.PolygonLineFilter
getCollection
 
Methods inherited from class org.shapelogic.filter.BaseFilter
filter, getConstraint, getParent, setCollection, setConstraint, setParent, setup
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FullLengthHorizontalFilter

public FullLengthHorizontalFilter()
Method Detail

evaluate

public boolean evaluate(java.lang.Object line)
Specified by:
evaluate in interface org.apache.commons.collections.Predicate
Specified by:
evaluate in class BaseFilter<Polygon,CLine>


Copyright © 2009. All Rights Reserved.