LineString3D

class LineString3D(val vertices: NonEmptyList<Vector3D>, val tolerance: Double) : AbstractCurve3D

Curve specified by a sequence of vertices.

Parameters

vertices

linearly connected vertices

tolerance

allowed tolerance

Constructors

Link copied to clipboard
constructor(vertices: NonEmptyList<Vector3D>, tolerance: Double)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

List of affine transformation matrices to move and rotate the geometric object.

Link copied to clipboard
open override val domain: Range<Double>

definable domain

Link copied to clipboard

BoundType at the end of the curve

Link copied to clipboard

Length of the curve

Link copied to clipboard
open override val tolerance: Double
Link copied to clipboard
val vertices: NonEmptyList<Vector3D>

Functions

Link copied to clipboard
open override fun accept(visitor: Geometry3DVisitor)

Accepting function so that a geometry visitor can pass by.

Link copied to clipboard

Returns the end point in the global cartesian coordinate system that is located on this curve.

Link copied to clipboard

Returns a discretized curve as a LineString3D.

Link copied to clipboard

Returns the point in the global cartesian coordinate system that is located on this curve and given by a point in the curve relative coordinate system. An error is returned, if the requested point is not within this curve's domain.

Link copied to clipboard

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

Link copied to clipboard
fun calculatePointListGlobalCS(step: Double, includeEndPoint: Boolean = true): Either<GeometryException.ValueNotContainedInDomain, NonEmptyList<Vector3D>>

Returns a list of points on the curve with a step size of step.

Link copied to clipboard

Returns the point in the local cartesian coordinate system that is located on this curve and given by a point in the curve relative coordinate system. An error is returned, if the requested point is not within this curve's domain.

Link copied to clipboard

Returns the start point in the global cartesian coordinate system that is located on this curve.