data class ParametricSweep3D: AbstractSolid3D, DefinableDomain<Double>, Tolerable

Represents a parametric sweep in 3D. This refers to a geometry solid, which is defined by a referenceCurveXY. The width and height of the solid is defined as functions along the reference curve.

Fields

Name Description
val domain: Range<Double>

definable domain

val referenceCurveXY: LateralTranslatedCurve2D

main curve along which the solid is build up

val absoluteHeight: UnivariateFunction

absolute height function of the referenceCurveXY

val objectHeightFunction: LinearFunction

height of the object as function of the curve relative position

val objectWidthFunction: LinearFunction

width of the object as function of the curve relative position

val tolerance: Double

tolerable threshold value

Constructors

<init>

constructor(referenceCurveXY: LateralTranslatedCurve2D, absoluteHeight: UnivariateFunction, objectHeightFunction: LinearFunction, objectWidthFunction: LinearFunction, tolerance: Double, discretizationStepSize: Double)

Represents a parametric sweep in 3D. This refers to a geometry solid, which is defined by a referenceCurveXY. The width and height of the solid is defined as functions along the reference curve.

Parameters

Name Description
referenceCurveXY: LateralTranslatedCurve2D

main curve along which the solid is build up

absoluteHeight: UnivariateFunction

absolute height function of the referenceCurveXY

objectHeightFunction: LinearFunction

height of the object as function of the curve relative position

objectWidthFunction: LinearFunction

width of the object as function of the curve relative position

tolerance: Double
discretizationStepSize: Double

Methods

calculatePolygonsLocalCS

fun calculatePolygonsLocalCS(): Result, Exception><List<Polygon3D>, Exception>

Calculates the polygons for the respective solid geometry within the local coordinate system of the surface.

ReturnValue

Name Description
Result, Exception><List<Polygon3D>, Exception>

accept

fun accept(visitor: Geometry3DVisitor)

Accepting function so that a geometry visitor can pass by.

Parameters

Name Description
visitor: Geometry3DVisitor

ReturnValue

Name Description
Unit

CompanionObject

ParametricSweep3D

data class ParametricSweep3D: AbstractSolid3D, DefinableDomain<Double>, Tolerable

Represents a parametric sweep in 3D. This refers to a geometry solid, which is defined by a referenceCurveXY. The width and height of the solid is defined as functions along the reference curve.

Fields

Name Description
const DEFAULT_STEP_SIZE: Double