mirror of https://github.com/CGAL/cgal
Added new type masks for point and subcurve benches for the Sweep Line.
This commit is contained in:
parent
483138ccfc
commit
9daa9cbe0e
|
|
@ -15,7 +15,7 @@ char * Bench_parse_args::s_benchOpts[] =
|
|||
"tn", "tm", "sn", "sm", "h", "nl", NULL};
|
||||
|
||||
char * Bench_parse_args::s_typeOpts[] =
|
||||
{"increment", "aggregate", "display", "i", "a", "d", NULL};
|
||||
{"increment", "aggregate", "display", "subcurves", "points", "i", "a", "d", "c", "p", NULL};
|
||||
|
||||
char * Bench_parse_args::s_strategyOpts[] =
|
||||
{"trapezoidal", "naive", "walk", "t", "n", "w"};
|
||||
|
|
|
|||
|
|
@ -54,9 +54,13 @@ public:
|
|||
TYPE_INCREMENT = 0,
|
||||
TYPE_AGGREGATE,
|
||||
TYPE_DISPLAY,
|
||||
TYPE_SUBCURVES,
|
||||
TYPE_POINTS,
|
||||
TYPE_I,
|
||||
TYPE_A,
|
||||
TYPE_D
|
||||
TYPE_D,
|
||||
TYPE_C,
|
||||
TYPE_P
|
||||
};
|
||||
|
||||
/*!
|
||||
|
|
@ -316,6 +320,12 @@ private:
|
|||
case TYPE_DISPLAY:
|
||||
case TYPE_D:
|
||||
m_typeMask = 0x1 << TYPE_DISPLAY; return 0;
|
||||
case TYPE_SUBCURVES:
|
||||
case TYPE_C:
|
||||
m_typeMask = 0x1 << TYPE_SUBCURVES; return 0;
|
||||
case TYPE_POINTS:
|
||||
case TYPE_P:
|
||||
m_typeMask = 0x1 << TYPE_POINTS; return 0;
|
||||
}
|
||||
}
|
||||
std::cerr << "Unrecognized Bench Name option '" << optarg << "'!"
|
||||
|
|
|
|||
Loading…
Reference in New Issue