0021370: EDF SMESH: Hexahedron + Composite Side Disretization generate a bad mesh

+  const std::vector<TopoDS_Edge>& Edges() const { return myEdge; }
This commit is contained in:
eap 2011-10-06 09:43:30 +00:00
parent 9ff48e7e76
commit 59786ee5ea

View File

@ -28,14 +28,14 @@
#ifndef StdMeshers_FaceSide_HeaderFile #ifndef StdMeshers_FaceSide_HeaderFile
#define StdMeshers_FaceSide_HeaderFile #define StdMeshers_FaceSide_HeaderFile
#include "SMESH_StdMeshers.hxx"
#include <Geom2d_Curve.hxx> #include <Geom2d_Curve.hxx>
#include <GeomAdaptor_Curve.hxx> #include <GeomAdaptor_Curve.hxx>
#include <TopoDS_Edge.hxx> #include <TopoDS_Edge.hxx>
#include <TopoDS_Vertex.hxx> #include <TopoDS_Vertex.hxx>
#include <gp_Pnt2d.hxx> #include <gp_Pnt2d.hxx>
#include "SMESH_StdMeshers.hxx"
#include <vector> #include <vector>
#include <list> #include <list>
#include <boost/shared_ptr.hpp> #include <boost/shared_ptr.hpp>
@ -62,7 +62,6 @@ typedef struct uvPtStruct
class StdMeshers_FaceSide; class StdMeshers_FaceSide;
typedef boost::shared_ptr< StdMeshers_FaceSide > StdMeshers_FaceSidePtr; typedef boost::shared_ptr< StdMeshers_FaceSide > StdMeshers_FaceSidePtr;
typedef boost::shared_ptr< uvPtStruct > UVPtStructPtr;
typedef std::vector< StdMeshers_FaceSidePtr > TSideVector; typedef std::vector< StdMeshers_FaceSidePtr > TSideVector;
typedef boost::shared_ptr< SMESH_ComputeError > TError; typedef boost::shared_ptr< SMESH_ComputeError > TError;
@ -166,6 +165,10 @@ public:
* \brief Return i-th wrapped edge (count starts from zero) * \brief Return i-th wrapped edge (count starts from zero)
*/ */
const TopoDS_Edge& Edge(int i) const { return myEdge[i]; } const TopoDS_Edge& Edge(int i) const { return myEdge[i]; }
/*!
* \brief Return all edges
*/
const std::vector<TopoDS_Edge>& Edges() const { return myEdge; }
/*! /*!
* \brief Return 1st vertex of the i-the edge (count starts from zero) * \brief Return 1st vertex of the i-the edge (count starts from zero)
*/ */