Learn R Programming

inlmisc (version 0.5.5)

FindPolyNodes: 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.

References

https://stackoverflow.com/questions/643995