ParametricSweep3D

data class ParametricSweep3D(val referenceCurveXY: LateralTranslatedCurve2D, val absoluteHeight: UnivariateFunction, val objectHeightFunction: LinearFunction, val objectWidthFunction: LinearFunction, val tolerance: Double, discretizationStepSize: Double) : 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.

Parameters

referenceCurveXY

main curve along which the solid is build up

absoluteHeight

absolute height function of the referenceCurveXY

objectHeightFunction

height of the object as function of the curve relative position

objectWidthFunction

width of the object as function of the curve relative position

Constructors

Link copied to clipboard
constructor(referenceCurveXY: LateralTranslatedCurve2D, absoluteHeight: UnivariateFunction, objectHeightFunction: LinearFunction, objectWidthFunction: LinearFunction, tolerance: Double, discretizationStepSize: Double)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard

List of affine transformation matrices to move and rotate the geometric object.

Link copied to clipboard
open override val domain: Range<Double>

definable domain

Link copied to clipboard
Link copied to clipboard
open override val tolerance: Double

tolerable threshold value

Functions

Link copied to clipboard
open override fun accept(visitor: Geometry3DVisitor)

Accepting function so that a geometry visitor can pass by.

Link copied to clipboard

Calculates the polygons for the respective solid geometry and transforms it to the global coordinate system.

Link copied to clipboard
open override fun calculatePolygonsLocalCS(): NonEmptyList<Polygon3D>

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