12 #include "bLibPoint.h"
13 #include "bLibShape.h"
34 void test1(
string const& filename)
36 std::vector<bLib::bBox> vRect;
38 assert(p2r.
read(filename));
46 void test2(
string const& filename)
48 std::vector<bLib::bBox> vRect;
50 assert(p2r.
read(filename));
58 void test3(
string const& filename)
60 std::vector<bLib::bBox> vRect;
62 assert(p2r.
read(filename));
73 int main(
int argc,
char** argv)
81 else cout <<
"at least 1 argument is required" << endl;
Geometry traits for bLib, include this file when bLib is used if your point class setting is differen...
bool read(string const &filename)
read polygon from file try to be compatible to gnuplot format
a class implement conversion from manhattan polygon to rectangle
void test1(string const &filename)
test bLib API
void print(string const &filename) const
print polygon to file in gnuplot format
void test2(string const &filename)
test std::list
a generic implementation of polygon-to-rectangle conversion
int main(int argc, char **argv)
main function requires an input benchmark in gnuplot format
namespace for Limbo.Geometry
horizontal/vertical slicing and choose rectangle with larger area every time
void test3(string const &filename)
test std::set