HE_Mesh  5.0.0
wblut.geom.WB_OctreeDouble Class Reference

Classes

class  WB_OctreeDoubleEntry
 

Public Member Functions

 WB_OctreeDouble (final WB_Coord center, final double size)
 
void addPoint (final WB_Coord p, final double value)
 
void clear ()
 
int getLevel ()
 
WB_OctreeDouble getNode (final WB_Coord p)
 
double getMinNodeSize ()
 
int getNumNodes ()
 
WB_Coord getCenter ()
 
WB_OctreeDouble getParent ()
 
int getNumberOfPoints ()
 
List< WB_OctreeDoublegetNodes ()
 
double getSize ()
 
boolean remove (final WB_Coord p)
 
void removeAll (final Collection< WB_Coord > points)
 
void setMinNodeSize (final double minNodeSize)
 
void setAutoPrune (final boolean state)
 
WB_AABB getBox ()
 
List< WB_OctreeDoubleEntry > getEntries ()
 
List< WB_OctreeDoubleEntry > getEntriesInRange (final WB_AABB AABB)
 
List< WB_OctreeDoubleEntry > getEntriesInRange (final WB_Sphere sphere)
 
List< WB_OctreeDoubleEntry > getEntriesInRange (final WB_Coord center, final double radius)
 
List< WB_CoordgetPoints ()
 
List< WB_CoordgetPointsInRange (final WB_AABB AABB)
 
List< WB_CoordgetPointsInRange (final WB_Sphere sphere)
 
List< WB_CoordgetPointsInRange (final WB_Coord center, final double radius)
 
double[] getValues ()
 
double[] getValuesInRange (final WB_AABB AABB)
 
double[] getValuesInRange (final WB_Sphere sphere)
 
double[] getValuesInRange (final WB_Coord center, final double radius)
 

Protected Member Functions

final int getOctant (final WB_Coord p)
 

Protected Attributes

WB_AABB box
 
WB_Coord extent
 
WB_Coord min
 
double minNodeSize = 4.0
 
WB_OctreeDouble parent
 
WB_OctreeDouble[] nodes
 
int numNodes
 
List< WB_OctreeDoubleEntry > entries
 
double size
 
WB_Coord center
 

Private Member Functions

 WB_OctreeDouble (final WB_OctreeDouble p, final WB_Coord center, final double size)
 
void prune ()
 

Private Attributes

int level = 0
 
boolean autoPrune = false
 

Constructor & Destructor Documentation

wblut.geom.WB_OctreeDouble.WB_OctreeDouble ( final WB_OctreeDouble  p,
final WB_Coord  center,
final double  size 
)
private
wblut.geom.WB_OctreeDouble.WB_OctreeDouble ( final WB_Coord  center,
final double  size 
)

Member Function Documentation

void wblut.geom.WB_OctreeDouble.addPoint ( final WB_Coord  p,
final double  value 
)
void wblut.geom.WB_OctreeDouble.clear ( )
WB_AABB wblut.geom.WB_OctreeDouble.getBox ( )
WB_Coord wblut.geom.WB_OctreeDouble.getCenter ( )
List<WB_OctreeDoubleEntry> wblut.geom.WB_OctreeDouble.getEntries ( )
List<WB_OctreeDoubleEntry> wblut.geom.WB_OctreeDouble.getEntriesInRange ( final WB_AABB  AABB)
List<WB_OctreeDoubleEntry> wblut.geom.WB_OctreeDouble.getEntriesInRange ( final WB_Sphere  sphere)
List<WB_OctreeDoubleEntry> wblut.geom.WB_OctreeDouble.getEntriesInRange ( final WB_Coord  center,
final double  radius 
)
int wblut.geom.WB_OctreeDouble.getLevel ( )
double wblut.geom.WB_OctreeDouble.getMinNodeSize ( )
WB_OctreeDouble wblut.geom.WB_OctreeDouble.getNode ( final WB_Coord  p)
List<WB_OctreeDouble> wblut.geom.WB_OctreeDouble.getNodes ( )
int wblut.geom.WB_OctreeDouble.getNumberOfPoints ( )
int wblut.geom.WB_OctreeDouble.getNumNodes ( )
final int wblut.geom.WB_OctreeDouble.getOctant ( final WB_Coord  p)
protected
WB_OctreeDouble wblut.geom.WB_OctreeDouble.getParent ( )
List<WB_Coord> wblut.geom.WB_OctreeDouble.getPoints ( )
List<WB_Coord> wblut.geom.WB_OctreeDouble.getPointsInRange ( final WB_AABB  AABB)
List<WB_Coord> wblut.geom.WB_OctreeDouble.getPointsInRange ( final WB_Sphere  sphere)
List<WB_Coord> wblut.geom.WB_OctreeDouble.getPointsInRange ( final WB_Coord  center,
final double  radius 
)
double wblut.geom.WB_OctreeDouble.getSize ( )
double [] wblut.geom.WB_OctreeDouble.getValues ( )
double [] wblut.geom.WB_OctreeDouble.getValuesInRange ( final WB_AABB  AABB)
double [] wblut.geom.WB_OctreeDouble.getValuesInRange ( final WB_Sphere  sphere)
double [] wblut.geom.WB_OctreeDouble.getValuesInRange ( final WB_Coord  center,
final double  radius 
)
void wblut.geom.WB_OctreeDouble.prune ( )
private
boolean wblut.geom.WB_OctreeDouble.remove ( final WB_Coord  p)
void wblut.geom.WB_OctreeDouble.removeAll ( final Collection< WB_Coord points)
void wblut.geom.WB_OctreeDouble.setAutoPrune ( final boolean  state)
void wblut.geom.WB_OctreeDouble.setMinNodeSize ( final double  minNodeSize)

Member Data Documentation

boolean wblut.geom.WB_OctreeDouble.autoPrune = false
private
WB_AABB wblut.geom.WB_OctreeDouble.box
protected
WB_Coord wblut.geom.WB_OctreeDouble.center
protected
List<WB_OctreeDoubleEntry> wblut.geom.WB_OctreeDouble.entries
protected
WB_Coord wblut.geom.WB_OctreeDouble.extent
protected
int wblut.geom.WB_OctreeDouble.level = 0
private
WB_Coord wblut.geom.WB_OctreeDouble.min
protected
double wblut.geom.WB_OctreeDouble.minNodeSize = 4.0
protected
WB_OctreeDouble [] wblut.geom.WB_OctreeDouble.nodes
protected
int wblut.geom.WB_OctreeDouble.numNodes
protected
WB_OctreeDouble wblut.geom.WB_OctreeDouble.parent
protected
double wblut.geom.WB_OctreeDouble.size
protected

The documentation for this class was generated from the following file: