class LineString3D: AbstractCurve3D

Curve specified by a sequence of vertices.

Fields

Name Description
val domain: override

definable domain

val vertices: List<Vector3D>

linearly connected vertices

val tolerance: Double

allowed tolerance

Constructors

<init>

constructor(vertices: List<Vector3D>, tolerance: Double)

Curve specified by a sequence of vertices.

Parameters

Name Description
vertices: List<Vector3D>

linearly connected vertices

tolerance: Double

allowed tolerance

Methods

calculatePointLocalCSUnbounded

protected fun calculatePointLocalCSUnbounded(curveRelativePoint: CurveRelativeVector1D): Result<Vector3D, Exception>

Returns the point in the cartesian coordinate system that is located on this curve and given by a point in the curve relative coordinate system.

Parameters

Name Description
curveRelativePoint: CurveRelativeVector1D

point in curve relative coordinates

ReturnValue

Name Description
Result<Vector3D, Exception>

point in cartesian coordinates

CompanionObject

LineString3D

class LineString3D: AbstractCurve3D

Curve specified by a sequence of vertices.

Methods

of

fun of(vertices: List<Vector3D>, tolerance: Double): Result<LineString3D, IllegalArgumentException>

Parameters

Name Description
vertices: List<Vector3D>
tolerance: Double

ReturnValue

Name Description
Result<LineString3D, IllegalArgumentException>