From 696fa5df7f54ad46fb220e98acb6c8be6b58c226 Mon Sep 17 00:00:00 2001 From: eap Date: Mon, 1 Feb 2010 14:19:06 +0000 Subject: [PATCH] 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(); } --- src/SMESH/SMESH_MesherHelper.hxx | 7 +++++++ 1 file changed, 7 insertions(+) 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 -- 2.39.2