void writeBoundaries(pngwriter* png, Procrustes* p) { vector<PObject*>* objs = p -> findObjects(); for (int i = 0; i < objs -> size(); i++) { PObject* o = objs -> at(i); int b = rand()%65535; int g = rand()%65535; int r = rand()%65535; writePairs(png,o->getBoundary(),r,g,b); point* c = o -> getCenter(); png -> plot(c->first,c->second,0.0,0.0,1.0); // cout << c -> first << " " << c -> second << endl; } }