getLength method
Returns the perimeter of this Polygon
@return the perimeter of the polygon
Implementation
double getLength() {
double len = 0.0;
len += shell!.getLength();
for (int i = 0; i < holes!.length; i++) {
len += holes![i].getLength();
}
return len;
}