Units

object Units

Functions

Link copied to clipboard
fun CtoF(celsius: Double): Double
fun CtoF(celsius: Number): Double
Link copied to clipboard
fun CtoFUnit(celsius: Double): Double
Link copied to clipboard
fun degToDir(degrees: Double): String
fun degToDir(degrees: Float): String
Link copied to clipboard

vertexRotDeg is the instanced-vertex rotation (after per-phase atan2(u,-v) → unit vectors → mix → atan2), same as com.xweather.mapsgl.layers.tile.EncodedTileLayer returns for SampleExpression.ENCODED_WIND_UV. Maps to compass-from-north for degToDir glyphs (north-up map).

Link copied to clipboard
fun mbToHg(mb: Double): Double
Link copied to clipboard
fun mmToIn(mm: Double): Double
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun mToFt(meters: Double): Double
Link copied to clipboard
fun mToKm(meters: Double): Double
Link copied to clipboard
fun mToMi(meters: Double): Double