getArea method
Returns the area of this GeometryCollection
@return the area of the polygon
Implementation
double getArea() {
double area = 0.0;
for (int i = 0; i < geometries.length; i++) {
area += geometries[i].getArea();
}
return area;
}