geom.poly.node

Syntax

n = geom.poly.node(p,i)

Get a node.

Note

If the polygon is invalid because it is not yet closed, this function cannot be used to access the last node on the trailing edge.

Returns:

n - node pointer

Arguments:

p - polygon pointer

i - node index with 1 \(\le\) i \(\le\) geom.poly.size