mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-27 15:50:34 +05:00
Changes for bug 0020729.
This commit is contained in:
parent
76f9fd0af8
commit
88a01fe62f
@ -54,6 +54,12 @@
|
||||
#include <Standard_Failure.hxx>
|
||||
#include <Standard_ErrorHandler.hxx> // 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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user