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