data class CurveRelativePoint1D: Comparable<CurveRelativePoint1D>, 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 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: CurveRelativePoint1D): CurveRelativePoint1D

Parameters

Name Description
v: CurveRelativePoint1D

ReturnValue

Name Description
CurveRelativePoint1D

minus

operator fun minus(v: CurveRelativePoint1D): CurveRelativePoint1D

Parameters

Name Description
v: CurveRelativePoint1D

ReturnValue

Name Description
CurveRelativePoint1D

times

operator fun times(m: Double): CurveRelativePoint1D

Parameters

Name Description
m: Double

ReturnValue

Name Description
CurveRelativePoint1D

div

operator fun div(m: Double): CurveRelativePoint1D

Parameters

Name Description
m: Double

ReturnValue

Name Description
CurveRelativePoint1D

compareTo

fun compareTo(other: CurveRelativePoint1D): Int

Parameters

Name Description
other: CurveRelativePoint1D

ReturnValue

Name Description
Int

toCurveRelative2D

fun toCurveRelative2D(lateralOffset: Double): CurveRelativePoint2D

Parameters

Name Description
lateralOffset: Double

ReturnValue

Name Description
CurveRelativePoint2D

toCurveRelative3D

fun toCurveRelative3D(lateralOffset: Double, heightOffset: Double): CurveRelativePoint3D

Parameters

Name Description
lateralOffset: Double
heightOffset: Double

ReturnValue

Name Description
CurveRelativePoint3D

CompanionObject

CurveRelativePoint1D

data class CurveRelativePoint1D: Comparable<CurveRelativePoint1D>, 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: CurveRelativePoint1D