Package gaiasky.data.octreegen.generator
Interface IOctreeGenerator
- All Known Implementing Classes:
OctreeGeneratorMag
,OctreeGeneratorPart
public interface IOctreeGenerator
Interface for octree generators.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiongenerateOctree
(List<IParticleRecord> catalog) int
static OctreeNode
startGeneration
(List<IParticleRecord> catalog, OctreeGeneratorParams params) Computes the maximum axis-aligned bounding box containing all the particles in the catalog, and returns it as the root octree node.
-
Field Details
-
logger
-
-
Method Details
-
generateOctree
-
getDiscarded
int getDiscarded() -
startGeneration
Computes the maximum axis-aligned bounding box containing all the particles in the catalog, and returns it as the root octree node.- Parameters:
catalog
- The incoming catalogparams
- The octree generation parameters- Returns:
- The root octree node
-