LateralTranslatedCurve2D

data class LateralTranslatedCurve2D(baseCurve: AbstractCurve2D, lateralTranslationFunction: UnivariateFunction, val tolerance: Double) : AbstractCurve2D

Laterally translates a baseCurve by a lateralTranslationFunction. This enables for example the representation of the baseCurve moved two units to the left.

Parameters

baseCurve

base curve to be laterally translated

lateralTranslationFunction

function which defines the lateral translation

Constructors

Link copied to clipboard
constructor(baseCurve: AbstractCurve2D, lateralTranslationFunction: UnivariateFunction, tolerance: Double)

Properties

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

BoundType at the end of the curve

Link copied to clipboard

length of the curve

Link copied to clipboard
open override val tolerance: Double

tolerable threshold value

Functions

Link copied to clipboard
fun addLateralTranslation(lateralTranslationFunction: UnivariateFunction, multiplier: Double = 1.0): LateralTranslatedCurve2D

Returns a LateralTranslatedCurve2D with an additional translation of lateralTranslationFunction.

Link copied to clipboard

Returns the global point in the global cartesian coordinate system that is located on this curve 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.

Link copied to clipboard

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

Link copied to clipboard

Returns the point in the local cartesian coordinate system that is located on this curve 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.

Link copied to clipboard

Returns a pose at the position along the curve curveRelativePoint.

Link copied to clipboard

Returns a pose at the position along the curve curveRelativePoint. An error is returned, if the requested point is not within this curve's domain.

Link copied to clipboard

Returns the orientation in the global cartesian coordinate system that is tangential to this curve at a given point which is given in a curve relative coordinate system.

Link copied to clipboard

Returns the orientation in the global cartesian coordinate system that is tangential to this curve at a given point which is given in a curve relative coordinate system. An error is returned, if the requested point is not within this curve's domain.

Link copied to clipboard

Returns the orientation in the local cartesian coordinate system that is tangential to this curve at a given point which is given in a curve relative coordinate system. An error is returned, if the requested point is not within this curve's domain.