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:
@@ -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)
|
||||
{
|
||||
}
|
||||
|
@@ -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();
|
||||
|
Reference in New Issue
Block a user