Salome HOME
Changes for bug 0020705.
[modules/smesh.git] / src / StdMeshers / StdMeshers_SegmentAroundVertex_0D.cxx
index 60ba2518d71baede09a713eb761a42ed686c6643..3d86aaaad61adf555282dcdb9ec7a76d2a62647e 100644 (file)
@@ -38,7 +38,7 @@ StdMeshers_SegmentAroundVertex_0D::StdMeshers_SegmentAroundVertex_0D
 {
   _name = "SegmentAroundVertex_0D";
   // it is assigned to vertices but influence a state of EDGE submeshes 
-  _shapeType = (1 << TopAbs_VERTEX);   // 1 bit per shape type
+  _shapeType = (1 << TopAbs_VERTEX);    // 1 bit per shape type
 
   _compatibleHypothesis.push_back("SegmentLengthAroundVertex");
 }
@@ -92,3 +92,18 @@ bool StdMeshers_SegmentAroundVertex_0D::Compute(SMESH_Mesh&, const TopoDS_Shape&
   // StdMeshers_SegmentLengthAroundVertex hypothesis
   return true;
 }
+
+
+//=======================================================================
+//function : Evaluate
+//purpose  : 
+//=======================================================================
+
+bool StdMeshers_SegmentAroundVertex_0D::Evaluate(SMESH_Mesh&,
+                                                 const TopoDS_Shape&,
+                                                 MapShapeNbElems&)
+{
+  // This algorithm exists in order just to enable assignation of
+  // StdMeshers_SegmentLengthAroundVertex hypothesis
+  return false;
+}