Package-level declarations

Types

Link copied to clipboard
data class AbsoluteDistance(val x: Double = 0.0, val y: Double = 0.0, val z: Double = 0.0) : Distance

A Distance with the exact distance in each direction

Link copied to clipboard
data class DegreesRotation(val xRotation: Double = 0.0, val yRotation: Double = 0.0, val zRotation: Double = 0.0, val rotationOrder: List<RotationAxis> = listOf(RotationAxis.ROTATE_Z, RotationAxis.ROTATE_X)) : Rotation

A Rotation specified in degrees

Link copied to clipboard
interface Distance
Link copied to clipboard
data class Equation(val coefficients: List<Double> = listOf())

An equation of the form ax^0 + bx^1 ... mx^n. Each coefficient corresponds with x to the index of that coefficient, i.e. the coefficient at index 2 would be associated with x^2.

Link copied to clipboard
data class PercentDistance(val x: Double, val y: Double, val z: Double) : Distance

A Distance that specifies a percentage of the full distance covered by LEDs in that direction that should be traveled. 100.0 represents the full distance.

Link copied to clipboard
data class RadiansRotation(val xRotation: Double = 0.0, val yRotation: Double = 0.0, val zRotation: Double = 0.0, val rotationOrder: List<RotationAxis> = listOf(RotationAxis.ROTATE_Z, RotationAxis.ROTATE_X)) : Rotation

A Rotation specified in radians

Link copied to clipboard
interface Rotation
Link copied to clipboard