From: skl Date: Wed, 7 Apr 2010 05:24:08 +0000 (+0000) Subject: Changes for bug 0020729. X-Git-Tag: V5_1_4a1~11 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=88a01fe62ff53420841489457f20039e5d35f926;p=modules%2Fgeom.git Changes for bug 0020729. --- diff --git a/src/GEOMImpl/GEOMImpl_IHealingOperations.cxx b/src/GEOMImpl/GEOMImpl_IHealingOperations.cxx index ee2fe2c6f..4e0cad45f 100644 --- a/src/GEOMImpl/GEOMImpl_IHealingOperations.cxx +++ b/src/GEOMImpl/GEOMImpl_IHealingOperations.cxx @@ -54,6 +54,12 @@ #include #include // CAREFUL ! position of this file is critic : see Lucien PIGNOLONI / OCC +#ifdef OCC_VERSION_SERVICEPACK +#if (OCC_VERSION_MAJOR << 24 | OCC_VERSION_MINOR << 16 | OCC_VERSION_MAINTENANCE << 8 | OCC_VERSION_SERVICEPACK) > 0x06030008 +#define OCCT_6_3_0_sp_9 +#endif +#endif + //============================================================================= /*! @@ -729,8 +735,13 @@ bool GEOMImpl_IHealingOperations::GetFreeBoundary (Handle(GEOM_Object) theObject return false; // get free boundary shapes + +#ifdef OCCT_6_3_0_sp_9 ShapeAnalysis_FreeBounds anAnalizer(aShape, Standard_False, Standard_True, Standard_True); +#else + ShapeAnalysis_FreeBounds anAnalizer(aShape); +#endif TopoDS_Compound aClosed = anAnalizer.GetClosedWires(); TopoDS_Compound anOpen = anAnalizer.GetOpenWires();