Interface IOctreeGenerator

All Known Implementing Classes:
OctreeGeneratorMag, OctreeGeneratorPart

public interface IOctreeGenerator
Interface for octree generators.
  • Field Details

  • Method Details

    • generateOctree

      OctreeNode generateOctree(List<IParticleRecord> catalog)
    • getDiscarded

      int getDiscarded()
    • startGeneration

      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.
      Parameters:
      catalog - The incoming catalog
      params - The octree generation parameters
      Returns:
      The root octree node