• Main Page
  • Related Pages
  • Modules
  • Namespaces
  • Classes
  • Files
  • File List

box2d-bbox.cc

00001 #include <mln/core/alias/box2d.hh>
00002 int main()
00003 {
00004   using namespace mln;
00005 
00006 // \{
00007   box2d b(2,3);
00008 
00009   // The bbox can be retrived in constant time.
00010   std::cout << b.bbox() << std::endl;
00011 
00012   // nsites can be retrieved in constant time.
00013   std::cout << "nsites = " << b.nsites() << std::endl;
00014 // \}
00015 }

Generated on Tue Oct 4 2011 15:23:28 for Milena (Olena) by  doxygen 1.7.1