abstract class AbstractCurveRelativeSurface3D: DefinableDomain<Double>, Tolerable, Any

Abstract class for all geometric surface objects in an curve relative coordinate system in 3D.

Constructors

Name Description
constructor()

Abstract class for all geometric surface objects in an curve relative coordinate system in 3D.

Methods

calculatePointGlobalCS

fun calculatePointGlobalCS(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. An error is returned, if the requested point is not within this curve's domain.

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

calculatePointGlobalCSUnbounded

abstract 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