Package org.oscim.utils
Class ExtrusionUtils
java.lang.Object
org.oscim.utils.ExtrusionUtils
A utility class with extrusion helper methods.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic floatmapGroundScale(float value, float groundScale) static voidmapPolyCoordScale(GeometryBuffer buffer) Map the raw buffer scale to scale of coordinates
-
Field Details
-
REF_TILE_SIZE
public static final float REF_TILE_SIZE- See Also:
-
-
Method Details
-
mapGroundScale
public static float mapGroundScale(float value, float groundScale) - Parameters:
value- the height valuegroundScale- the ground scale of tile- Returns:
- the corresponding height in the specific tile
-
mapPolyCoordScale
Map the raw buffer scale to scale of coordinates
-