Skip to main content

Class: SplineInterpolator

(abstract) PathBuilding.Pipeline.SplineInterpolator()

Catmull-Rom spline interpolator.Provided with Catmull-Rom spline control points, produces multiple sample points of the same kind along the spline trajectory.

Constructor

(abstract) new SplineInterpolator()

Since:

  • version 3.0

Extends

Methods

(abstract) discretize()

process(input, typeopt, lastSegmentopt)

Invokes input processing of particular implementation

Parameters:
NameTypeAttributesDefaultDescription
inputPathBuilding.Pipeline.InputNewly added stroke data that must be processed
typePathBuilding.Pipeline.SegmentType<optional>DataSequenceProcessor.SegmentType.INTEGRALInput type
lastSegmentboolean<optional>trueApplicable for SegmentType.ADDITION only, describe end of the input

Overrides:

reset()

Resets the processor to its initial state

Overrides:

Type Definitions

Input

SplineInterpolator input type

Type:

Output

SplineInterpolator output type

Type:

PipelineStage

Type:
Properties:
NameTypeAttributesDefaultDescription
indexint<optional>4
previousPathBuilding.Pipeline.SplineProducer
nextPathBuilding.Pipeline.BrushApplier<optional>

Home