RectifiedPath
abstract class RectifiedPath<T : EuclideanVector<T>>(val originalPath: Path<T>, distanceTolerance: Double = 0.5, lengthScale: Double = 1.0)(source)
Provides a rectified representation of a path in N-dimensional Euclidean space. Rectification refers to the process of mapping the parameter space of the path to a uniform distribution based on arc length.
Parameters
T
The specific type of Euclidean vector representing the dimension of the path.
distanceTolerance
The acceptable tolerance for the distance error in the rectification process. Default value is 0.5.
lengthScale
Scale factor to adjust the length of the Look-Up Table (LUT) for the rectified path. Default value is 1.0.
Inheritors
Functions
Link copied to clipboard
Computes an inverse rectified t-value for the given normalized t
parameter. This method determines the original parameter space value from a rectified (uniformly distributed) parameter space value.
Link copied to clipboard
computes a rectified t-value for originalPath