public interface ILfnGeometryProvider
Modifier and Type | Method and Description |
---|---|
ILcdShape |
getGeometry(int aLevel,
int aScaleDenominator,
ILcdShape aPreviousLevelGeometry,
ILcdDataObject aDataObject,
ILcdShape aMaxLevelGeometry,
ILcdModel aModel)
Deprecated.
Gets the geometry of a feature for fusing at a given level.
|
ILcdShape getGeometry(int aLevel, int aScaleDenominator, ILcdShape aPreviousLevelGeometry, ILcdDataObject aDataObject, ILcdShape aMaxLevelGeometry, ILcdModel aModel)
At the most detailed (maximum) level, aMaxLevelGeometry
will be used. This is the
original unsimplified asset geometry of a feature, converted to the coverage. This converted
geometry has the following properties:
ILcdPolyline
s, ILcdPolygons, ILcdSurface
s (with polygons) and
ILcdText
s.
All recursive shape lists in the asset geometry are flattened and complex polygons are
converted to polygons or surfaces.L
, this geometry provider can indicate the geometry by returning one of the following:
L+1
: the previous geometry should be keptnull
: the feature should be omitted from this level onwards (omitted at levels L, L-1, L-2, ..., 0
)When a new geometry is used at a given level, the bounds of the new geometry must be a subset of the bounds of the original geometry. Note that a new geometry will be unrelated to the geometry at more detailed levels.
When keeping the same geometry at a given level, it remains related to the geometry at more detailed levels, since the intersection points on the tile edges remain fixed, even when simplification is performed.
For each feature, the metadata, original geometry and asset model are provided as additional context. The previous level geometry will be the same as the original geometry as long as no new geometry has been provided.
If enabled, simplification will subsequently be performed on the provided geometry at each level. This happens independently of the geometry provider. The previous level geometry parameter will always be the unsimplified geometry.
aLevel
- the level, between maxLevel-1
and 0
aScaleDenominator
- the scale denominator for the level, corresponding to a scale of 1:denominator
aPreviousLevelGeometry
- geometry used on the previous (i.e. more detailed) level aLevel+1
aDataObject
- the data object corresponding to the featureaMaxLevelGeometry
- geometry at the maximum level (may be the same as the previous level geometry), this
is the original geometry from the asset model converted to the coverageaModel
- the asset model of the featurenull