$extrastylesheet
Olena  User documentation 2.1
An Image Processing Platform
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
box2d-bbox.cc
1 #include <mln/core/alias/box2d.hh>
2 int main()
3 {
4  using namespace mln;
5 
6 // \{
7  box2d b(2,3);
8 
9  // The bbox can be retrieved in constant time.
10  std::cout << b.bbox() << std::endl;
11 
12  // nsites can be retrieved in constant time.
13  std::cout << "nsites = " << b.nsites() << std::endl;
14 // \}
15 }