View source: R/pointsOnOutline.r

getPointAlongOutline | R Documentation |

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

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

`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 |

returns a vector containing the resulting coordinate

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.