Table of Contents

Class CanonicalSplineHelper

Namespace
HelixToolkit.Wpf
Assembly
HelixToolkit.Wpf.dll

Interpolates a list of points using a canonical spline.

public static class CanonicalSplineHelper
Inheritance
CanonicalSplineHelper
Inherited Members

Methods

CreateSpline(IList<Point3D>?, double, IList<double>?, bool, double)

Creates a spline of points.

public static List<Point3D> CreateSpline(IList<Point3D>? points, double tension = 0.5, IList<double>? tensions = null, bool isClosed = false, double tolerance = 0.25)

Parameters

points IList<Point3D>

The points.

tension double

The tension.

tensions IList<double>

The tensions.

isClosed bool

True if the spline is closed.

tolerance double

The tolerance.

Returns

List<Point3D>

A list of screen points.