How can I know the length of each part of the arrow and what their full length?
points = {{6, 32}, {9, 53}, {18, 42}, {32, 51}};
Graphics[{Arrow[points]}]
How can I know the length of each part of the arrow and what their full length?
points = {{6, 32}, {9, 53}, {18, 42}, {32, 51}};
Graphics[{Arrow[points]}]
You can know the length of each part of the arrow and his full length in this way:
distList =
EuclideanDistance[points[[# + 1]], points[[#]]] & /@ Range[Length[points] - 1] // N
Plus @@ distList
{21.2132,14.2127,16.6433}
52.0692
N[ArcLength/@Line/@Partition[points,2,1]]
{21.2132, 14.2127, 16.6433}
N@ArcLength[Line[points]]
52.0692
EuclideanDistance @@@ Partition[points, 2, 1]– march Oct 05 '16 at 20:18Total[]afterwards. – J. M.'s missing motivation Oct 05 '16 at 20:18