GetLineLength()
Summary
Returns the length of the line specified by an array of coordinates.
Changes
Added to Version 2013.
Syntax
length = GetLineLength(array coords)
| Argument | Contents |
|---|---|
| coords | An array of coords |
Returns
A real number with the length of the line in current map units.
Notes
-
For more information on coords, see Compound Variables.
Example
hull_array = ConvexHull(19023)
length = GetLineLength(hull_array)
See Also
| Function | Summary |
|---|---|
| GetFeatureLength() | Returns the length of the feature in current map units |
| GetPolygonPerimeter() | Gets the perimeter of a closed polygon |