data class CurveRelativePoint2D: 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 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(): CurveRelativePoint1D

ReturnValue

Name Description
CurveRelativePoint1D

toCurveRelative3D

fun toCurveRelative3D(heightOffset: Double): CurveRelativePoint3D

Parameters

Name Description
heightOffset: Double

ReturnValue

Name Description
CurveRelativePoint3D

CompanionObject

CurveRelativePoint2D

data class CurveRelativePoint2D: 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: CurveRelativePoint2D