-// VSR 08/12/2014: debug PipeTShape function
-// Uncomment the macro below to correct tolerance of resulting face after creating fillet
-#define FIX_FACE_TOLERANCE
-
-namespace
-{
- bool FixShape( TopoDS_Shape& shape,
- TopAbs_ShapeEnum type = TopAbs_SHAPE,
- Standard_Real tolerance = Precision::Confusion() )
- {
- ShapeFix_ShapeTolerance aSFT;
- aSFT.LimitTolerance( shape, tolerance, tolerance, type );
- Handle(ShapeFix_Shape) aSfs = new ShapeFix_Shape( shape );
- aSfs->Perform();
- shape = aSfs->Shape();
- BRepCheck_Analyzer ana( shape, false );
- return ana.IsValid();
- }
-}
+// Debug PipeTShape function: uncomment the macro below to correct tolerance
+// of resulting face after fillet creation
+// VSR 30/12/2014: macro disabled
+//#define FIX_FACE_TOLERANCE
+// Debug PipeTShape function: uncomment the macro below to correct tolerance
+// of resulting curves after fillet creation
+// VSR 30/12/2014: macro disabled
+//#define FIX_CURVES_TOLERANCES