19 double radius,
double interval,
Direction dir)
22 radius = std::abs(radius);
42 return static_cast<std::size_t
>(std::floor((max - min) / interval) + 1);
static std::size_t LinearNeighborhoodSize(double radius, double interval, Direction dir)
Return the size of a Linear Neighborhood calculated with the given parameters.
Volume Cartographer library
Direction
Neighborhood directional filtering options.
@ Positive
Only consider data in the positive normal direction.
@ Bidirectional
Consider data in both the positive and negative normal.
@ Negative
Only consider data in the negative normal direction.