Back to index

salome-smesh  6.5.0
Public Member Functions
SMESH_ElementSearcher Struct Reference

Find elements of given type where the given point is IN or ON. More...

#include <SMESH_MeshEditor.hxx>

Inheritance diagram for SMESH_ElementSearcher:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual int FindElementsByPoint (const gp_Pnt &point, SMDSAbs_ElementType type, std::vector< const SMDS_MeshElement * > &foundElems)=0
virtual TopAbs_State GetPointState (const gp_Pnt &point)=0
virtual void GetElementsNearLine (const gp_Ax1 &line, SMDSAbs_ElementType type, std::vector< const SMDS_MeshElement * > &foundElems)=0
 Return elements possibly intersecting the line.

Detailed Description

Find elements of given type where the given point is IN or ON.

   Returns nb of found elements and elements them-selves.
   Another task is to find out if the given point is out of closed 2D mesh.

'ALL' type means elements of any type excluding nodes and 0D elements

Definition at line 77 of file SMESH_MeshEditor.hxx.


Member Function Documentation

virtual int SMESH_ElementSearcher::FindElementsByPoint ( const gp_Pnt &  point,
SMDSAbs_ElementType  type,
std::vector< const SMDS_MeshElement * > &  foundElems 
) [pure virtual]

Implemented in SMESH_ElementSearcherImpl.

virtual void SMESH_ElementSearcher::GetElementsNearLine ( const gp_Ax1 &  line,
SMDSAbs_ElementType  type,
std::vector< const SMDS_MeshElement * > &  foundElems 
) [pure virtual]

Return elements possibly intersecting the line.

Implemented in SMESH_ElementSearcherImpl.

Here is the caller graph for this function:

virtual TopAbs_State SMESH_ElementSearcher::GetPointState ( const gp_Pnt &  point) [pure virtual]

Implemented in SMESH_ElementSearcherImpl.


The documentation for this struct was generated from the following file: