Version: 8.3.0
SMESH_Pattern.cxx File Reference
#include "SMESH_Pattern.hxx"
#include "SMDS_EdgePosition.hxx"
#include "SMDS_FacePosition.hxx"
#include "SMDS_MeshElement.hxx"
#include "SMDS_MeshFace.hxx"
#include "SMDS_MeshNode.hxx"
#include "SMDS_VolumeTool.hxx"
#include "SMESHDS_Group.hxx"
#include "SMESHDS_Mesh.hxx"
#include "SMESHDS_SubMesh.hxx"
#include "SMESH_Block.hxx"
#include "SMESH_Mesh.hxx"
#include "SMESH_MeshAlgos.hxx"
#include "SMESH_MesherHelper.hxx"
#include "SMESH_subMesh.hxx"
#include <BRepAdaptor_Curve.hxx>
#include <BRepTools.hxx>
#include <BRepTools_WireExplorer.hxx>
#include <BRep_Tool.hxx>
#include <Bnd_Box.hxx>
#include <Bnd_Box2d.hxx>
#include <ElSLib.hxx>
#include <Extrema_ExtPC.hxx>
#include <Extrema_GenExtPS.hxx>
#include <Extrema_POnSurf.hxx>
#include <Geom2d_Curve.hxx>
#include <GeomAdaptor_Surface.hxx>
#include <Geom_Curve.hxx>
#include <Geom_Surface.hxx>
#include <Precision.hxx>
#include <TopAbs_ShapeEnum.hxx>
#include <TopExp.hxx>
#include <TopExp_Explorer.hxx>
#include <TopLoc_Location.hxx>
#include <TopTools_ListIteratorOfListOfShape.hxx>
#include <TopoDS.hxx>
#include <TopoDS_Edge.hxx>
#include <TopoDS_Face.hxx>
#include <TopoDS_Iterator.hxx>
#include <TopoDS_Shell.hxx>
#include <TopoDS_Vertex.hxx>
#include <TopoDS_Wire.hxx>
#include <gp_Ax2.hxx>
#include <gp_Lin2d.hxx>
#include <gp_Pnt2d.hxx>
#include <gp_Trsf.hxx>
#include <gp_XY.hxx>
#include <gp_XYZ.hxx>
#include <Basics_OCCTVersion.hxx>
#include <Basics_Utils.hxx>
#include "utilities.h"

Data Structures

struct  TSizeCmp< T >
 
struct  TIsoNode
 

Macros

#define smdsNode(elem)   static_cast<const SMDS_MeshNode*>( elem )
 

Typedefs

typedef map< const
SMDS_MeshElement *, int
TNodePointIDMap
 

Enumerations

enum  { CHECK_NEW_IN, CHECK_NEW_OK, FIX_OLD }
 

Functions

template<typename T >
void sortBySize (list< list< T > > &theListOfList)
 
static gp_XY project (const SMDS_MeshNode *theNode, Extrema_GenExtPS &theProjectorPS)
 
template<class TFaceIterator >
bool areNodesBound (TFaceIterator &faceItr)
 
static bool isMeshBoundToShape (SMESHDS_Mesh *aMeshDS, SMESHDS_SubMesh *aFaceSubmesh, const bool isMainShape)
 
static bool intersectIsolines (const gp_XY &uv11, const gp_XY &uv12, const double r1, const gp_XY &uv21, const gp_XY &uv22, const double r2, gp_XY &resUV, bool &isDeformed)
 
static TIsoNodegetNextNode (const TIsoNode *node, int dir)
 
static bool checkQuads (const TIsoNode *node, gp_XY &newUV, const bool reversed, const int crit=FIX_OLD, double fixSize=0.)
 
static const gp_XYZ & undefinedXYZ ()
 
static bool isDefined (const gp_XYZ &theXYZ)
 
static bool clearSubMesh (SMESH_Mesh *theMesh, const TopoDS_Shape &theShape)
 
ostream & operator<< (ostream &OS, const SMESH_Pattern::TPoint &p)
 

Macro Definition Documentation

#define smdsNode (   elem)    static_cast<const SMDS_MeshNode*>( elem )

Typedef Documentation

typedef map< const SMDS_MeshElement*, int > TNodePointIDMap

Enumeration Type Documentation

anonymous enum
Enumerator
CHECK_NEW_IN 
CHECK_NEW_OK 
FIX_OLD 

Function Documentation

template<class TFaceIterator >
bool areNodesBound ( TFaceIterator &  faceItr)
static bool checkQuads ( const TIsoNode node,
gp_XY &  newUV,
const bool  reversed,
const int  crit = FIX_OLD,
double  fixSize = 0. 
)
static
static bool clearSubMesh ( SMESH_Mesh theMesh,
const TopoDS_Shape &  theShape 
)
static
static TIsoNode* getNextNode ( const TIsoNode node,
int  dir 
)
static

References TIsoNode::IsUVComputed(), and TIsoNode::myNext.

Referenced by checkQuads().

static bool intersectIsolines ( const gp_XY &  uv11,
const gp_XY &  uv12,
const double  r1,
const gp_XY &  uv21,
const gp_XY &  uv22,
const double  r2,
gp_XY &  resUV,
bool isDeformed 
)
static
static bool isDefined ( const gp_XYZ &  theXYZ)
static
static bool isMeshBoundToShape ( SMESHDS_Mesh aMeshDS,
SMESHDS_SubMesh aFaceSubmesh,
const bool  isMainShape 
)
static
static gp_XY project ( const SMDS_MeshNode theNode,
Extrema_GenExtPS &  theProjectorPS 
)
static
template<typename T >
void sortBySize ( list< list< T > > &  theListOfList)
static const gp_XYZ& undefinedXYZ ( )
static