get_polygon_length: Calculate the polygon length of a curve

View source: R/utils.R

get_polygon_lengthR 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.


elastes documentation built on Aug. 21, 2023, 5:12 p.m.