Version: 8.3.0
SMESH_MeshAlgos.hxx File Reference
#include "SMESH_Utils.hxx"
#include "SMDSAbs_ElementType.hxx"
#include "SMDS_ElemIterator.hxx"
#include "SMESH_TypeDefs.hxx"
#include <TopAbs_State.hxx>
#include <vector>
Include dependency graph for SMESH_MeshAlgos.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  SMESH_NodeSearcher
 Searcher for the node closest to a point. More...
 
struct  SMESH_ElementSearcher
 Searcher for elements. More...
 
struct  SMESH_MeshAlgos::TFreeBorderPart
 
struct  SMESH_MeshAlgos::CoincidentFreeBorders
 

Namespaces

namespace  SMESH_MeshAlgos
 

Typedefs

typedef std::vector< const
SMDS_MeshNode * > 
SMESH_MeshAlgos::TFreeBorder
 
typedef std::vector< TFreeBorder > SMESH_MeshAlgos::TFreeBorderVec
 
typedef std::vector
< TFreeBorderPart > 
SMESH_MeshAlgos::TCoincidentGroup
 
typedef std::vector
< TCoincidentGroup > 
SMESH_MeshAlgos::TCoincidentGroupVec
 

Functions

bool SMESH_MeshAlgos::IsOut (const SMDS_MeshElement *element, const gp_Pnt &point, double tol)
 Return true if the point is IN or ON of the element. More...
 
double SMESH_MeshAlgos::GetDistance (const SMDS_MeshElement *elem, const gp_Pnt &point)
 Return minimal distance from a point to an element. More...
 
double SMESH_MeshAlgos::GetDistance (const SMDS_MeshEdge *edge, const gp_Pnt &point)
 Return minimal distance from a point to an edge. More...
 
double SMESH_MeshAlgos::GetDistance (const SMDS_MeshFace *face, const gp_Pnt &point)
 Return minimal distance from a point to a face. More...
 
double SMESH_MeshAlgos::GetDistance (const SMDS_MeshVolume *volume, const gp_Pnt &point)
 Return minimal distance from a point to a volume. More...
 
void SMESH_MeshAlgos::GetBarycentricCoords (const gp_XY &point, const gp_XY &t0, const gp_XY &t1, const gp_XY &t2, double &bc0, double &bc1)
 Returns barycentric coordinates of a point within a triangle. More...
 
const SMDS_MeshElementSMESH_MeshAlgos::FindFaceInSet (const SMDS_MeshNode *n1, const SMDS_MeshNode *n2, const TIDSortedElemSet &elemSet, const TIDSortedElemSet &avoidSet, int *i1=0, int *i2=0)
 Return a face having linked nodes n1 and n2 and which is. More...
 
bool SMESH_MeshAlgos::FaceNormal (const SMDS_MeshElement *F, gp_XYZ &normal, bool normalized=true)
 Calculate normal of a mesh face. More...
 
std::vector< const
SMDS_MeshNode * > 
SMESH_MeshAlgos::GetCommonNodes (const SMDS_MeshElement *e1, const SMDS_MeshElement *e2)
 Return nodes common to two elements. More...
 
SMESH_NodeSearcherSMESH_MeshAlgos::GetNodeSearcher (SMDS_Mesh &mesh)
 Return SMESH_NodeSearcher. More...
 
SMESH_NodeSearcherSMESH_MeshAlgos::GetNodeSearcher (SMDS_ElemIteratorPtr elemIt)
 Return SMESH_NodeSearcher. More...
 
SMESH_ElementSearcherSMESH_MeshAlgos::GetElementSearcher (SMDS_Mesh &mesh, double tolerance=-1.)
 Return SMESH_ElementSearcher. More...
 
SMESH_ElementSearcherSMESH_MeshAlgos::GetElementSearcher (SMDS_Mesh &mesh, SMDS_ElemIteratorPtr elemIt, double tolerance=-1.)
 Return SMESH_ElementSearcher acting on a sub-set of elements. More...
 
void SMESH_MeshAlgos::FindCoincidentFreeBorders (SMDS_Mesh &mesh, double tolerance, CoincidentFreeBorders &foundFreeBordes)
 Returns TFreeBorder's coincident within the given tolerance. More...
 
void SMESH_MeshAlgos::DeMerge (const SMDS_MeshElement *elem, std::vector< const SMDS_MeshNode * > &newNodes, std::vector< const SMDS_MeshNode * > &noMergeNodes)
 Find nodes whose merge makes the element invalid. More...