Salome HOME
Merge branch 'V9_9_BR'
[modules/smesh.git] / src / SMESHUtils / SMESH_Delaunay.hxx
index 71707118bdcc3aac967ad98a04bebdf707a12e0c..85e4ccb85eaf55724bdbb0f3415aafd25f2d3f36 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2016  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2022  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@ -29,6 +29,7 @@
 
 #include "SMESH_TypeDefs.hxx"
 
+#include <TopoDS_Face.hxx>
 #include <BRepMesh_DataStructureOfDelaun.hxx>
 
 /*!
@@ -60,7 +61,7 @@ class SMESHUtils_EXPORT SMESH_Delaunay
   const SMDS_MeshNode* NextNode( double bc[3], int triaNodes[3] );
 
   // return nb of nodes returned by NextNode()
-  int NbVisitedNodes() const { return _nbVisitedNodes; }
+  size_t NbVisitedNodes() const { return _nbVisitedNodes; }
 
 
   // find a triangle containing an UV, starting from a given triangle;
@@ -79,8 +80,8 @@ class SMESHUtils_EXPORT SMESH_Delaunay
   // return UV of the i-th source boundary node (zero based)
   gp_XY GetBndUV(const int iNode) const;
 
-  // return scale factor to convert real UV to/from UV used for Delauney meshing:
-  // delauney_UV = real_UV * scale
+  // return scale factor to convert real UV to/from UV used for Delaunay meshing:
+  // delaunay_UV = real_UV * scale
   const gp_XY& GetScale() const { return _scale; }
 
   void ToPython() const;