//purpose :
//=======================================================================
-bool StdMeshers_QuadToTriaAdaptor::Compute(SMESH_Mesh& aMesh,
- const TopoDS_Shape& aShape,
- SMESH_ProxyMesh* aProxyMesh)
+bool StdMeshers_QuadToTriaAdaptor::Compute(SMESH_Mesh& aMesh,
+ const TopoDS_Shape& aShape,
+ SMESH_ProxyMesh* aProxyMesh)
{
SMESH_ProxyMesh::setMesh( aMesh );
aShape.ShapeType() != TopAbs_SHELL )
return false;
+ myShape = aShape;
+
vector<const SMDS_MeshElement*> myPyramids;
SMESHDS_Mesh * meshDS = aMesh.GetMeshDS();
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
-// SMESH SMESH : implementaion of SMESH idl descriptions
// File : StdMeshers_QuadToTriaAdaptor.hxx
// Module : SMESH
//
bool Compute(SMESH_Mesh& aMesh);
+ const TopoDS_Shape& GetShape() const { return myShape; }
+
protected:
int Preparation(const SMDS_MeshElement* face,
std::set<const SMDS_MeshNode*>& nodesToMove);
+ TopoDS_Shape myShape;
std::set<const SMDS_MeshElement*> myRemovedTrias;
-
std::list< const SMDS_MeshNode* > myDegNodes;
-
- const SMESH_ElementSearcher* myElemSearcher;
+ const SMESH_ElementSearcher* myElemSearcher;
};
#endif