X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSMDS%2FSMDS_VolumeTool.hxx;h=bde071fde8cd07a9f40f0d2bb3c37b29825e22b4;hb=e57d64d3910c1a5f0eca72ee7244d32873495517;hp=1ab139d7b733d79a0b4112e458df4f8b7e25ddfd;hpb=bd8f1aee7c78f7d2eb82bd4fec5e08c9e3d280ce;p=modules%2Fsmesh.git diff --git a/src/SMDS/SMDS_VolumeTool.hxx b/src/SMDS/SMDS_VolumeTool.hxx index 1ab139d7b..bde071fde 100644 --- a/src/SMDS/SMDS_VolumeTool.hxx +++ b/src/SMDS/SMDS_VolumeTool.hxx @@ -73,6 +73,8 @@ class SMDS_EXPORT SMDS_VolumeTool int ID() const; // return element ID + bool IsPoly() const { return myPolyedre; } + // ----------------------- // general info // ----------------------- @@ -177,7 +179,11 @@ class SMDS_EXPORT SMDS_VolumeTool // SetExternalNormal() is taken into account. bool IsFreeFace( int faceIndex, const SMDS_MeshElement** otherVol=0 ) const; - // Check that all volumes built on the face nodes lays on one side + // Fast check that only one volume is built on nodes of a given face + // otherVol returns another volume sharing the given facet + + bool IsFreeFaceAdv( int faceIndex, const SMDS_MeshElement** otherVol=0 ) const; + // Thorough check that all volumes built on the face nodes lays on one side // otherVol returns another volume sharing the given facet bool GetFaceNormal (int faceIndex, double & X, double & Y, double & Z) const;