Package-level declarations

Types

Link copied to clipboard
class RectifiedContour(contour: ShapeContour, distanceTolerance: Double = 0.5, lengthScale: Double = 1.0) : RectifiedPath<Vector2>
Link copied to clipboard
abstract class RectifiedPath<T : EuclideanVector<T>>(val originalPath: Path<T>, distanceTolerance: Double = 0.5, lengthScale: Double = 1.0)

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.

Link copied to clipboard
class RectifiedPath3D(contour: Path3D, distanceTolerance: Double = 0.5, lengthScale: Double = 1.0) : RectifiedPath<Vector3>

Functions

Link copied to clipboard
fun Path3D.rectified(distanceTolerance: Double = 0.5, lengthScale: Double = 1.0): RectifiedPath3D
fun Segment2D.rectified(distanceTolerance: Double = 0.5, lengthScale: Double = 1.0): RectifiedContour
fun ShapeContour.rectified(distanceTolerance: Double = 0.5, lengthScale: Double = 1.0): RectifiedContour

create a rectified contour