protected Coord parsePoint() throws IOException {
  String coords=readNestedContents(reader);
  Scanner s=new Scanner(coords);
  double x, y;
  try {
    x=s.nextDouble();
    y=s.nextDouble();
  }
 catch (  RuntimeException e) {
    throw new IOException("Bad coordinate values: '" + coords + "'");
  }
  return new Coord(x,y);
}

protected Coord parsePoint ( ) throws IOException { String coords = readNestedContents ( reader ) ; Scanner s = new Scanner ( coords ) ; double x , y ; try { x = s . nextDouble ( ) ; y = s . nextDouble ( ) ; } catch ( RuntimeException e ) { throw new IOException ( "Bad coordinate values: '" + coords + "'" ) ; } return new Coord ( x , y ) ; }
parses a wkt point data from the intialized reader
