FindPolyNodes: Find Polygon Nodes

View source: R/Grid2Polygons.R

FindPolyNodesR Documentation

Find Polygon Nodes

Description

Find Polygon Nodes

Usage

FindPolyNodes(s)

Arguments

s

'matrix'. A 2-column table giving start- and end-node indexes for each segment in a level.

Value

An object of class 'list'. Vector components giving node indexes for each polygon ring. The status of the polygon as a hole or an island is taken from the ring direction, with clockwise meaning island, and counter-clockwise meaning hole.

Author(s)

J.C. Fisher, U.S. Geological Survey, Idaho Water Science Center

References

https://stackoverflow.com/questions/643995


USGS-R/inlmisc documentation built on Sept. 17, 2022, 2:38 a.m.