|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.me.parabola.mkgmap.general.PolygonClipper
public class PolygonClipper
Clip a polygon to the given bounding box. This may result in more than one polygon.
Constructor Summary | |
---|---|
PolygonClipper()
|
Method Summary | |
---|---|
static java.util.List<java.util.List<Coord>> |
clip(Area bbox,
java.util.List<Coord> coords)
Clip the input polygon to the given area. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PolygonClipper()
Method Detail |
---|
public static java.util.List<java.util.List<Coord>> clip(Area bbox, java.util.List<Coord> coords)
bbox
- The bounding box.coords
- The coords of the polygon.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |