public static Double getMaxX ( Geometry geom ) { if ( geom != null ) { return geom . getEnvelopeInternal ( ) . getMaxX ( ) ; } else { return null ; } }
Returns the maximal x - value of the given geometry .