class CurveRelativeParametricSurface3D: AbstractCurveRelativeSurface3D

Surface which is defined along the baseCurve. The height of the surface id defined by means of a BivariateFunction.

Fields

Name Description
val tolerance: Double

tolerable threshold value

val domain: Range<Double>

definable domain

Constructors

<init>

constructor(baseCurve: Curve3D, heightFunction: BivariateFunction)

Surface which is defined along the baseCurve. The height of the surface id defined by means of a BivariateFunction.

Parameters

Name Description
baseCurve: Curve3D

the curve along which the surface is defined

heightFunction: BivariateFunction

the height of the surface whereby the x axis is interpreted as curve position and the y axis is interpreted as lateral offset

Methods

calculatePointGlobalCSUnbounded

fun calculatePointGlobalCSUnbounded(curveRelativePoint: CurveRelativePoint2D, addHeightOffset: Double): Result<Vector3D, Exception>

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

Parameters

Name Description
curveRelativePoint: CurveRelativePoint2D

point in curve relative coordinates

addHeightOffset: Double

adds an additional height offset to the surface

ReturnValue

Name Description
Result<Vector3D, Exception>

point in cartesian coordinates