Salome HOME
Fix compilation pb on gcc 6 (add missing std includes)
[modules/smesh.git] / src / SMDS / SMDS_VolumeTool.hxx
index 5c2c882f6fe0cfefa7dc19aee6a304a2dae98c78..d0a1f31211f1c8fbe261d8bb8bc4cac0add52efa 100644 (file)
@@ -20,7 +20,7 @@
 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 
-//  SMESH SMDS : implementaion of Salome mesh data structure
+//  SMESH SMDS : implementation of Salome mesh data structure
 // File      : SMDS_VolumeTool.hxx
 // Module    : SMESH
 // Created   : Tue Jul 13 11:27:17 2004
@@ -33,7 +33,6 @@
 
 class SMDS_MeshElement;
 class SMDS_MeshNode;
-class SMDS_VtkVolume;
 class SMDS_MeshVolume;
 
 #include <vector>
@@ -63,7 +62,7 @@ class SMDS_EXPORT SMDS_VolumeTool
 
   bool Set( const SMDS_MeshElement*                  theVolume,
             const bool                               ignoreCentralNodes = true,
-            const std::vector<const SMDS_MeshNode*>* nodes = NULL);
+            const std::vector<const SMDS_MeshNode*>* nodes = 0);
   // Set volume.
   // Return false if theVolume is not of type SMDSAbs_Volume.
   // ignoreCentralNodes makes skip nodes at face centers when returning
@@ -252,7 +251,7 @@ class SMDS_EXPORT SMDS_VolumeTool
   bool projectNodesToNormal( int faceIndex, double& minProj, double& maxProj ) const;
 
   const SMDS_MeshElement* myVolume;
-  const SMDS_VtkVolume*   myPolyedre;
+  const SMDS_MeshVolume*  myPolyedre;
   bool                    myIgnoreCentralNodes;
 
   bool                    myVolForward;