X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSMDS%2FSMDS_VolumeTool.hxx;h=f33d68f24a2ab741ae6d2d4ef690d40682ed8187;hb=2362b00dd27b541d718d967a217ba74572b6f65f;hp=4e018c0c73c1828080826921b797fe07ff170154;hpb=88d37b48bdda91c42c4ddcdb0f1c451c05fb552e;p=modules%2Fsmesh.git diff --git a/src/SMDS/SMDS_VolumeTool.hxx b/src/SMDS/SMDS_VolumeTool.hxx index 4e018c0c7..f33d68f24 100644 --- a/src/SMDS/SMDS_VolumeTool.hxx +++ b/src/SMDS/SMDS_VolumeTool.hxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2020 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 @@ -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 @@ -249,10 +248,13 @@ class SMDS_EXPORT SMDS_VolumeTool bool setFace( int faceIndex ) const; - bool projectNodesToNormal( int faceIndex, double& minProj, double& maxProj ) const; + bool projectNodesToNormal( int faceIndex, + double& minProj, + double& maxProj, + double* normal = 0) const; const SMDS_MeshElement* myVolume; - const SMDS_VtkVolume* myPolyedre; + const SMDS_MeshVolume* myPolyedre; bool myIgnoreCentralNodes; bool myVolForward;