Class GaiaOctree

java.lang.Object
com.gaia3d.basic.geometry.octree.GaiaOctree

public class GaiaOctree extends Object
  • Constructor Details

    • GaiaOctree

      public GaiaOctree(GaiaOctree parent)
  • Method Details

    • setAsCube

      public void setAsCube()
    • addFaceDataList

      public void addFaceDataList(List<GaiaFaceData> faceDataList)
    • setSize

      public void setSize(double minX, double minY, double minZ, double maxX, double maxY, double maxZ)
    • createChildren

      public void createChildren()
    • distributeContentsByCenterPoint

      public void distributeContentsByCenterPoint()
    • intersectsBoundingBox

      public boolean intersectsBoundingBox(GaiaBoundingBox bbox)
    • distributeContentsByBoundingBox

      public void distributeContentsByBoundingBox(boolean distributionUnique)
    • recalculateSize

      public void recalculateSize()
    • getBoundingBox

      public GaiaBoundingBox getBoundingBox()
    • makeTree

      public void makeTree(double minBoxSize)
    • extractOctreesWithContents

      public void extractOctreesWithContents(List<GaiaOctree> octrees)
    • getRoot

      public GaiaOctree getRoot()
    • hasContents

      public boolean hasContents(boolean includeChildren)
    • getOctreeByCoordinate

      public GaiaOctree getOctreeByCoordinate(GaiaOctreeCoordinate coord)
    • getOctreeByFullPath

      public GaiaOctree getOctreeByFullPath(List<GaiaOctreeCoordinate> fullPath)
    • hasNeighbor

      public boolean[] hasNeighbor()