bool Geometry::readOnePoint(RFile &f) { int x; int y; double c; try { x = f.readInt(); y = f.readInt(); c = f.readDouble(); } catch (RFileException &e) { return false; } points_.push_back(PointCharge(x, y, c)); return true; }
void Geometry::readSize(RFile &f) { size_.first = f.readInt(); size_.second = f.readInt(); }