Calculate area of an enclosed irregular shape



Hi,

I have a series of approx. 40 points (x,y) that make up an irregular
shape.

Is there a simple library / function that I can call that will
calculate the enclosed area of this shape?

TIA.

PG
.