class CurveOnParametricSurface3D: 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.

Fields

Name Description
val tolerance: Double

tolerable threshold value

val domain: Range<Double>

definable domain

Constructors

<init>

constructor(baseSurface: AbstractCurveRelativeSurface3D, lateralOffsetFunction: UnivariateFunction, heightOffsetFunction: UnivariateFunction)

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

Name Description
baseSurface: AbstractCurveRelativeSurface3D

the base surface on which this curve lies

lateralOffsetFunction: UnivariateFunction

lateral offset to the curve of the baseSurface

heightOffsetFunction: UnivariateFunction

height offset to the curve of the baseSurface

Methods

calculatePointLocalCSUnbounded

protected fun calculatePointLocalCSUnbounded(curveRelativePoint: CurveRelativePoint1D): 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: CurveRelativePoint1D

point in curve relative coordinates

ReturnValue

Name Description
Result<Vector3D, Exception>

point in cartesian coordinates

CompanionObject

CurveOnParametricSurface3D

class CurveOnParametricSurface3D: 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.

Methods

onCompleteSurface

fun onCompleteSurface(baseSurface: AbstractCurveRelativeSurface3D, lateralOffsetFunction: UnivariateFunction, heightOffsetFunction: UnivariateFunction): CurveOnParametricSurface3D

Returns a CurveOnParametricSurface3D. Throws an error, if the lateralOffsetFunction or the heightOffsetFunction is not defined everywhere, where the baseSurface is defined.

Parameters

Name Description
baseSurface: AbstractCurveRelativeSurface3D
lateralOffsetFunction: UnivariateFunction
heightOffsetFunction: UnivariateFunction

ReturnValue

Name Description
CurveOnParametricSurface3D