Salome HOME
Make IsFreeFace() fast, the old implementation of IsFreeFace() is renamed -> IsFreeFa...
authoreap <eap@opencascade.com>
Thu, 16 May 2013 16:14:01 +0000 (16:14 +0000)
committereap <eap@opencascade.com>
Thu, 16 May 2013 16:14:01 +0000 (16:14 +0000)
commit5030955be884848b884ceb675e6dc35b0d36ede8
tree81aebe4a98b6c5720380d6e16ec42cc98ebc1ab6
parent580dfddb7206f6832a4c7aa05a801692f400cee3
Make IsFreeFace() fast, the old implementation of IsFreeFace() is renamed -> IsFreeFaceAdv()

   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

+  bool IsPoly() const { return myPolyedre; }
src/SMDS/SMDS_VolumeTool.cxx
src/SMDS/SMDS_VolumeTool.hxx