code: public final Point2D getXY() {
  		if (isEmptyImpl())
  			throw new GeometryException(
  					"This operation should not be performed on an empty geometry.");
  
  		Point2D pt = new Point2D();
  		pt.setCoords(m_attributes[0], m_attributes[1]);
  		return pt;
  	}
docs: Returns XY coordinates of this point.