Version: 6.3.1
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]

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]
virtual TopAbs_State SMESH_ElementSearcher.GetPointState ( const gp_Pnt &  point) [pure virtual]

Implemented in SMESH_ElementSearcherImpl.

Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS