|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.me.parabola.mkgmap.general.NullClipper
public class NullClipper
Does no clipping and just adds the elements directly.
Field Summary |
---|
Fields inherited from interface uk.me.parabola.mkgmap.general.Clipper |
---|
NULL_CLIPPER |
Constructor Summary | |
---|---|
NullClipper()
|
Method Summary | |
---|---|
void |
clipLine(MapLine line,
LineAdder adder)
Clip a line and add the resulting line or lines (if any) to the collector. |
void |
clipShape(MapShape shape,
MapCollector collector)
Clip a polygon and add the resulting shapes to the collector. |
boolean |
contains(Coord location)
'Clip' a point - return true if the point is within the clipped region. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NullClipper()
Method Detail |
---|
public void clipLine(MapLine line, LineAdder adder)
Clipper
clipLine
in interface Clipper
public void clipShape(MapShape shape, MapCollector collector)
Clipper
clipShape
in interface Clipper
public boolean contains(Coord location)
Clipper
contains
in interface Clipper
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |