#include <SMESH_OctreeNode.hxx>
|
| SMESH_OctreeNode (const std::set< const SMDS_MeshNode *> &theNodes, const int maxLevel=-1, const int maxNbNodes=5, const double minBoxSize=0.) |
|
virtual | ~SMESH_OctreeNode () |
| Empty destructor. More...
|
|
virtual const bool | isInside (const SMDS_MeshNode *Node, const double precision=0.) |
|
void | NodesAround (const SMDS_MeshNode *Node, std::list< const SMDS_MeshNode *> *Result, const double precision=0.) |
|
bool | NodesAround (const SMDS_MeshNode *Node, std::map< double, const SMDS_MeshNode *> &dist2Nodes, double precision) |
|
void | FindCoincidentNodes (std::set< const SMDS_MeshNode *> *nodes, const double theTolerance, std::list< std::list< const SMDS_MeshNode *> > *theGroupsOfNodes) |
|
void | UpdateByMoveNode (const SMDS_MeshNode *node, const gp_Pnt &toPnt) |
| Update data according to node movement. More...
|
|
SMESH_OctreeNodeIteratorPtr | GetChildrenIterator () |
| Return iterator over children. More...
|
|
SMDS_NodeIteratorPtr | GetNodeIterator () |
| Return nodes iterator. More...
|
|
int | NbNodes () const |
| Return nb nodes in a tree. More...
|
|
void | compute () |
|
bool | isLeaf () const |
|
int | level () const |
|
const Bnd_B3d & | getBox () const |
|
double | maxSize () const |
|
int | getChildIndex (double x, double y, double z, const gp_XYZ &boxMiddle) const |
| Return index of a child the given point is in. More...
|
|
Definition at line 48 of file SMESH_OctreeNode.hxx.
◆ SMESH_OctreeNode() [1/2]
SMESH_OctreeNode::SMESH_OctreeNode |
( |
const std::set< const SMDS_MeshNode *> & |
theNodes, |
|
|
const int |
maxLevel = -1 , |
|
|
const int |
maxNbNodes = 5 , |
|
|
const double |
minBoxSize = 0. |
|
) |
| |
◆ ~SMESH_OctreeNode()
virtual SMESH_OctreeNode::~SMESH_OctreeNode |
( |
| ) |
|
|
virtual |
◆ SMESH_OctreeNode() [2/2]
SMESH_OctreeNode::SMESH_OctreeNode |
( |
int |
maxNbNodes | ) |
|
|
protected |
◆ isInside()
virtual const bool SMESH_OctreeNode::isInside |
( |
const SMDS_MeshNode * |
Node, |
|
|
const double |
precision = 0. |
|
) |
| |
|
virtual |
◆ NodesAround() [1/2]
void SMESH_OctreeNode::NodesAround |
( |
const SMDS_MeshNode * |
Node, |
|
|
std::list< const SMDS_MeshNode *> * |
Result, |
|
|
const double |
precision = 0. |
|
) |
| |
◆ NodesAround() [2/2]
bool SMESH_OctreeNode::NodesAround |
( |
const SMDS_MeshNode * |
Node, |
|
|
std::map< double, const SMDS_MeshNode *> & |
dist2Nodes, |
|
|
double |
precision |
|
) |
| |
◆ FindCoincidentNodes() [1/3]
void SMESH_OctreeNode::FindCoincidentNodes |
( |
std::set< const SMDS_MeshNode *> * |
nodes, |
|
|
const double |
theTolerance, |
|
|
std::list< std::list< const SMDS_MeshNode *> > * |
theGroupsOfNodes |
|
) |
| |
◆ FindCoincidentNodes() [2/3]
static void SMESH_OctreeNode::FindCoincidentNodes |
( |
std::set< const SMDS_MeshNode *> & |
nodes, |
|
|
std::list< std::list< const SMDS_MeshNode *> > * |
theGroupsOfNodes, |
|
|
const double |
theTolerance = 0.00001 , |
|
|
const int |
maxLevel = -1 , |
|
|
const int |
maxNbNodes = 5 |
|
) |
| |
|
static |
◆ UpdateByMoveNode()
void SMESH_OctreeNode::UpdateByMoveNode |
( |
const SMDS_MeshNode * |
node, |
|
|
const gp_Pnt & |
toPnt |
|
) |
| |
Update data according to node movement.
◆ GetChildrenIterator()
Return iterator over children.
◆ GetNodeIterator()
◆ NbNodes()
int SMESH_OctreeNode::NbNodes |
( |
| ) |
const |
◆ buildRootBox()
virtual Bnd_B3d* SMESH_OctreeNode::buildRootBox |
( |
| ) |
|
|
protectedvirtual |
◆ buildChildrenData()
virtual void SMESH_OctreeNode::buildChildrenData |
( |
| ) |
|
|
protectedvirtual |
◆ allocateOctreeChild()
virtual SMESH_Octree* SMESH_OctreeNode::allocateOctreeChild |
( |
| ) |
const |
|
protectedvirtual |
◆ FindCoincidentNodes() [3/3]
◆ compute()
void SMESH_Octree::compute |
( |
| ) |
|
|
inherited |
◆ isLeaf()
bool SMESH_Octree::isLeaf |
( |
| ) |
const |
|
inherited |
◆ level()
int SMESH_Octree::level |
( |
| ) |
const |
|
inherited |
◆ getBox()
const Bnd_B3d& SMESH_Octree::getBox |
( |
| ) |
const |
|
inherited |
◆ maxSize()
double SMESH_Octree::maxSize |
( |
| ) |
const |
|
inherited |
◆ getChildIndex()
int SMESH_Octree::getChildIndex |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
z, |
|
|
const gp_XYZ & |
boxMiddle |
|
) |
| const |
|
inherited |
Return index of a child the given point is in.
Definition at line 118 of file SMESH_Octree.hxx.
◆ myMaxNbNodes
int SMESH_OctreeNode::myMaxNbNodes |
|
protected |
◆ myNodes
◆ myChildren
◆ myFather
◆ myIsLeaf
bool SMESH_Octree::myIsLeaf |
|
protectedinherited |
◆ myLimit
const Limit* SMESH_Octree::myLimit |
|
protectedinherited |