30 #ifndef __SMESH_MeshAlgos_HXX__
31 #define __SMESH_MeshAlgos_HXX__
39 #include <TopAbs_State.hxx>
56 virtual const SMDS_MeshNode* FindClosestTo(
const gp_Pnt& pnt ) = 0;
57 virtual void MoveNode(
const SMDS_MeshNode* node,
const gp_Pnt& toPnt ) = 0;
58 virtual int FindNearPoint(
const gp_Pnt& point,
59 const double tolerance,
60 std::vector< const SMDS_MeshNode* >& foundNodes) = 0;
78 virtual int FindElementsByPoint(
const gp_Pnt& point,
80 std::vector< const SMDS_MeshElement* >& foundElems) = 0;
89 virtual void GetElementsNearLine(
const gp_Ax1& line,
91 std::vector< const SMDS_MeshElement* >& foundElems) = 0;
95 virtual void GetElementsInSphere(
const gp_XYZ& center,
98 std::vector< const SMDS_MeshElement* >& foundElems) = 0;
102 virtual TopAbs_State GetPointState(
const gp_Pnt& point) = 0;
106 namespace SMESH_MeshAlgos
128 const gp_XY& t0,
const gp_XY& t1,
const gp_XY& t2,
129 double & bc0,
double & bc1);
171 double tolerance=-1.);
175 double tolerance=-1. );
216 std::vector< const SMDS_MeshNode* >& newNodes,
217 std::vector< const SMDS_MeshNode* >& noMergeNodes);