data class CurveRelativeVector2D: Any
Fields
Name | Description |
---|---|
val curvePosition: Double
|
distance between the start of the curve and the point to be referenced |
val lateralOffset: Double
|
lateral offset that is perpendicular to the curve at the curvePosition |
Constructors
<init>
constructor(curvePosition: Double, lateralOffset: Double)
Point in a curve relative coordinate system in 2D. This means that only points can be referenced which are on the curve or laterally translated to the curve.
Parameters
Name | Description |
---|---|
curvePosition: Double
|
distance between the start of the curve and the point to be referenced |
lateralOffset: Double
|
lateral offset that is perpendicular to the curve at the curvePosition |
Methods
toCurveRelative1D
fun toCurveRelative1D(): CurveRelativeVector1D
ReturnValue
Name | Description |
---|---|
CurveRelativeVector1D
|
toCurveRelative3D
fun toCurveRelative3D(heightOffset: Double): CurveRelativeVector3D
Parameters
Name | Description |
---|---|
heightOffset: Double
|
ReturnValue
Name | Description |
---|---|
CurveRelativeVector3D
|
CompanionObject
CurveRelativeVector2D
data class CurveRelativeVector2D: Any
Point in a curve relative coordinate system in 2D. This means that only points can be referenced which are on the curve or laterally translated to the curve.
Fields
Name | Description |
---|---|
val ZERO: CurveRelativeVector2D
|
Point in a curve relative coordinate system in 2D. This means that only points can be referenced which are on the curve or laterally translated to the curve.