Class ExtrusionUtils

java.lang.Object
org.oscim.utils.ExtrusionUtils

public final class ExtrusionUtils extends Object
A utility class with extrusion helper methods.
  • Field Details

  • Method Details

    • mapGroundScale

      public static float mapGroundScale(float value, float groundScale)
      Parameters:
      value - the height value
      groundScale - the ground scale of tile
      Returns:
      the corresponding height in the specific tile
    • mapPolyCoordScale

      public static void mapPolyCoordScale(GeometryBuffer buffer)
      Map the raw buffer scale to scale of coordinates