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