#include "SMESH_StdMeshers.hxx"
#include "SMDS_MeshElement.hxx"
#include <TopTools_DataMapOfShapeShape.hxx>
#include <TopTools_IndexedMapOfShape.hxx>
#include <TopTools_IndexedDataMapOfShapeListOfShape.hxx>
#include <TopoDS_Edge.hxx>
#include <TopoDS_Face.hxx>
#include <TopoDS_Vertex.hxx>
#include <gp_GTrsf.hxx>
#include <gp_GTrsf2d.hxx>
#include <list>
#include <map>
Go to the source code of this file.
Data Structures | |
struct | StdMeshers_ShapeShapeBiDirectionMap |
Struct used instead of a sole TopTools_DataMapOfShapeShape to avoid problems with bidirectional bindings. More... | |
class | StdMeshers_ProjectionUtils::TrsfFinder2D |
Finds transformation between two sets of 2D points using a least square approximation. More... | |
class | StdMeshers_ProjectionUtils::TrsfFinder3D |
Finds transformation between two sets of 3D points using a least square approximation. More... | |
Namespaces | |
namespace | StdMeshers_ProjectionUtils |
Methods common to Projection algorithms. | |
Typedefs | |
typedef StdMeshers_ShapeShapeBiDirectionMap | StdMeshers_ProjectionUtils::TShapeShapeMap |
typedef TopTools_IndexedDataMapOfShapeListOfShape | StdMeshers_ProjectionUtils::TAncestorMap |
typedef std::map< const SMDS_MeshNode *, const SMDS_MeshNode *, TIDCompare > | StdMeshers_ProjectionUtils::TNodeNodeMap |
Functions | |
bool | StdMeshers_ProjectionUtils::FindSubShapeAssociation (const TopoDS_Shape &theShape1, SMESH_Mesh *theMesh1, const TopoDS_Shape &theShape2, SMESH_Mesh *theMesh2, TShapeShapeMap &theAssociationMap) |
Looks for association of all sub-shapes of two shapes. More... | |
int | StdMeshers_ProjectionUtils::FindFaceAssociation (const TopoDS_Face &face1, TopoDS_Vertex VV1[2], const TopoDS_Face &face2, TopoDS_Vertex VV2[2], std::list< TopoDS_Edge > &edges1, std::list< TopoDS_Edge > &edges2, const bool isClosenessAssoc=false) |
Find association of edges of faces. More... | |
void | StdMeshers_ProjectionUtils::InitVertexAssociation (const SMESH_Hypothesis *theHyp, TShapeShapeMap &theAssociationMap) |
Insert vertex association defined by a hypothesis into a map. More... | |
bool | StdMeshers_ProjectionUtils::InsertAssociation (const TopoDS_Shape &theShape1, const TopoDS_Shape &theShape2, TShapeShapeMap &theAssociationMap) |
Inserts association theShape1 <-> theShape2 to TShapeShapeMap. More... | |
TopoDS_Edge | StdMeshers_ProjectionUtils::GetEdgeByVertices (SMESH_Mesh *aMesh, const TopoDS_Vertex &V1, const TopoDS_Vertex &V2) |
Finds an edge by its vertices in a main shape of the mesh. More... | |
TopoDS_Face | StdMeshers_ProjectionUtils::GetNextFace (const TAncestorMap &edgeToFaces, const TopoDS_Edge &edge, const TopoDS_Face &face) |
Return another face sharing an edge. More... | |
TopoDS_Vertex | StdMeshers_ProjectionUtils::GetNextVertex (const TopoDS_Edge &edge, const TopoDS_Vertex &vertex) |
Return other vertex of an edge. More... | |
std::pair< int, TopoDS_Edge > | StdMeshers_ProjectionUtils::GetPropagationEdge (SMESH_Mesh *aMesh, const TopoDS_Edge &anEdge, const TopoDS_Edge &fromEdge, TopTools_IndexedMapOfShape *chain=0) |
Return an oriented propagation edge. More... | |
bool | StdMeshers_ProjectionUtils::FindMatchingNodesOnFaces (const TopoDS_Face &face1, SMESH_Mesh *mesh1, const TopoDS_Face &face2, SMESH_Mesh *mesh2, const TShapeShapeMap &assocMap, TNodeNodeMap &nodeIn2OutMap) |
Find corresponding nodes on two faces. More... | |
TopoDS_Shape | StdMeshers_ProjectionUtils::OuterShape (const TopoDS_Face &face, TopAbs_ShapeEnum type) |
Return any sub-shape of a face belonging to the outer wire. More... | |
bool | StdMeshers_ProjectionUtils::MakeComputed (SMESH_subMesh *sm, const int iterationNb=0) |
Check that submeshis is computed and try to compute it if is not. More... | |
std::string | StdMeshers_ProjectionUtils::SourceNotComputedError (SMESH_subMesh *sm=0, SMESH_Algo *projAlgo=0) |
Returns an error message to show in case if MakeComputed( sm ) fails. More... | |
void | StdMeshers_ProjectionUtils::SetEventListener (SMESH_subMesh *subMesh, TopoDS_Shape srcShape, SMESH_Mesh *srcMesh) |
Set event listeners to submesh with projection algo. More... | |
TopoDS_Edge | StdMeshers_ProjectionUtils::GetBoundaryEdge (const TopoDS_Shape &edgeContainer, const SMESH_Mesh &mesh, std::list< TopoDS_Edge > *allBndEdges=0) |
Return a boundary EDGE (or all boundary EDGEs) of edgeContainer. More... | |