Element search tree for MxMesh.
- Todo:
- Extend nearest() to all element types
- Test whether bounding volumes can use single precision
- See Also
- MxMesh
#include <mxelementtree.h>
|
| MxElementTree () |
| empty tree
|
|
void | allocate (MxMeshPtr pm, uint mincount=8) |
| allocate tree for all elements in the entire mesh
|
|
void | allocateSections (MxMeshPtr pm, const Indices §s, uint mincount=8) |
| allocate tree for sections listed
|
|
void | sort () |
| sort entire tree, computes bounding volumes
|
|
uint | minElemCount () const |
| access minimum element count per node
|
|
uint | nelements () const |
| number of elements searched
|
|
MxMeshPtr | mesh () |
| access stored mesh
|
|
DopType & | dop (uint k) |
| access bounding volume
|
|
const Vct3 & | point (uint k) const |
| access mesh node
|
|
uint | mappedIndex (uint k) const |
| access element mapping
|
|
const uint * | mappedElement (uint k, uint &nv, uint &isec) const |
| access element vertices through mapping
|
|
uint | nearest (const Vct3 &p) const |
| locate surface element which is nearest to point p
|
|
bool | find (const Vct3 &p, Real radius, Indices &eix) const |
| find all surface elements within radius r of p
|
|
|
Real | elementDistance (const Vct3 &p, uint k) const |
| determine distance of p from element k
|
|
Real | edTri3 (const Vct3 &p, const uint *vi) const |
| distance of p from Tri3
|
|
The documentation for this class was generated from the following files: