Pink 0.9
|
computes the lengths of splines which are specified by their control points in a text file More...
computes the lengths of splines which are specified by their control points in a text file
Usage: lengthsplines splines.txt out.list
Description: Computes the lengths of splines which are specified by their control points in a text file.
The file format for splines.txt is the following for 2D:
The file splines.txt contains a list of splines under the format:
d nb_splines
nb_points_spline_1 x11 y11 x12 y12 ...
nb_points_spline_2 x21 y21 x22 y22 ...
nb_points_spline_3 x31 y31 x32 y32 ...
...
or, in 3D:
D nb_splines
nb_points_spline_1 x11 y11 z11 x12 y12 z12 ...
nb_points_spline_2 x21 y21 z21 x22 y22 z22 ...
nb_points_spline_3 x31 y31 z31 x32 y32 z32 ...
...
Types supported: spline 2D, spline 3D
Category: geo