Inkscape
Vector Graphics Editor
|
Go to the source code of this file.
Functions | |
double | getRand (double range) |
void | printRects (vector< Rectangle * > &rs) |
void | generateRandomRects (unsigned n, vector< Rectangle * > &rs) |
vector< Rectangle * > & | generateRects (double coords[][4], unsigned n, vector< Rectangle * > &rs) |
void | test (vector< Rectangle * > &rs, double &cost, double &duration) |
int | main () |
Variables | |
double | test1 [][4] |
unsigned | n1 =5 |
double | test2 [][4] |
unsigned | n2 =8 |
double | test3 [][4] |
unsigned | n3 =10 |
double | test4 [][4] |
unsigned | n4 =10 |
double | test5 [][4] |
unsigned | n5 =8 |
double | test6 [][4] |
unsigned | n6 =9 |
double | test7 [][4] |
unsigned | n7 =10 |
double | test8 [][4] |
unsigned | n8 =96 |
double | test9 [][4] |
unsigned | n9 =66 |
double | test10 [][4] |
unsigned | n10 =170 |
double | test11 [][4] |
unsigned | n11 =130 |
double | test12 [][4] |
unsigned | n12 =10 |
void generateRandomRects | ( | unsigned | n, |
vector< Rectangle * > & | rs | ||
) |
|
inline |
Definition at line 38 of file rectangleoverlap.cpp.
Referenced by generateRandomRects().
int main | ( | void | ) |
void printRects | ( | vector< Rectangle * > & | rs | ) |
Definition at line 41 of file rectangleoverlap.cpp.
References rs.
void test | ( | vector< Rectangle * > & | rs, |
double & | cost, | ||
double & | duration | ||
) |
Definition at line 73 of file rectangleoverlap.cpp.
References vpsc::removeoverlaps(), and rs.
unsigned n1 =5 |
Definition at line 94 of file rectangleoverlap.cpp.
Referenced by ang(), box3d_half_line_crosses_joining_line(), Geom::NL::ConstMatrixView::ConstMatrixView(), Geom::decompose_degenerate(), Inkscape::LivePathEffect::LPEDynastroke::doEffect_pwd2(), Inkscape::LivePathEffect::LPEEnvelope::doEffect_pwd2(), Inkscape::Filters::filter2D_FIR(), Inkscape::Filters::filter2D_IIR(), Geom::line_intersection(), Geom::line_segment_intersect(), Geom::line_twopoint_intersect(), main(), Geom::NL::Matrix::Matrix(), Geom::NL::Matrix::Matrix(), Geom::NL::MatrixView::MatrixView(), Geom::SL::microbasis(), Geom::segment_intersect(), TEST_F(), and Inkscape::LivePathEffect::LPEEmbroderyStitchOrdering::triangleit_begin().
unsigned n10 =170 |
Definition at line 470 of file rectangleoverlap.cpp.
Referenced by main().
unsigned n11 =130 |
Definition at line 601 of file rectangleoverlap.cpp.
Referenced by main().
unsigned n12 =10 |
Definition at line 614 of file rectangleoverlap.cpp.
Referenced by main().
unsigned n2 =8 |
Definition at line 98 of file rectangleoverlap.cpp.
Referenced by ang(), Geom::NL::ConstMatrixView::ConstMatrixView(), Inkscape::LivePathEffect::LPEDynastroke::doEffect_pwd2(), Inkscape::LivePathEffect::LPEEnvelope::doEffect_pwd2(), Inkscape::Filters::filter2D_FIR(), Inkscape::Filters::filter2D_IIR(), main(), Geom::NL::Matrix::Matrix(), Geom::NL::Matrix::Matrix(), Geom::NL::MatrixView::MatrixView(), and TEST_F().
unsigned n3 =10 |
Definition at line 103 of file rectangleoverlap.cpp.
Referenced by Inkscape::LivePathEffect::LPEEnvelope::doEffect_pwd2(), main(), and TEST_F().
unsigned n4 =10 |
Definition at line 114 of file rectangleoverlap.cpp.
Referenced by Inkscape::LivePathEffect::LPEEnvelope::doEffect_pwd2(), and main().
unsigned n5 =8 |
Definition at line 118 of file rectangleoverlap.cpp.
Referenced by main().
unsigned n6 =9 |
Definition at line 123 of file rectangleoverlap.cpp.
Referenced by main().
unsigned n7 =10 |
Definition at line 134 of file rectangleoverlap.cpp.
Referenced by main().
unsigned n8 =96 |
Definition at line 232 of file rectangleoverlap.cpp.
Referenced by main().
unsigned n9 =66 |
Definition at line 299 of file rectangleoverlap.cpp.
Referenced by main().
double test1[][4] |
Definition at line 92 of file rectangleoverlap.cpp.
Referenced by main(), and Geom::sbasis_to_cubic_bezier().
double test10[][4] |
Definition at line 300 of file rectangleoverlap.cpp.
Referenced by main().
double test11[][4] |
Definition at line 471 of file rectangleoverlap.cpp.
Referenced by main().
double test12[][4] |
Definition at line 602 of file rectangleoverlap.cpp.
Referenced by main().
double test2[][4] |
Definition at line 95 of file rectangleoverlap.cpp.
Referenced by main(), and Geom::sbasis_to_cubic_bezier().
double test3[][4] |
Definition at line 99 of file rectangleoverlap.cpp.
Referenced by main().
double test4[][4] |
Definition at line 104 of file rectangleoverlap.cpp.
Referenced by main().
double test5[][4] |
Definition at line 115 of file rectangleoverlap.cpp.
Referenced by main().
double test6[][4] |
Definition at line 119 of file rectangleoverlap.cpp.
Referenced by main().
double test7[][4] |
Definition at line 124 of file rectangleoverlap.cpp.
Referenced by main().
double test8[][4] |
Definition at line 135 of file rectangleoverlap.cpp.
Referenced by main().
double test9[][4] |
Definition at line 233 of file rectangleoverlap.cpp.
Referenced by main().