Class HalfEdgeOctree

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

public class HalfEdgeOctree extends Object
  • Constructor Details

  • Method Details

    • setAsCube

      public void setAsCube()
    • createChildren

      public void createChildren()
    • makeTreeByMaxDepth

      public void makeTreeByMaxDepth(int maxDepth)
    • makeTreeByMinBoxSize

      public void makeTreeByMinBoxSize(double minBoxSize)
    • makeTreeByMinVertexCount

      public void makeTreeByMinVertexCount(int minVertexCount)
    • calculateSize

      public void calculateSize()
    • setSize

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

      public void distributeFacesToTargetDepth(int targetDepth)
    • intersectsPoint

      public boolean intersectsPoint(org.joml.Vector3d point)
    • intersectsBoundingBox

      public boolean intersectsBoundingBox(GaiaBoundingBox box)
    • distributeContents

      public void distributeContents()
    • extractOctreesWithFaces

      public void extractOctreesWithFaces(List<HalfEdgeOctree> octrees)
    • extractOctreesWithContents

      public void extractOctreesWithContents(List<HalfEdgeOctree> octrees)
    • getSizeX

      public double getSizeX()
    • getSizeY

      public double getSizeY()
    • getSizeZ

      public double getSizeZ()
    • getMaxSize

      public double getMaxSize()