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

fuookami.ospf.kotlin.utils.physics.unit.SurfaceDensity.kt Maven / Gradle / Ivy

There is a newer version: 1.0.29
Show newest version
package fuookami.ospf.kotlin.utils.physics.unit

import fuookami.ospf.kotlin.utils.physics.dimension.*

data object GramPerSquareMeter : PhysicalUnit() {
    private val unit = Gram / SquaredMeter

    override val name = "gram per square meter"
    override val symbol = "gpm2"

    override val quantity = SurfaceDensity
    override val system by unit::system
    override val scale by unit::scale
}

data object KilogramPerSquareMeter : PhysicalUnit() {
    private val unit = Kilogram / SquaredMeter

    override val name = "kilogram per square meter"
    override val symbol = "kgpm2"

    override val quantity = SurfaceDensity
    override val system by unit::system
    override val scale by unit::scale
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy