FloatSize3d


class FloatSize3d


Size of a 3d object represented as a Float, such as the dimensions of a spatial volume in meters.

Summary

Public constructors

FloatSize3d(width: Float, height: Float, depth: Float)

Public functions

operator FloatSize3d
div(divisor: Float)

Returns a new FloatSize3d that's uniformly divided by the divisor.

open operator Boolean
equals(other: Any?)
open Int
operator FloatSize3d
times(scalar: Float)

Returns a new FloatSize3d that's uniformly multiplied by the scalar.

FloatSize2d

Returns a new FloatSize2d with the same width and height as this FloatSize3d.

open String

Public properties

Float
Float
Float

Public constructors

FloatSize3d

Added in 1.0.0-alpha05
FloatSize3d(width: Float = 0.0f, height: Float = 0.0f, depth: Float = 0.0f)

Public functions

div

Added in 1.0.0-alpha05
operator fun div(divisor: Float): FloatSize3d

Returns a new FloatSize3d that's uniformly divided by the divisor.

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

times

Added in 1.0.0-alpha05
operator fun times(scalar: Float): FloatSize3d

Returns a new FloatSize3d that's uniformly multiplied by the scalar.

to2d

Added in 1.0.0-alpha05
fun to2d(): FloatSize2d

Returns a new FloatSize2d with the same width and height as this FloatSize3d.

toString

open fun toString(): String

Public properties

depth

Added in 1.0.0-alpha05
val depthFloat

height

Added in 1.0.0-alpha05
val heightFloat

width

Added in 1.0.0-alpha05
val widthFloat