geom.poly.area

Syntax

f = geom.poly.area(p)

Get the polygon area. The polygon must be valid.

Note

If the polygon is nonplanar in 3D, the return value is approximate and based on assumptions about the surface shape.

Returns:f - polygon area
Arguments:p - polygon pointer