in3Utils.geoTrans.computeLengthOfLine2D

computeLengthOfLine2D(x, y)[source]

compute distance along a line in 2D

Parameters

x, y (np array) – x, y coordinates of line

Returns

s – accumulated distance measured along line from point to point

Return type

np array