From: eap Date: Thu, 6 Oct 2011 09:43:30 +0000 (+0000) Subject: 0021370: EDF SMESH: Hexahedron + Composite Side Disretization generate a bad mesh X-Git-Tag: V6_4_0a1~45 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=59786ee5ead4fc7256cc4d06f4d75438ec915aa4;p=modules%2Fsmesh.git 0021370: EDF SMESH: Hexahedron + Composite Side Disretization generate a bad mesh + const std::vector& Edges() const { return myEdge; } --- diff --git a/src/StdMeshers/StdMeshers_FaceSide.hxx b/src/StdMeshers/StdMeshers_FaceSide.hxx index ae2318ffc..612444eb5 100644 --- a/src/StdMeshers/StdMeshers_FaceSide.hxx +++ b/src/StdMeshers/StdMeshers_FaceSide.hxx @@ -28,14 +28,14 @@ #ifndef StdMeshers_FaceSide_HeaderFile #define StdMeshers_FaceSide_HeaderFile +#include "SMESH_StdMeshers.hxx" + #include #include #include #include #include -#include "SMESH_StdMeshers.hxx" - #include #include #include @@ -62,9 +62,8 @@ typedef struct uvPtStruct class StdMeshers_FaceSide; typedef boost::shared_ptr< StdMeshers_FaceSide > StdMeshers_FaceSidePtr; -typedef boost::shared_ptr< uvPtStruct > UVPtStructPtr; -typedef std::vector< StdMeshers_FaceSidePtr > TSideVector; -typedef boost::shared_ptr< SMESH_ComputeError > TError; +typedef std::vector< StdMeshers_FaceSidePtr > TSideVector; +typedef boost::shared_ptr< SMESH_ComputeError > TError; //================================================================================ /*! @@ -140,8 +139,8 @@ public: * \param constValue - constant parameter value */ const std::vector& SimulateUVPtStruct(int nbSeg, - bool isXConst = 0, - double constValue = 0) const; + bool isXConst = 0, + double constValue = 0) const; /*! * \brief Return edge and parameter on edge by normalized parameter */ @@ -166,6 +165,10 @@ public: * \brief Return i-th wrapped edge (count starts from zero) */ const TopoDS_Edge& Edge(int i) const { return myEdge[i]; } + /*! + * \brief Return all edges + */ + const std::vector& Edges() const { return myEdge; } /*! * \brief Return 1st vertex of the i-the edge (count starts from zero) */