X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FSMDS%2FSMDS_VolumeTool.hxx;h=ca47830aca8201aed28cd5381413e60eab940097;hp=271ab4af5dcb0113d6470129fd0110ffb5d71f41;hb=a274ade365bd0f0e19d56c577acc4a13aa1972a7;hpb=7a713be33b27d6a8c77f983460f0e97e52c6ff7c diff --git a/src/SMDS/SMDS_VolumeTool.hxx b/src/SMDS/SMDS_VolumeTool.hxx index 271ab4af5..ca47830ac 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-2021 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 @@ -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;