path-intersection.h revision 63267518b4ce196caab66ef8cbdcfc0921206b3d
#ifndef __GEOM_PATH_INTERSECTION_H
#define __GEOM_PATH_INTERSECTION_H
#include "path.h"
#include "crossing.h"
#include "sweep.h"
bool path_direction(Path const &p);
}
T t;
for(unsigned i = 0; i < a.size(); i++) {
}
}
return ret;
}
CrossingSet crossings(std::vector<Path> const &a, std::vector<Path> const &b) { return Crosser<Path>::crossings(a, b); }
};
Crossings crossings(Path const &a, Path const &b) { return crossings(std::vector<Path>(1,a), std::vector<Path>(1,b))[0]; }
};
typedef SimpleCrosser DefaultCrosser;
DefaultCrosser c = DefaultCrosser();
return c.crossings(a, b);
}
DefaultCrosser c = DefaultCrosser();
return c.crossings(a, b);
}
}
#endif
/*
Local Variables:
mode:c++
c-file-style:"stroustrup"
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
indent-tabs-mode:nil
fill-column:99
End:
*/
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :