Package-level declarations

Types

Link copied to clipboard
data class Polar2d(val theta: Double, val radius: Double)

Represents a coordinate in the polar coordinate system.

Link copied to clipboard

This is an immutable object representing robot configuration.

Properties

Link copied to clipboard
const val PI_2: Double

PI / 2

Functions

Link copied to clipboard
fun <T> T?.isNotNull(): Boolean

Returns true if this is not null.

Link copied to clipboard
fun <T> T?.isNull(): Boolean

Returns true if this is null.

Link copied to clipboard
inline fun Vector2d.map(f: (Double) -> Double): Vector2d

Applies function f to both Vector2d.x and Vector2d.y, returning the result.

Link copied to clipboard

Rounds a number to a certain number of decimal places.