Function: area

Syntax

area (<point[ ]>{,<string>})

Type

numeric

Returns

The area of a polygon.

Parameters

Example

The following should yield an area of 1 (meter).

units = ’cm’
point myps[] = <p0, e:100, n:100, w:100>
numeric ar = area(myps,’m’)

See Also

Identifiers:

units (string)