Package com.gaia3d.basic.geometry.octree
Class GaiaOctree
java.lang.Object
com.gaia3d.basic.geometry.octree.GaiaOctree
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addFaceDataList
(List<GaiaFaceData> faceDataList) void
void
distributeContentsByBoundingBox
(boolean distributionUnique) void
void
extractOctreesWithContents
(List<GaiaOctree> octrees) getOctreeByFullPath
(List<GaiaOctreeCoordinate> fullPath) getRoot()
boolean
hasContents
(boolean includeChildren) boolean[]
boolean
void
makeTree
(double minBoxSize) void
void
void
setSize
(double minX, double minY, double minZ, double maxX, double maxY, double maxZ)
-
Constructor Details
-
GaiaOctree
-
-
Method Details
-
setAsCube
public void setAsCube() -
addFaceDataList
-
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
-
distributeContentsByBoundingBox
public void distributeContentsByBoundingBox(boolean distributionUnique) -
recalculateSize
public void recalculateSize() -
getBoundingBox
-
makeTree
public void makeTree(double minBoxSize) -
extractOctreesWithContents
-
getRoot
-
hasContents
public boolean hasContents(boolean includeChildren) -
getOctreeByCoordinate
-
getOctreeByFullPath
-
hasNeighbor
public boolean[] hasNeighbor()
-