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(); }
This commit is contained in:
eap 2010-02-01 14:19:06 +00:00
parent 2998fad1e1
commit 696fa5df7f

View File

@ -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