getLength method
Returns the length of this Geometry
.
Linear geometries return their length.
Areal geometries return their perimeter.
They override this function to compute the area.
Others return 0.0
@return the length of the Geometry
Implementation
double getLength() {
return 0.0;
}