|
JTS Topology Suite version 1.13 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.vividsolutions.jts.geom.util.GeometryMapper
public class GeometryMapper
Methods to map various collections
of Geometry
s
via defined mapping functions.
Nested Class Summary | |
---|---|
static interface |
GeometryMapper.MapOp
An interface for geometry functions used for mapping. |
Constructor Summary | |
---|---|
GeometryMapper()
|
Method Summary | |
---|---|
static java.util.Collection |
map(java.util.Collection geoms,
GeometryMapper.MapOp op)
|
static Geometry |
map(Geometry geom,
GeometryMapper.MapOp op)
Maps the members of a Geometry
(which may be atomic or composite)
into another Geometry of most specific type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GeometryMapper()
Method Detail |
---|
public static Geometry map(Geometry geom, GeometryMapper.MapOp op)
Geometry
(which may be atomic or composite)
into another Geometry of most specific type.
null results are skipped.
In the case of hierarchical GeometryCollection
s,
only the first level of members are mapped.
geom
- the input atomic or composite geometryop
- the mapping operation
public static java.util.Collection map(java.util.Collection geoms, GeometryMapper.MapOp op)
|
JTS Topology Suite version 1.13 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |