getPointAlongOutline: Get a point along a line with a given distance from the start...

View source: R/pointsOnOutline.r

getPointAlongOutlineR Documentation

Get a point along a line with a given distance from the start of the line

Description

Get a point along a line with a given distance from the start of the line

Usage

getPointAlongOutline(mat, dist = 15, reverse = FALSE)

Arguments

mat

matrix with rows containing sequential coordinates

dist

numeric: distance from the first point on the line.

reverse

logical: if TRUE start from the end of the line

Value

returns a vector containing the resulting coordinate


Morpho documentation built on Feb. 16, 2023, 10:51 p.m.