StraightTrajectory2D

@Serializable
@SerialName(value = "straight")
data class StraightTrajectory2D(val begin: Vector2D<Float64>, val end: Vector2D<Float64>) : Trajectory2D, LineSegment<Vector2D<Float64>>

Straight path segment. The order of start and end defines the direction

Constructors

Link copied to clipboard
constructor(begin: Vector2D<Float64>, end: Vector2D<Float64>)

Properties

Link copied to clipboard
val bearing: Angle
Link copied to clipboard
open override val begin: Vector2D<Float64>
Link copied to clipboard
open override val beginPose: Pose2D
Link copied to clipboard
open override val end: Vector2D<Float64>
Link copied to clipboard
open override val endPose: Pose2D
Link copied to clipboard
open override val length: Double

Functions

Link copied to clipboard
open override fun reversed(): StraightTrajectory2D

Produce a trajectory with reversed order of points