All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.earth.worldwind.geom.AltitudeMode.kt Maven / Gradle / Ivy

Go to download

The WorldWind Kotlin SDK (WWK) includes the library, examples and tutorials for building multiplatform 3D virtual globe applications for Android, Web and Java.

The newest version!
package earth.worldwind.geom

/**
 * Altitude mode indicates how WorldWind interprets a position's altitude component.
 * Accepted values are [ABSOLUTE], [CLAMP_TO_GROUND] and [RELATIVE_TO_GROUND].
 */
enum class AltitudeMode {
    /**
     * Indicating an altitude relative to the globe's ellipsoid. Ignores the elevation of
     * the terrain directly beneath the position's latitude and longitude.
     */
    ABSOLUTE,
    /**
     * Indicating an altitude on the terrain. Ignores a position's specified altitude, and
     * always places the position on the terrain.
     */
    CLAMP_TO_GROUND,
    /**
     * Indicating an altitude relative to the terrain. The altitude indicates height above
     * the terrain directly beneath the position's latitude and longitude.
     */
    RELATIVE_TO_GROUND;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy