code: public Coordinate getCoordinateN(int n) {
  		if (isEmpty()) {
  			return null;
  		}
  		if (n >= 0 && n < coordinates.length) {
  			return coordinates[n];
  		}
  		return null;
  	}
docs: Return a coordinate, or null.
  
  @param n
  Index in the geometry. This can be an integer value or an array of values.
  @return A coordinate or null.