1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-04 13:13:25 +03:00

0026593: Coding rules - revert compatibility of NCollection_CellFilter constructor with old code

Restored old constructor and old behavior where possible.

Minor correction.
This commit is contained in:
aml
2015-09-03 15:05:34 +03:00
committed by bugmaster
parent 876ca54f0a
commit a7653f4f55
7 changed files with 18 additions and 8 deletions

View File

@@ -50,7 +50,7 @@ BRepMesh_CircleTool::BRepMesh_CircleTool(
const Handle(NCollection_IncAllocator)& theAllocator)
: myTolerance (Precision::PConfusion() * Precision::PConfusion()),
myAllocator (theAllocator),
myCellFilter(BRepMesh_CircleInspector::Dimension, 10, theAllocator),
myCellFilter(10, theAllocator),
mySelector (myTolerance, 64, theAllocator)
{
}
@@ -64,7 +64,7 @@ BRepMesh_CircleTool::BRepMesh_CircleTool(
const Handle(NCollection_IncAllocator)& theAllocator)
: myTolerance (Precision::PConfusion() * Precision::PConfusion()),
myAllocator (theAllocator),
myCellFilter(BRepMesh_CircleInspector::Dimension, 10, theAllocator),
myCellFilter(10, theAllocator),
mySelector (myTolerance, Max(theReservedSize, 64), theAllocator)
{
}

View File

@@ -59,7 +59,7 @@ BRepMesh_VertexTool::BRepMesh_VertexTool(
const Standard_Integer theReservedSize,
const Handle(NCollection_IncAllocator)& theAllocator)
: myAllocator (theAllocator),
myCellFilter(BRepMesh_VertexInspector::Dimension, 0., myAllocator),
myCellFilter(0., myAllocator),
mySelector (Max(theReservedSize, 64),myAllocator)
{
const Standard_Real aTol = Precision::Confusion();