uk.me.parabola.mkgmap.filters
Class PolygonSplitterBase

java.lang.Object
  extended by uk.me.parabola.mkgmap.filters.BaseFilter
      extended by uk.me.parabola.mkgmap.filters.PolygonSplitterBase
All Implemented Interfaces:
MapFilter
Direct Known Subclasses:
PolygonSizeSplitterFilter, PolygonSplitterFilter

public class PolygonSplitterBase
extends BaseFilter

Author:
Steve Ratcliffe

Field Summary
protected static int MAX_SIZE
           
 
Constructor Summary
PolygonSplitterBase()
           
 
Method Summary
protected  void split(MapShape shape, java.util.List<MapShape> outputs)
          Split the given shape and place the resulting shapes in the outputs list.
 
Methods inherited from class uk.me.parabola.mkgmap.filters.BaseFilter
doFilter, init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAX_SIZE

protected static final int MAX_SIZE
See Also:
Constant Field Values
Constructor Detail

PolygonSplitterBase

public PolygonSplitterBase()
Method Detail

split

protected void split(MapShape shape,
                     java.util.List<MapShape> outputs)
Split the given shape and place the resulting shapes in the outputs list.

Parameters:
shape - The original shape (that is too big).
outputs - The output list.