Description Usage Arguments Details Value Author(s) See Also Examples

Find a central internal point of a polygon

1 | ```
polyintern(P, n = 10, PLOT=FALSE)
``` |

`P` |
Polygon,xy |

`n` |
grid dimension over polygon, n by n |

`PLOT` |
logical, TRUE=plot |

A grid is laid over the polygo, the internal points are extracted and for each one the shortest distance to te perimeter is determined. Then the point with the largest distance is returned.

`x` |
x coordinate of point |

`y` |
y coordinate of point |

`zi` |
index of point |

`nx` |
internal grid points x |

`ny` |
internal grid points y |

`ef` |
internal grid points distances to perimeter |

Jonathan M. Lees<[email protected]>

pline

1 2 3 4 5 6 7 8 | ```
X=list()
X$x=c(11.991,11.942,11.891,11.834,11.775,11.725,11.691,
11.712,11.746,11.804,11.865,11.957,11.991)
X$y=c(-2.0091,-2.0699,-2.0823,-2.1091,-2.1419,
-2.1394,-2.1165,-2.0604,-2.0196,-1.9847,-1.9668,-1.9777,-2.0091)
polyintern(X, n = 10, PLOT=TRUE)
``` |

GEOmap documentation built on May 30, 2017, 3:58 a.m.

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.