SplinePathBuilder class

SplinePathBuilder class

The SplinePathBuilder class is designed to construct a smooth path by transforming Centripetal Catmull–Rom splines into Bezier curves. It offers a method to generate a path that smoothly interpolates through a set of points, providing a balance between fidelity to the points and smoothness of the curve.

The SplinePathBuilder type exposes the following members:

Constructors

ConstructorDescription
initInitializes a new instance of the SplinePathBuilder class.
initInitializes a new instance of the SplinePathBuilder class.
initInitializes a new instance of the SplinePathBuilder class.

Properties

PropertyDescription
trace_smootherGets or sets the trace smoother.
trace_simplifierGets or sets the trace simplifier.
tensionThe value of the tensions affects how sharply the curve bends at the (interpolated) control points.
It must be in the range from 0 to 1. Any higher or lower values will be aligned with the minimum and maximum values of this range, accordingly.

Methods

MethodDescription
build

See Also