Correction for the case R1Ext == R2Ext (result was not a block)

This commit is contained in:
gdd 2010-04-26 12:25:14 +00:00
parent 1178c64062
commit 8f336dcd34

View File

@ -940,7 +940,8 @@ bool GEOMImpl_IAdvancedOperations::MakePipeTShapePartition(Handle(GEOM_Object) t
Handle(TColStd_HArray1OfInteger) theMaterials;
partitionShapes->Append(theShape);
theTools->Append(aPlnOZ);
theTools->Append(aPlnOXZ);
if (Abs(aR1Ext - aR2Ext) > Precision::Confusion() )
theTools->Append(aPlnOXZ);
theTools->Append(face_t);
if (!isNormal)
theTools->Append(face_t2);