Skip to contents

Given a set of Cartesian coordinates representing a polygon, this function computes the perimeter of the polygon.

Usage

.cartesian_perimeter(x, y)

Arguments

x

A vector of x coordinates.

y

A vector of y coordinates.

See also

Author

Simon Garnier, garnier@njit.edu