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

commonMain.earth.worldwind.ogc.gml.GmlEnvelope.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.ogc.gml

import kotlinx.serialization.Serializable
import nl.adaptivity.xmlutil.serialization.XmlSerialName

@Serializable
@XmlSerialName("Envelope", GML32_NAMESPACE, GML32_PREFIX)
data class GmlEnvelope(
    @XmlSerialName("lowerCorner", GML32_NAMESPACE, GML32_PREFIX)
    val lowerCorner: GmlDirectPosition,
    @XmlSerialName("upperCorner", GML32_NAMESPACE, GML32_PREFIX)
    val upperCorner: GmlDirectPosition,
    val srsName: String? = null,
    val srsDimension: String? = null,
    private val axisLabels: String? = null,
    private val uomLabels: String? = null
) {
    val axisLabelsList get() = axisLabels?.split(" ") ?: emptyList()
    val uomLabelsList get() = uomLabels?.split(" ") ?: emptyList()
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy