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]}]
Answer
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

Comments
Post a Comment