Part: fix build failures with OCC >= 7.6

This commit is contained in:
wmayer
2022-08-09 18:42:38 +02:00
parent 2062f9ce87
commit 735eecc42b
8 changed files with 36 additions and 0 deletions

View File

@@ -30,6 +30,7 @@
#include <BRepOffsetAPI_MakeOffset.hxx>
#include <GeomAbs_CurveType.hxx>
#include <Standard_Version.hxx>
namespace Part {
@@ -56,7 +57,11 @@ public:
void Perform (const Standard_Real Offset, const Standard_Real Alt = 0.0);
//! Builds the resulting shape (redefined from MakeShape).
#if OCC_VERSION_HEX >= 0x070600
void Build(const Message_ProgressRange& theRange = Message_ProgressRange()) override;
#else
void Build() override;
#endif
//! Initializes the algorithm to construct parallels to the spine Spine.
//! Join defines the type of parallel generated by the