Milena (Olena)  User documentation 2.0a Id
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 }
 All Classes Namespaces Functions Variables Typedefs Enumerator