|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.geometry.Geometries
public class Geometries
Contains utility methods for common tasks on Geometry
objects.
Constructor Summary | |
---|---|
Geometries()
|
Method Summary | |
---|---|
static Geometry |
copyDeep(Geometry geom)
Creates a deep copy of the given Geometry object. |
static GeometricPrimitive |
getAsGeometry(Envelope env)
Returns a corresponding GeometricPrimitive object for the given Envelope . |
static MultiGeometry<?> |
homogenize(MultiGeometry<?> geometry)
Homogenizes the given generic MultiGeometry , i.e. returns a MultiPoint , MultiCurve ,
MultiLineString , MultiSurface , MultiPolygon or MultiSolid (depending on the
members). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Geometries()
Method Detail |
---|
public static MultiGeometry<?> homogenize(MultiGeometry<?> geometry)
MultiGeometry
, i.e. returns a MultiPoint
, MultiCurve
,
MultiLineString
, MultiSurface
, MultiPolygon
or MultiSolid
(depending on the
members).
geometry
- generic multi geometry to be homogenized, must not be null
public static GeometricPrimitive getAsGeometry(Envelope env)
GeometricPrimitive
object for the given Envelope
.
Depending on the extent, this can either be:
Polygon
LineString
Point
env
- envelope, must not be null
null
public static Geometry copyDeep(Geometry geom)
Geometry
object.
geom
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |