|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree.geometry.linearization.SurfaceLinearizer
public class SurfaceLinearizer
Provides methods for the linearization of planar surfaces, i.e. PolygonPatch
es and Polygon
s.
Constructor Summary | |
---|---|
SurfaceLinearizer(GeometryFactory geomFac)
|
Method Summary | ||
---|---|---|
PolygonPatch |
linearize(PolygonPatch patch,
LinearizationCriterion crit)
Returns a linearized version (i.e. a PolygonPatch that only uses LinearRing s as boundaries) of
the given PolygonPatch . |
|
|
linearize(T surface,
LinearizationCriterion crit)
Returns a linearized version of the given Surface geometry, i.e. the patches only use linear interpolated
curves as boundaries. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SurfaceLinearizer(GeometryFactory geomFac)
geomFac
- Method Detail |
---|
public <T extends Surface> T linearize(T surface, LinearizationCriterion crit)
Surface
geometry, i.e. the patches only use linear interpolated
curves as boundaries.
NOTE: This method respects the semantic difference between Surface
and Polygon
geometries: if the
input is a Polygon
, a polygon geometry will be returned.
T
- subtype of Surfacesurface
- crit
-
public PolygonPatch linearize(PolygonPatch patch, LinearizationCriterion crit)
PolygonPatch
that only uses LinearRing
s as boundaries) of
the given PolygonPatch
.
patch
- crit
- determines the interpolation quality / number of interpolation points
PolygonPatch
that only uses LinearRing
s as boundaries
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |