get_polygon_length {elastes}R Documentation

Calculate the polygon length of a curve

Description

Calculate the polygon length of a curve

Usage

get_polygon_length(curve)

Arguments

curve

a data.frame with observed points in each row. Each variable is one coordinate direction. If there is a variable t, t_optim or id, it is treated as the time parametrization, not as an additional coordinate.

Value

The length of curve, treating it as a polygon.


[Package elastes version 0.1.7 Index]