Maven module :un.api : api-geometry :
Class : un.api.geometry.index.octtrees.OctTreeBuilderType
Extends/Implements : -
Subclasses : -

A mutable builder for instantiating octtree implementations.
param  
The precise type of members.
author  Mark Raynsford


Variables : -
Functions : build, buildWithSD, disableLimitedOctantSizes, disablePruning, enableLimitedOctantSizes, enablePruning, setPosition3i, setSize3i




return  A new octtree based on the parameters given so far.
OctTreeType build ()


return  A new SD octtree based on the parameters given so far.
OctTreeSDType buildWithSD ()


Do not use specific minimum quadrant sizes.
void disableLimitedOctantSizes ()


Disable pruning of empty octtree nodes.
void disablePruning ()


Use specific minimum quadrant sizes.
param  x
The minimum quadrant width - Must be even and greater than or
equal to 2.
param  y
The minimum quadrant height - Must be even and greater than or
equal to 2.
param  z
The minimum quadrant depth - Must be even and greater than or
equal to 2.
throws  IllegalArgumentException
If the preconditions above are not satisfied.
void enableLimitedOctantSizes (int x, int y, int z)


Enable pruning of empty octtree nodes.
void enablePruning ()


Set the position of the octtree.
param  x
The X coordinate.
param  y
The Y coordinate.
param  z
The Z coordinate.
void setPosition3i (int x, int y, int z)



Set the size of the octtree.



@param x
The width - Must be even and greater than or equal to
2.
@param y
The height - Must be even and greater than or equal to
2.
@param z
The depth - Must be even and greater than or equal to
2.

@throws IllegalArgumentException
If the preconditions above are not satisfied.
void setSize3i (int x, int y, int z)