#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::SMESH_OctreeNode |
( |
const std::set< const SMDS_MeshNode * > & |
theNodes, |
|
|
const int |
maxLevel = -1, |
|
|
const int |
maxNbNodes = 5, |
|
|
const double |
minBoxSize = 0. |
|
) |
| |
| virtual SMESH_OctreeNode::~SMESH_OctreeNode |
( |
| ) |
|
|
virtual |
| SMESH_OctreeNode::SMESH_OctreeNode |
( |
int |
maxNbNodes | ) |
|
|
protected |
| virtual const bool SMESH_OctreeNode::isInside |
( |
const SMDS_MeshNode * |
Node, |
|
|
const double |
precision = 0. |
|
) |
| |
|
virtual |
| void SMESH_OctreeNode::NodesAround |
( |
const SMDS_MeshNode * |
Node, |
|
|
std::list< const SMDS_MeshNode * > * |
Result, |
|
|
const double |
precision = 0. |
|
) |
| |
| bool SMESH_OctreeNode::NodesAround |
( |
const SMDS_MeshNode * |
Node, |
|
|
std::map< double, const SMDS_MeshNode * > & |
dist2Nodes, |
|
|
double |
precision |
|
) |
| |
| void SMESH_OctreeNode::FindCoincidentNodes |
( |
std::set< const SMDS_MeshNode * > * |
nodes, |
|
|
const double |
theTolerance, |
|
|
std::list< std::list< const SMDS_MeshNode * > > * |
theGroupsOfNodes |
|
) |
| |
| 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 |
| void SMESH_OctreeNode::UpdateByMoveNode |
( |
const SMDS_MeshNode * |
node, |
|
|
const gp_Pnt & |
toPnt |
|
) |
| |
Update data according to node movement.
Return iterator over children.
| int SMESH_OctreeNode::NbNodes |
( |
| ) |
const |
| virtual Bnd_B3d* SMESH_OctreeNode::buildRootBox |
( |
| ) |
|
|
protectedvirtual |
| virtual void SMESH_OctreeNode::buildChildrenData |
( |
| ) |
|
|
protectedvirtual |
| virtual SMESH_Octree* SMESH_OctreeNode::allocateOctreeChild |
( |
| ) |
const |
|
protectedvirtual |
| void SMESH_Octree::compute |
( |
| ) |
|
|
inherited |
| bool SMESH_Octree::isLeaf |
( |
| ) |
const |
|
inherited |
| int SMESH_Octree::level |
( |
| ) |
const |
|
inherited |
| const Bnd_B3d& SMESH_Octree::getBox |
( |
| ) |
const |
|
inherited |
| double SMESH_Octree::maxSize |
( |
| ) |
const |
|
inherited |
| 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.
| int SMESH_OctreeNode::myMaxNbNodes |
|
protected |
| bool SMESH_Octree::myIsLeaf |
|
protectedinherited |
| const Limit* SMESH_Octree::myLimit |
|
protectedinherited |