Generic ball window defined on a given grid. More...
#include <ball.hh>
Inherits classical_window_base< dpoint< G, C >, ball< G, C > >.
Public Member Functions | |
| ball (unsigned diameter) | |
| Constructor.   | |
| unsigned | diameter () const | 
| Give the ball diameter.   | |
Generic ball window defined on a given grid.
A ball is centered and symmetric; so its diameter is odd.
G is the given grid on which the ball is defined and C is the type of coordinates.
Definition at line 71 of file ball.hh.
| mln::win::ball< G, C >::ball | ( | unsigned | diameter | ) |  [inline] | 
        
Constructor.
| [in] | diameter | Diameter of the ball. | 
diameter is odd. Definition at line 99 of file ball.hh.
References mln::literal::origin.
| unsigned mln::win::ball< G, C >::diameter | ( | ) |  const [inline] | 
        
 1.7.1