Class GaiaOctree<E>

java.lang.Object
com.gaia3d.basic.geometry.octree.GaiaOctree<E>
Direct Known Subclasses:
GaiaOctreeFaces, GaiaOctreeVertices, HalfEdgeOctreeFaces, HalfEdgeOctreeVertices

public class GaiaOctree<E> extends Object
  • Constructor Details

  • Method Details

    • addContent

      public void addContent(E content)
    • addContents

      public void addContents(List<E> contents)
    • removeContent

      public void removeContent(E content)
    • clearContents

      public void clearContents()
    • getContentsLength

      public int getContentsLength()
    • isLeaf

      public boolean isLeaf()
    • isRoot

      public boolean isRoot()
    • createChildren

      public void createChildren()
    • getCoordinate

      public GaiaOctreeCoordinate getCoordinate()
    • extractOctreesWithContents

      public List<GaiaOctree<E>> extractOctreesWithContents()
    • getRoot

      public GaiaOctree<E> getRoot()
    • hasContents

      public boolean hasContents(boolean recursive)
    • findOctreeByCoordinate

      public GaiaOctree<E> findOctreeByCoordinate(GaiaOctreeCoordinate coord)