mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-28 06:30:34 +05:00
Porting to DEV version of OCCT.
This commit is contained in:
parent
b2668a7b37
commit
bfef80c4ed
@ -225,7 +225,11 @@ void GEOMAlgo_RemoverWebs::BuildSolid()
|
|||||||
aSB.SetContext(myContext);
|
aSB.SetContext(myContext);
|
||||||
aSB.SetShapes(aSFS);
|
aSB.SetShapes(aSFS);
|
||||||
aSB.Perform();
|
aSB.Perform();
|
||||||
|
#if OCC_VERSION_LARGE > 0x07010000
|
||||||
|
iErr=aSB.HasErrors();
|
||||||
|
#else
|
||||||
iErr=aSB.ErrorStatus();
|
iErr=aSB.ErrorStatus();
|
||||||
|
#endif
|
||||||
if (iErr) {
|
if (iErr) {
|
||||||
myErrorStatus=20; // SolidBuilder failed
|
myErrorStatus=20; // SolidBuilder failed
|
||||||
return;
|
return;
|
||||||
|
@ -101,7 +101,9 @@ GEOMAlgo_ShellSolidBuilder::~GEOMAlgo_ShellSolidBuilder()
|
|||||||
//=======================================================================
|
//=======================================================================
|
||||||
void GEOMAlgo_ShellSolidBuilder::PerformInternal(const BOPAlgo_PaveFiller& theFiller)
|
void GEOMAlgo_ShellSolidBuilder::PerformInternal(const BOPAlgo_PaveFiller& theFiller)
|
||||||
{
|
{
|
||||||
|
#if OCC_VERSION_LARGE <= 0x07010000
|
||||||
myErrorStatus=0;
|
myErrorStatus=0;
|
||||||
|
#endif
|
||||||
//
|
//
|
||||||
myPaveFiller=(BOPAlgo_PaveFiller*)&theFiller;
|
myPaveFiller=(BOPAlgo_PaveFiller*)&theFiller;
|
||||||
myDS=myPaveFiller->PDS();
|
myDS=myPaveFiller->PDS();
|
||||||
@ -109,57 +111,97 @@ void GEOMAlgo_ShellSolidBuilder::PerformInternal(const BOPAlgo_PaveFiller& theFi
|
|||||||
//
|
//
|
||||||
// 1. CheckData
|
// 1. CheckData
|
||||||
CheckData();
|
CheckData();
|
||||||
|
#if OCC_VERSION_LARGE > 0x07010000
|
||||||
|
if (HasErrors()) {
|
||||||
|
#else
|
||||||
if (myErrorStatus) {
|
if (myErrorStatus) {
|
||||||
|
#endif
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
//
|
//
|
||||||
// 2. Prepare
|
// 2. Prepare
|
||||||
Prepare();
|
Prepare();
|
||||||
|
#if OCC_VERSION_LARGE > 0x07010000
|
||||||
|
if (HasErrors()) {
|
||||||
|
#else
|
||||||
if (myErrorStatus) {
|
if (myErrorStatus) {
|
||||||
|
#endif
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
//
|
//
|
||||||
// 3. Fill Images
|
// 3. Fill Images
|
||||||
// 3.1 Vertice
|
// 3.1 Vertice
|
||||||
FillImagesVertices();
|
FillImagesVertices();
|
||||||
|
#if OCC_VERSION_LARGE > 0x07010000
|
||||||
|
if (HasErrors()) {
|
||||||
|
#else
|
||||||
if (myErrorStatus) {
|
if (myErrorStatus) {
|
||||||
|
#endif
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
//
|
//
|
||||||
BuildResult(TopAbs_VERTEX);
|
BuildResult(TopAbs_VERTEX);
|
||||||
|
#if OCC_VERSION_LARGE > 0x07010000
|
||||||
|
if (HasErrors()) {
|
||||||
|
#else
|
||||||
if (myErrorStatus) {
|
if (myErrorStatus) {
|
||||||
|
#endif
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// 3.2 Edges
|
// 3.2 Edges
|
||||||
FillImagesEdges();
|
FillImagesEdges();
|
||||||
|
#if OCC_VERSION_LARGE > 0x07010000
|
||||||
|
if (HasErrors()) {
|
||||||
|
#else
|
||||||
if (myErrorStatus) {
|
if (myErrorStatus) {
|
||||||
|
#endif
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
//
|
//
|
||||||
BuildResult(TopAbs_EDGE);
|
BuildResult(TopAbs_EDGE);
|
||||||
|
#if OCC_VERSION_LARGE > 0x07010000
|
||||||
|
if (HasErrors()) {
|
||||||
|
#else
|
||||||
if (myErrorStatus) {
|
if (myErrorStatus) {
|
||||||
|
#endif
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
//
|
//
|
||||||
// 3.3 Wires
|
// 3.3 Wires
|
||||||
FillImagesContainers(TopAbs_WIRE);
|
FillImagesContainers(TopAbs_WIRE);
|
||||||
|
#if OCC_VERSION_LARGE > 0x07010000
|
||||||
|
if (HasErrors()) {
|
||||||
|
#else
|
||||||
if (myErrorStatus) {
|
if (myErrorStatus) {
|
||||||
|
#endif
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
//
|
//
|
||||||
BuildResult(TopAbs_WIRE);
|
BuildResult(TopAbs_WIRE);
|
||||||
|
#if OCC_VERSION_LARGE > 0x07010000
|
||||||
|
if (HasErrors()) {
|
||||||
|
#else
|
||||||
if (myErrorStatus) {
|
if (myErrorStatus) {
|
||||||
|
#endif
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// 3.4 Faces
|
// 3.4 Faces
|
||||||
FillImagesFaces();
|
FillImagesFaces();
|
||||||
|
#if OCC_VERSION_LARGE > 0x07010000
|
||||||
|
if (HasErrors()) {
|
||||||
|
#else
|
||||||
if (myErrorStatus) {
|
if (myErrorStatus) {
|
||||||
|
#endif
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
//
|
//
|
||||||
BuildResult(TopAbs_FACE);
|
BuildResult(TopAbs_FACE);
|
||||||
|
#if OCC_VERSION_LARGE > 0x07010000
|
||||||
|
if (HasErrors()) {
|
||||||
|
#else
|
||||||
if (myErrorStatus) {
|
if (myErrorStatus) {
|
||||||
|
#endif
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -186,7 +228,9 @@ GEOMAlgo_ShellSolid::~GEOMAlgo_ShellSolid()
|
|||||||
//=======================================================================
|
//=======================================================================
|
||||||
void GEOMAlgo_ShellSolid::Perform()
|
void GEOMAlgo_ShellSolid::Perform()
|
||||||
{
|
{
|
||||||
|
#if OCC_VERSION_LARGE <= 0x07010000
|
||||||
myErrorStatus=0;
|
myErrorStatus=0;
|
||||||
|
#endif
|
||||||
//
|
//
|
||||||
try {
|
try {
|
||||||
Standard_Integer aNbArgs, iRank, iErr, iBeg, iEnd, i, aNbSp;
|
Standard_Integer aNbArgs, iRank, iErr, iBeg, iEnd, i, aNbSp;
|
||||||
@ -207,7 +251,11 @@ void GEOMAlgo_ShellSolid::Perform()
|
|||||||
myErrorStatus=10;
|
myErrorStatus=10;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
#if OCC_VERSION_LARGE > 0x07010000
|
||||||
|
if(myDSFiller->HasErrors()) {
|
||||||
|
#else
|
||||||
if(myDSFiller->ErrorStatus()) {
|
if(myDSFiller->ErrorStatus()) {
|
||||||
|
#endif
|
||||||
myErrorStatus=11;
|
myErrorStatus=11;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -251,7 +299,11 @@ void GEOMAlgo_ShellSolid::Perform()
|
|||||||
GEOMAlgo_ShellSolidBuilder aSSB;
|
GEOMAlgo_ShellSolidBuilder aSSB;
|
||||||
//
|
//
|
||||||
aSSB.PerformWithFiller(*myDSFiller);
|
aSSB.PerformWithFiller(*myDSFiller);
|
||||||
|
#if OCC_VERSION_LARGE > 0x07010000
|
||||||
|
iErr=aSSB.HasErrors();
|
||||||
|
#else
|
||||||
iErr=aSSB.ErrorStatus();
|
iErr=aSSB.ErrorStatus();
|
||||||
|
#endif
|
||||||
if (iErr) {
|
if (iErr) {
|
||||||
myErrorStatus=15;
|
myErrorStatus=15;
|
||||||
return;
|
return;
|
||||||
|
@ -37,6 +37,7 @@
|
|||||||
#include <TopTools_ListIteratorOfListOfShape.hxx>
|
#include <TopTools_ListIteratorOfListOfShape.hxx>
|
||||||
#include <TopTools_IndexedMapOfShape.hxx>
|
#include <TopTools_IndexedMapOfShape.hxx>
|
||||||
|
|
||||||
|
#include <Basics_OCCTVersion.hxx>
|
||||||
|
|
||||||
#include <GEOMAlgo_IndexedDataMapOfShapeState.hxx>
|
#include <GEOMAlgo_IndexedDataMapOfShapeState.hxx>
|
||||||
|
|
||||||
@ -84,7 +85,11 @@ void GEOMAlgo_SolidSolid::Perform()
|
|||||||
myErrorStatus=10;
|
myErrorStatus=10;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
#if OCC_VERSION_LARGE > 0x07010000
|
||||||
|
if(myDSFiller->HasErrors()) {
|
||||||
|
#else
|
||||||
if(myDSFiller->ErrorStatus()) {
|
if(myDSFiller->ErrorStatus()) {
|
||||||
|
#endif
|
||||||
myErrorStatus=11;
|
myErrorStatus=11;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -41,6 +41,7 @@
|
|||||||
|
|
||||||
#include <BOPTools.hxx>
|
#include <BOPTools.hxx>
|
||||||
|
|
||||||
|
#include <Basics_OCCTVersion.hxx>
|
||||||
|
|
||||||
static
|
static
|
||||||
void TreatCompound(const TopoDS_Shape& aC,
|
void TreatCompound(const TopoDS_Shape& aC,
|
||||||
@ -149,7 +150,9 @@ void GEOMAlgo_Splitter::Clear()
|
|||||||
//=======================================================================
|
//=======================================================================
|
||||||
void GEOMAlgo_Splitter::BuildResult(const TopAbs_ShapeEnum theType)
|
void GEOMAlgo_Splitter::BuildResult(const TopAbs_ShapeEnum theType)
|
||||||
{
|
{
|
||||||
|
#if OCC_VERSION_LARGE <= 0x07010000
|
||||||
myErrorStatus=0;
|
myErrorStatus=0;
|
||||||
|
#endif
|
||||||
//
|
//
|
||||||
TopAbs_ShapeEnum aType;
|
TopAbs_ShapeEnum aType;
|
||||||
BRep_Builder aBB;
|
BRep_Builder aBB;
|
||||||
|
@ -90,7 +90,11 @@ void GEOMAlgo_VertexSolid::Perform()
|
|||||||
myErrorStatus=10;
|
myErrorStatus=10;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
#if OCC_VERSION_LARGE > 0x07010000
|
||||||
|
if(myDSFiller->HasErrors()) {
|
||||||
|
#else
|
||||||
if(myDSFiller->ErrorStatus()) {
|
if(myDSFiller->ErrorStatus()) {
|
||||||
|
#endif
|
||||||
myErrorStatus=11;
|
myErrorStatus=11;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -80,7 +80,11 @@ void GEOMAlgo_WireSolid::Perform()
|
|||||||
myErrorStatus=10;
|
myErrorStatus=10;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
#if OCC_VERSION_LARGE > 0x07010000
|
||||||
|
if(myDSFiller->HasErrors()) {
|
||||||
|
#else
|
||||||
if(myDSFiller->ErrorStatus()) {
|
if(myDSFiller->ErrorStatus()) {
|
||||||
|
#endif
|
||||||
myErrorStatus=11;
|
myErrorStatus=11;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -150,11 +150,19 @@ Standard_Integer GEOMImpl_BooleanDriver::Execute(LOGBOOK& log) const
|
|||||||
aList2.Append(aShape2);
|
aList2.Append(aShape2);
|
||||||
aCSI.SetArguments(aList1);
|
aCSI.SetArguments(aList1);
|
||||||
aCSI.Perform();
|
aCSI.Perform();
|
||||||
|
#if OCC_VERSION_LARGE > 0x07010000
|
||||||
|
if (aCSI.HasErrors() || aCSI.DS().Interferences().Extent() > 0)
|
||||||
|
#else
|
||||||
if (aCSI.ErrorStatus() || aCSI.DS().Interferences().Extent() > 0)
|
if (aCSI.ErrorStatus() || aCSI.DS().Interferences().Extent() > 0)
|
||||||
|
#endif
|
||||||
StdFail_NotDone::Raise("Boolean operation will not be performed, because argument shape is self-intersected");
|
StdFail_NotDone::Raise("Boolean operation will not be performed, because argument shape is self-intersected");
|
||||||
aCSI.SetArguments(aList2);
|
aCSI.SetArguments(aList2);
|
||||||
aCSI.Perform();
|
aCSI.Perform();
|
||||||
|
#if OCC_VERSION_LARGE > 0x07010000
|
||||||
|
if (aCSI.HasErrors() || aCSI.DS().Interferences().Extent() > 0)
|
||||||
|
#else
|
||||||
if (aCSI.ErrorStatus() || aCSI.DS().Interferences().Extent() > 0)
|
if (aCSI.ErrorStatus() || aCSI.DS().Interferences().Extent() > 0)
|
||||||
|
#endif
|
||||||
StdFail_NotDone::Raise("Boolean operation will not be performed, because argument shape is self-intersected");
|
StdFail_NotDone::Raise("Boolean operation will not be performed, because argument shape is self-intersected");
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -205,7 +213,11 @@ Standard_Integer GEOMImpl_BooleanDriver::Execute(LOGBOOK& log) const
|
|||||||
aList1.Append(aShape);
|
aList1.Append(aShape);
|
||||||
aCSI.SetArguments(aList1);
|
aCSI.SetArguments(aList1);
|
||||||
aCSI.Perform();
|
aCSI.Perform();
|
||||||
|
#if OCC_VERSION_LARGE > 0x07010000
|
||||||
|
if (aCSI.HasErrors() || aCSI.DS().Interferences().Extent() > 0) {
|
||||||
|
#else
|
||||||
if (aCSI.ErrorStatus() || aCSI.DS().Interferences().Extent() > 0) {
|
if (aCSI.ErrorStatus() || aCSI.DS().Interferences().Extent() > 0) {
|
||||||
|
#endif
|
||||||
StdFail_NotDone::Raise("Boolean operation will not be performed, because argument shape is self-intersected");
|
StdFail_NotDone::Raise("Boolean operation will not be performed, because argument shape is self-intersected");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -229,7 +241,11 @@ Standard_Integer GEOMImpl_BooleanDriver::Execute(LOGBOOK& log) const
|
|||||||
aList2.Append(aShape2);
|
aList2.Append(aShape2);
|
||||||
aCSI.SetArguments(aList2);
|
aCSI.SetArguments(aList2);
|
||||||
aCSI.Perform();
|
aCSI.Perform();
|
||||||
if (aCSI.ErrorStatus() || aCSI.DS().Interferences().Extent() > 0) {
|
#if OCC_VERSION_LARGE > 0x07010000
|
||||||
|
if (aCSI.HasErrors() || aCSI.DS().Interferences().Extent() > 0) {
|
||||||
|
#else
|
||||||
|
if (aCSI.ErrorStatus() || aCSI.DS().Interferences().Extent() > 0) {
|
||||||
|
#endif
|
||||||
StdFail_NotDone::Raise("Boolean operation will not be performed, because argument shape is self-intersected");
|
StdFail_NotDone::Raise("Boolean operation will not be performed, because argument shape is self-intersected");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -270,7 +286,11 @@ Standard_Integer GEOMImpl_BooleanDriver::Execute(LOGBOOK& log) const
|
|||||||
aList1.Append(aShape);
|
aList1.Append(aShape);
|
||||||
aCSI.SetArguments(aList1);
|
aCSI.SetArguments(aList1);
|
||||||
aCSI.Perform();
|
aCSI.Perform();
|
||||||
if (aCSI.ErrorStatus() || aCSI.DS().Interferences().Extent() > 0) {
|
#if OCC_VERSION_LARGE > 0x07010000
|
||||||
|
if (aCSI.HasErrors() || aCSI.DS().Interferences().Extent() > 0) {
|
||||||
|
#else
|
||||||
|
if (aCSI.ErrorStatus() || aCSI.DS().Interferences().Extent() > 0) {
|
||||||
|
#endif
|
||||||
StdFail_NotDone::Raise("Boolean operation will not be performed, because argument shape is self-intersected");
|
StdFail_NotDone::Raise("Boolean operation will not be performed, because argument shape is self-intersected");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -300,7 +320,11 @@ Standard_Integer GEOMImpl_BooleanDriver::Execute(LOGBOOK& log) const
|
|||||||
aList2.Append(aTool);
|
aList2.Append(aTool);
|
||||||
aCSI.SetArguments(aList2);
|
aCSI.SetArguments(aList2);
|
||||||
aCSI.Perform();
|
aCSI.Perform();
|
||||||
if (aCSI.ErrorStatus() || aCSI.DS().Interferences().Extent() > 0) {
|
#if OCC_VERSION_LARGE > 0x07010000
|
||||||
|
if (aCSI.HasErrors() || aCSI.DS().Interferences().Extent() > 0) {
|
||||||
|
#else
|
||||||
|
if (aCSI.ErrorStatus() || aCSI.DS().Interferences().Extent() > 0) {
|
||||||
|
#endif
|
||||||
StdFail_NotDone::Raise("Boolean operation will not be performed, because argument shape is self-intersected");
|
StdFail_NotDone::Raise("Boolean operation will not be performed, because argument shape is self-intersected");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -145,7 +145,9 @@ GEOMImpl_IMeasureOperations::ShapeKind GEOMImpl_IMeasureOperations::KindOfShape
|
|||||||
GEOMAlgo_ShapeInfoFiller aSF;
|
GEOMAlgo_ShapeInfoFiller aSF;
|
||||||
aSF.SetShape(aShape);
|
aSF.SetShape(aShape);
|
||||||
aSF.Perform();
|
aSF.Perform();
|
||||||
|
|
||||||
Standard_Integer iErr = aSF.ErrorStatus();
|
Standard_Integer iErr = aSF.ErrorStatus();
|
||||||
|
|
||||||
if (iErr) {
|
if (iErr) {
|
||||||
SetErrorCode("Error in GEOMAlgo_ShapeInfoFiller");
|
SetErrorCode("Error in GEOMAlgo_ShapeInfoFiller");
|
||||||
return SK_NO_SHAPE;
|
return SK_NO_SHAPE;
|
||||||
@ -1574,7 +1576,11 @@ bool GEOMImpl_IMeasureOperations::CheckSelfIntersections
|
|||||||
|
|
||||||
// 1. Launch the checker
|
// 1. Launch the checker
|
||||||
aCSI.Perform();
|
aCSI.Perform();
|
||||||
|
#if OCC_VERSION_LARGE > 0x07010000
|
||||||
|
Standard_Boolean iErr = aCSI.HasErrors();
|
||||||
|
#else
|
||||||
Standard_Integer iErr = aCSI.ErrorStatus();
|
Standard_Integer iErr = aCSI.ErrorStatus();
|
||||||
|
#endif
|
||||||
|
|
||||||
//
|
//
|
||||||
Standard_Integer aNbS, n1, n2;
|
Standard_Integer aNbS, n1, n2;
|
||||||
|
@ -44,6 +44,9 @@
|
|||||||
#include <Standard_NullObject.hxx>
|
#include <Standard_NullObject.hxx>
|
||||||
#include <StdFail_NotDone.hxx>
|
#include <StdFail_NotDone.hxx>
|
||||||
#include <BOPAlgo_CheckerSI.hxx>
|
#include <BOPAlgo_CheckerSI.hxx>
|
||||||
|
#if OCC_VERSION_LARGE > 0x07010000
|
||||||
|
#include <BOPAlgo_Alerts.hxx>
|
||||||
|
#endif
|
||||||
#include <BOPCol_IndexedDataMapOfShapeListOfShape.hxx>
|
#include <BOPCol_IndexedDataMapOfShapeListOfShape.hxx>
|
||||||
#include <BOPCol_ListOfShape.hxx>
|
#include <BOPCol_ListOfShape.hxx>
|
||||||
#include <BOPDS_DS.hxx>
|
#include <BOPDS_DS.hxx>
|
||||||
@ -106,8 +109,11 @@ static void CheckSelfIntersection(const TopoDS_Shape &theShape)
|
|||||||
aCSI.SetLevelOfCheck(BOP_SELF_INTERSECTIONS_LEVEL);
|
aCSI.SetLevelOfCheck(BOP_SELF_INTERSECTIONS_LEVEL);
|
||||||
aCSI.SetArguments(aList);
|
aCSI.SetArguments(aList);
|
||||||
aCSI.Perform();
|
aCSI.Perform();
|
||||||
|
#if OCC_VERSION_LARGE > 0x07010000
|
||||||
|
if (aCSI.HasErrors() || aCSI.DS().Interferences().Extent() > 0) {
|
||||||
|
#else
|
||||||
if (aCSI.ErrorStatus() || aCSI.DS().Interferences().Extent() > 0) {
|
if (aCSI.ErrorStatus() || aCSI.DS().Interferences().Extent() > 0) {
|
||||||
|
#endif
|
||||||
StdFail_NotDone::Raise("Partition operation will not be performed, because argument shape is self-intersected");
|
StdFail_NotDone::Raise("Partition operation will not be performed, because argument shape is self-intersected");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -411,7 +417,11 @@ Standard_Integer GEOMImpl_PartitionDriver::Execute(LOGBOOK& log) const
|
|||||||
aShape = PS.Shape();
|
aShape = PS.Shape();
|
||||||
if (aShape.IsNull()) {
|
if (aShape.IsNull()) {
|
||||||
// Mantis issue 22009
|
// Mantis issue 22009
|
||||||
|
#if OCC_VERSION_LARGE > 0x07010000
|
||||||
|
if (PS.HasError(STANDARD_TYPE(BOPAlgo_AlertTooFewArguments)) && PS.Tools().Extent() == 0 && PS.Arguments().Extent() == 1)
|
||||||
|
#else
|
||||||
if (PS.ErrorStatus() == 100 && PS.Tools().Extent() == 0 && PS.Arguments().Extent() == 1)
|
if (PS.ErrorStatus() == 100 && PS.Tools().Extent() == 0 && PS.Arguments().Extent() == 1)
|
||||||
|
#endif
|
||||||
aShape = PS.Arguments().First();
|
aShape = PS.Arguments().First();
|
||||||
else
|
else
|
||||||
return 0;
|
return 0;
|
||||||
|
@ -770,7 +770,11 @@ Standard_Integer GEOMImpl_ShapeDriver::Execute(LOGBOOK& log) const
|
|||||||
aMV.SetArguments(aLS);
|
aMV.SetArguments(aLS);
|
||||||
aMV.SetIntersect(aCI.GetIsIntersect());
|
aMV.SetIntersect(aCI.GetIsIntersect());
|
||||||
aMV.Perform();
|
aMV.Perform();
|
||||||
|
#if OCC_VERSION_LARGE > 0x07010000
|
||||||
|
if (aMV.HasErrors()) return 0;
|
||||||
|
#else
|
||||||
if (aMV.ErrorStatus()) return 0;
|
if (aMV.ErrorStatus()) return 0;
|
||||||
|
#endif
|
||||||
|
|
||||||
aShape = aMV.Shape();
|
aShape = aMV.Shape();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user