proj home

Files   Classes   Functions   Hierarchy  

convexregionsD2test.cpp

Go to the documentation of this file.
00001 
00002 #include <convexregionsD2.h>
00003 #include <convexregionsD2test.h>
00004 
00005 
00006 void convexregionsD2test::test01()
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 }
00023 
00024 
00025 

Generated on Fri Mar 4 00:49:26 2011 for Chelton Evans Source by  doxygen 1.5.8