geom.poly.check

Syntax

b = geom.poly.check(p)

Get the validity status. A polygon is valid if: 1) it has at least 3 edges; 2) the edges are all connected; and 3) the polygon is closed.

Note

Edge crossings, convexity and planarity in 3D are not checked.

Returns:b - validity status
Arguments:p - polygon pointer