Files Classes Functions Hierarchy
#include <convexregionsD2test.h>
Static Public Member Functions | |
| static void | test01 () |
Definition at line 4 of file convexregionsD2test.h.
| void convexregionsD2test::test01 | ( | ) | [static] |
Definition at line 6 of file convexregionsD2test.cpp.
References pts.
Referenced by main().
00007 { 00008 typedef point2<double> pt2; 00009 00010 vector<pt2> pts(1); 00011 00012 pts.push_back( pt2(0.0,0.0) ); 00013 pts.push_back( pt2(1.0,0.0) ); 00014 pts.push_back( pt2(1.0,1.0) ); 00015 pts.push_back( pt2(0.0,1.0) ); 00016 pts.push_back( pt2(0.5,1.3) ); 00017 00018 vector<polytopeD2linked> vi(1); 00019 vi.push_back( polytopeD2linked(1,2,3,4,0,0,2,0) ); 00020 vi.push_back( polytopeD2linked(4,3,5,1,0,0) ); 00021 00022 }
1.5.8