code: public double getDistance(Coordinate coordinate) {
  		double distance = Double.MAX_VALUE;
  		if (!isEmpty()) {
  			for (LineString lineString : lineStrings) {
  				double d = lineString.getDistance(coordinate);
  				if (d < distance) {
  					distance = d;
  				}
  			}
  		}
  		return distance;
  	}
docs: Return the minimal distance between this coordinate and any vertex of the geometry.
  
  @return Return the minimal distance