data class CurveRelativeVector1D: Comparable<CurveRelativeVector1D>, Any
Fields
Name | Description |
---|---|
val curvePosition: Double
|
distance between the start of the curve and the point to be referenced |
Constructors
<init>
constructor(curvePosition: Double)
Point in a curve relative coordinate system in 1D. This means that only points can be referenced which are positioned on the curve.
Parameters
Name | Description |
---|---|
curvePosition: Double
|
distance between the start of the curve and the point to be referenced |
Methods
plus
operator fun plus(v: CurveRelativeVector1D): CurveRelativeVector1D
Parameters
Name | Description |
---|---|
v: CurveRelativeVector1D
|
ReturnValue
Name | Description |
---|---|
CurveRelativeVector1D
|
minus
operator fun minus(v: CurveRelativeVector1D): CurveRelativeVector1D
Parameters
Name | Description |
---|---|
v: CurveRelativeVector1D
|
ReturnValue
Name | Description |
---|---|
CurveRelativeVector1D
|
times
operator fun times(m: Double): CurveRelativeVector1D
Parameters
Name | Description |
---|---|
m: Double
|
ReturnValue
Name | Description |
---|---|
CurveRelativeVector1D
|
div
operator fun div(m: Double): CurveRelativeVector1D
Parameters
Name | Description |
---|---|
m: Double
|
ReturnValue
Name | Description |
---|---|
CurveRelativeVector1D
|
compareTo
fun compareTo(other: CurveRelativeVector1D): Int
Parameters
Name | Description |
---|---|
other: CurveRelativeVector1D
|
ReturnValue
Name | Description |
---|---|
Int
|
toCurveRelative2D
fun toCurveRelative2D(lateralOffset: Double): CurveRelativeVector2D
Parameters
Name | Description |
---|---|
lateralOffset: Double
|
ReturnValue
Name | Description |
---|---|
CurveRelativeVector2D
|
toCurveRelative3D
fun toCurveRelative3D(lateralOffset: Double, heightOffset: Double): CurveRelativeVector3D
Parameters
Name | Description |
---|---|
lateralOffset: Double
|
|
heightOffset: Double
|
ReturnValue
Name | Description |
---|---|
CurveRelativeVector3D
|
CompanionObject
CurveRelativeVector1D
data class CurveRelativeVector1D: Comparable<CurveRelativeVector1D>, Any
Point in a curve relative coordinate system in 1D. This means that only points can be referenced which are positioned on the curve.
Fields
Name | Description |
---|---|
val ZERO: CurveRelativeVector1D
|
Point in a curve relative coordinate system in 1D. This means that only points can be referenced which are positioned on the curve.