diff --git a/geom-exp.cpp b/geom-exp.cpp index 2aa3fa7a..4ba117e6 100644 --- a/geom-exp.cpp +++ b/geom-exp.cpp @@ -763,6 +763,18 @@ void runGeometryExperiments() { } #if CAP_COMMANDLINE + +eGeometry readGeo(const string& ss) { + bool numeric = true; + for(char c: ss) if(c < '0' || c > '9') numeric = false; + if(numeric) return eGeometry(atoi(ss.c_str())); + for(int i=0; i