WOLFRAM

Products
  • Wolfram|One
  • Mathematica
  • Notebook Assistant + LLM Kit
  • Compute Services
  • System Modeler
  • All Products
Consulting & Solutions
  • Wolfram Consulting
  • Industry Solutions
  • Solutions for Education
Learning & Support
  • Wolfram U Courses
  • Wolfram Language Resources
  • Wolfram Community
  • Support FAQs
  • Contact Support
Company
  • About Wolfram
  • Careers
  • Events
  • Educational Programs
  • All Sites and Resources
Wolfram|Alpha
Wolfram Cloud
Your Account
  • Your Account
  • User Portal
Search

Mechanical Systems  / Function Index  /
Previous section-----Next section

ArcLength
2D/3D

• 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.

Further Examples

Load the Modeler2D package.

In[1]:=

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.

In[2]:=
Out[3]=
Out[4]=

The spline is a 2D parametric function, and can be plotted as such.

In[5]:=

Out[5]=

Here is a spline with the ends closed upon themselves.

In[6]:=
Out[6]=

Here is a spline with specific direction vectors at the ends.

In[7]:=
Out[7]=

Here are all three splines shown together.

In[8]:=

Out[8]=

Here is a SplineFunction with values given for the independent variable at each knot point.

In[9]:=
Out[9]=
In[10]:=
Out[10]=

Here is the arc length of the spline, also expressed as a function of the independent variable.

In[11]:=
Out[11]=
Out[12]=
In[13]:=


  • Products
  • Wolfram|One
  • Mathematica
  • Notebook Assistant + LLM Kit
  • Compute Services
  • System Modeler

  • Wolfram|Alpha Notebook Edition
  • Wolfram|Alpha Pro
  • Mobile Apps

  • Wolfram Engine
  • Wolfram Player

  • Volume & Site Licensing
  • Server Deployment Options
  • Consulting
  • Wolfram Consulting
  • Repositories
  • Data Repository
  • Function Repository
  • Community Paclet Repository
  • Neural Net Repository
  • Prompt Repository

  • Wolfram Language Example Repository
  • Notebook Archive
  • Wolfram GitHub
  • Learning
  • Wolfram U
  • Wolfram Language Documentation
  • Webinars & Training
  • Educational Programs

  • Wolfram Language Introduction
  • Fast Introduction for Programmers
  • Fast Introduction for Math Students
  • Books

  • Wolfram Community
  • Wolfram Blog
  • Public Resources
  • Wolfram|Alpha
  • Wolfram Problem Generator
  • Wolfram Challenges

  • Computer-Based Math
  • Computational Thinking
  • Computational Adventures

  • Demonstrations Project
  • Wolfram Data Drop
  • MathWorld
  • Wolfram Science
  • Wolfram Media Publishing
  • Customer Resources
  • Store
  • Product Downloads
  • User Portal
  • Your Account
  • Organization Access

  • Support FAQ
  • Contact Support
  • Company
  • About Wolfram
  • Careers
  • Contact
  • Events
Facebook X Twitch LinkedIn YouTube Wolfram
© 2025 Wolfram | Legal & Privacy Policy |
English
  • en