Pose2D

@Serializable(with = Pose2DSerializer::class)
interface Pose2D : Vector2D<Float64>

Combination of Vector and its view angle (clockwise from positive y-axis direction)

Inheritors

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
abstract val bearing: Angle
Link copied to clipboard
val Vector2D<Float64>.bearing: Angle
Link copied to clipboard
abstract val coordinates: Vector2D<Float64>
Link copied to clipboard
open override val size: Int
Link copied to clipboard
abstract val x: Float64
Link copied to clipboard
abstract val y: Float64

Functions

Link copied to clipboard
open operator override fun get(index: Int): Float64
Link copied to clipboard
open operator override fun iterator(): Iterator<Float64>
Link copied to clipboard
abstract fun reversed(): Pose2D

Reverse the direction of this pose to the opposite, keeping other parameters the same

Link copied to clipboard
abstract override fun toString(): String