class SectionedCurveRelativeParametricSurface3D: AbstractCurveRelativeSurface3D

Cuts out a section from the completeCurveRelativeSurface. The resulting domain of the SectionedCurveRelativeParametricSurface3D starts at 0.0 and ends at the length of the section.

Fields

Name Description
val domain: Range<Double>

definable domain

val tolerance: Double

tolerable threshold value

Constructors

<init>

constructor(completeCurveRelativeSurface: AbstractCurveRelativeSurface3D, section: Range<Double>)

Cuts out a section from the completeCurveRelativeSurface. The resulting domain of the SectionedCurveRelativeParametricSurface3D starts at 0.0 and ends at the length of the section.

Parameters

Name Description
completeCurveRelativeSurface: AbstractCurveRelativeSurface3D

complete curve relative surface that is to be cut

section: Range<Double>

the range that is cut out from the completeCurveRelativeSurface's domain

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