/* 1 rip.cpp: Example application which uses the librip to calculate the interpolation of two regions in textual nested list representation. */ #include #include #include #include #include using namespace std; static RList file2rlist(char *fname) { ifstream i1(fname, std::fstream::in); RList ret = RList::parse(i1); return ret; } // Program entry point int main (int argc, char **argv) { const char *arg = "distance"; if (argc < 5) { cerr << "Usage: rip