30 #ifndef _SMESH_OCTREENODE_HXX_
31 #define _SMESH_OCTREENODE_HXX_
60 const int maxNbNodes = 5,
const double minBoxSize = 0.);
66 virtual bool isInside(
const gp_XYZ& p,
const double precision = 0.);
70 std::vector<const SMDS_MeshNode*>* result,
71 const double precision = 0.);
74 bool NodesAround(
const gp_XYZ& point,
75 std::map<double, const SMDS_MeshNode*>& dist2Nodes,
79 void NodesAround(
const gp_XYZ& point,
80 std::vector<const SMDS_MeshNode*>& nodes,
86 const double theTolerance,
93 const double theTolerance = 0.00001,
94 const int maxLevel = -1,
95 const int maxNbNodes = 5);
99 void UpdateByMoveNode(
const SMDS_MeshNode* node,
const gp_Pnt& toPnt );
111 size_t NbNodes()
const {
return myNodes.size(); }
118 Limit(
int maxLevel,
double minSize,
int maxNbNodes)
122 int getMaxNbNodes()
const;
138 std::vector<const SMDS_MeshNode*>* Result,
139 const double precision);
boost::shared_ptr< SMDS_Iterator< const SMDS_MeshNode * > > SMDS_NodeIteratorPtr
Definition: SMDS_ElemIterator.hxx:46
boost::shared_ptr< SMESH_OctreeNodeIterator > SMESH_OctreeNodeIteratorPtr
Definition: SMESH_OctreeNode.hxx:50
std::set< const SMDS_MeshNode *, TIDCompare > TIDSortedNodeSet
Definition: SMESH_OctreeNode.hxx:51
SMDS_Iterator< SMESH_OctreeNode * > SMESH_OctreeNodeIterator
Definition: SMESH_OctreeNode.hxx:47
std::list< std::list< const SMDS_MeshNode * > > TListOfNodeLists
Definition: SMESH_OctreeNode.hxx:52
#define SMESHUtils_EXPORT
Definition: SMESH_Utils.hxx:37
Abstract class for iterators.
Definition: SMDS_Iterator.hxx:33
Definition: SMDS_MeshNode.hxx:36
Definition: SMESH_OctreeNode.hxx:55
size_t NbNodes() const
Return nb nodes in a tree.
Definition: SMESH_OctreeNode.hxx:111
virtual ~SMESH_OctreeNode()
Definition: SMESH_OctreeNode.hxx:63
std::vector< const SMDS_MeshNode * > myNodes
Definition: SMESH_OctreeNode.hxx:142
3D tree of anything.
Definition: SMESH_Octree.hxx:45
virtual SMESH_Tree * newChild() const=0
virtual box_type * buildRootBox()=0
virtual void buildChildrenData()=0
@ Node
Selection of mesh nodes.
Definition: libSMESH_Swig.h:52
Definition: SMESH_OctreeNode.hxx:116
int myMaxNbNodes
Definition: SMESH_OctreeNode.hxx:117
Limit(int maxLevel, double minSize, int maxNbNodes)
Definition: SMESH_OctreeNode.hxx:118
Definition: SMESH_Tree.hxx:38