![]() |
fpmas 1.5
|
#include <moore_range.h>
Public Member Functions | |
| DiscretePoint | operator() (const GridRange< MooreGrid< CellType >, MooreRangeConfig< MooreGrid< CellType > > > &range) const |
MooreRangePerimeter specialization corresponding to a MooreRange used on a VonNeumannGrid.
|
inline |
Returns the perimeter of the specified Moore range on a MooreGrid.
In this particular case, the perimeter corresponds to (0, range.getSize()). Indeed, this point maximizes the distance from the range's origin on a Moore grid.
See GridRangeConfig::Perimeter for more information about the definition of a "perimeter".
| range | Moore range for which the perimeter must be computed |