Class NeighborhoodFactory
Object
NeighborhoodFactory
Creates either a big voxel-neighborhood or a small voxel-neighborhood.
In two dimensions, a big voxel neighborhood is 8-connected, and a small neighborhood is 4-connected.
In three dimensions, a big voxel neighborhood is 26-connected, and a small neighborhood is 6-connected.
- Author:
- Owen Feehan
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic Neighborhood
of
(boolean big) Gets an appropriate neighborhood
-
Method Details
-
of
Gets an appropriate neighborhood- Parameters:
big
- if true, a big neighborhood, if false a small one- Returns:
- the neighborhood
-