CurveOnParametricSurface3D

data class CurveOnParametricSurface3D(baseSurface: AbstractCurveRelativeSurface3D, lateralOffsetFunction: UnivariateFunction, heightOffsetFunction: UnivariateFunction = LinearFunction.X_AXIS) : AbstractCurve3D

Curve that lies on a parametric surface. This curve is parallel to the baseSurface's curve but defined by a laterally translated by a lateralOffsetFunction and vertically translated by a heightOffsetFunction.

If the domain of lateralOffsetFunction and/or heightOffsetFunction is not defined everywhere where the baseSurface is defined, the CurveOnParametricSurface3D is only defined, where all domains overlap.

Parameters

baseSurface

the base surface on which this curve lies

lateralOffsetFunction

lateral offset to the curve of the baseSurface

heightOffsetFunction

height offset to the curve of the baseSurface

Constructors

Link copied to clipboard
constructor(baseSurface: AbstractCurveRelativeSurface3D, lateralOffsetFunction: UnivariateFunction, heightOffsetFunction: UnivariateFunction = LinearFunction.X_AXIS)

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

tolerable threshold value

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.