• ArcLength[spline] returns a 1D cubic SplineFunction object approximately representing the arc length of the given spline. The spline must be a 2D or 3D SplineFunction object such as is returned by SplineFit.
• The spline must be a single SplineFunction of higher dimensionality, not a list of 1D SplineFunction objects.
• ArcLength uses NIntegrate to approximate the arc length of each segment of the spline.
Load the Modeler2D package.
Create a SplineFunction representing the path between a sequence of 2D points, and evaluate it halfway between the first and second points. Each end of the spline will have zero curvature.
The spline is a 2D parametric function, and can be plotted as such.
Here is a spline with the ends closed upon themselves.
Here is a spline with specific direction vectors at the ends.
Here are all three splines shown together.
Here is a SplineFunction with values given for the independent variable at each knot point.
Here is the arc length of the spline, also expressed as a function of the independent variable.