dimensionClassOf

inline fun <D : Dimension> dimensionClassOf(dim: Int = -1): D
  • Returns specific Dimension by integer dim. Where D is reified type.