From: gdd Date: Mon, 26 Apr 2010 12:25:14 +0000 (+0000) Subject: Correction for the case R1Ext == R2Ext (result was not a block) X-Git-Tag: V5_1_4rc1~24 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8f336dcd34b65f69a5bab23b234d06d66b076005;p=modules%2Fgeom.git Correction for the case R1Ext == R2Ext (result was not a block) --- diff --git a/src/GEOMImpl/GEOMImpl_IAdvancedOperations.cxx b/src/GEOMImpl/GEOMImpl_IAdvancedOperations.cxx index 3647152ff..b27b241d8 100644 --- a/src/GEOMImpl/GEOMImpl_IAdvancedOperations.cxx +++ b/src/GEOMImpl/GEOMImpl_IAdvancedOperations.cxx @@ -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);