|
deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.geometry.SFSProfiler
public class SFSProfiler
Converts a generic deegree Geometry
instance (which may be anything from the ISO 19107 model) into a
Geometry
that matches the capabilities of the Simple Feature Specification (SFS).
Point
-> Point
LineString
-> LineString
Curve
-> LineString
Polygon
-> Polygon
(using only a patch with linear interpolated boundaries)Surface
-> Polygon
/MultiPolygon
(one member for every surface patch, each using linear
interpolated boundaries)MultiPoint
-> MultiPoint
MultiLineString
-> MultiLineString
MultiCurve
-> MultiLineString
MultiPolygon
-> MultiPolygon
(members using only a patch with linear interpolated boundaries)MultiSurface
-> MultiPolygon
(members using only a single patches with linear interpolated
boundaries)
Constructor Summary | |
---|---|
SFSProfiler(LinearizationCriterion crit)
Creates a new SFSProfiler that uses the given LinearizationCriterion for linearizing non-linear
curve segments / surface boundaries. |
Method Summary | |
---|---|
LineString |
simplify(Curve geometry)
Simplifies the given Curve . |
Geometry |
simplify(GeometricPrimitive geometry)
Simplifies the given GeometricPrimitive . |
Geometry |
simplify(Geometry geometry)
Simplifies the given Geometry . |
MultiGeometry<?> |
simplify(MultiGeometry<?> geometry)
Simplifies the given MultiGeometry . |
Point |
simplify(Point geometry)
Simplifies the given Point . |
Solid |
simplify(Solid geometry)
Simplifies the given Solid . |
Geometry |
simplify(Surface geometry)
Simplifies the given Surface . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SFSProfiler(LinearizationCriterion crit)
SFSProfiler
that uses the given LinearizationCriterion
for linearizing non-linear
curve segments / surface boundaries.
crit
- linearization criterion, must not be null
Method Detail |
---|
public Geometry simplify(Geometry geometry)
Geometry
.
geometry
- the geometry to be simplified, must not be null
public Geometry simplify(GeometricPrimitive geometry)
GeometricPrimitive
.
geometry
- the geometry to be simplified, must not be null
public Point simplify(Point geometry)
Point
.
geometry
- the geometry to be simplified, must not be null
public LineString simplify(Curve geometry)
Curve
.
geometry
- the geometry to be simplified, must not be null
public Geometry simplify(Surface geometry)
Surface
.
geometry
- the geometry to be simplified, must not be null
Polygon
or a MultiPolygon
(if the input surface has
multiple patches)public Solid simplify(Solid geometry)
Solid
.
geometry
- the geometry to be simplified, must not be null
public MultiGeometry<?> simplify(MultiGeometry<?> geometry)
MultiGeometry
.
geometry
- the geometry to be simplified, must not be null
|
deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |