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
pointsIList<Point3D>The points.
tensiondoubleThe tension.
tensionsIList<double>The tensions.
isClosedboolTrue if the spline is closed.
tolerancedoubleThe tolerance.