getPointAlongOutline {Morpho}R 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


[Package Morpho version 2.12 Index]