Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Visualization and Graphics > Computational Geometry >

FindCurvePath

FindCurvePath[{{x1, y1}, {x2, y2}, ...}]
gives an ordering of the {xi, yi} that corresponds to one or more smooth curves.
  • FindCurvePath attempts to reconstruct smooth curves defined by sets of points.
  • FindCurvePath gives a list of one or more connected curves, each specified by a disjoint subset of the {xi, yi}.
Randomly select points on a circle:
Find ordering to form a possibly smooth curve:
Plot a line through rearranged points:
Randomly select points on a circle:
In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=
Find ordering to form a possibly smooth curve:
In[3]:=
Click for copyable input
Out[3]=
Plot a line through rearranged points:
In[4]:=
Click for copyable input
Out[4]=
New in 7
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team