From: eap Date: Mon, 1 Feb 2010 14:19:06 +0000 (+0000) Subject: 020674: EDF 870 SMESH: Mesh generated by Netgen not usable by GHS3D X-Git-Tag: V5_1_4a1~113 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=696fa5df7f54ad46fb220e98acb6c8be6b58c226;p=modules%2Fsmesh.git 020674: EDF 870 SMESH: Mesh generated by Netgen not usable by GHS3D + * \brief Check if the shape set through IsQuadraticSubMesh() or SetSubShape() + * has a degenerated edges + * \retval bool - true if it has + */ + bool HasDegenenaratedEdges() const { return !myDegenShapeIds.empty(); } --- diff --git a/src/SMESH/SMESH_MesherHelper.hxx b/src/SMESH/SMESH_MesherHelper.hxx index 80bd0affa..2d2494e27 100644 --- a/src/SMESH/SMESH_MesherHelper.hxx +++ b/src/SMESH/SMESH_MesherHelper.hxx @@ -283,6 +283,13 @@ public: */ bool IsDegenShape(const int subShape) const { return myDegenShapeIds.find( subShape ) != myDegenShapeIds.end(); } + /*! + * \brief Check if the shape set through IsQuadraticSubMesh() or SetSubShape() + * has a degenerated edges + * \retval bool - true if it has + */ + bool HasDegenenaratedEdges() const { return !myDegenShapeIds.empty(); } + /*! * \brief Check if shape is a seam edge or it's vertex * \param subShape - edge or vertex index in SMESHDS