Remove unused field BRepMesh_FastDiscretFace::myWithShare.
Remove "virtual" from method of class <anonymous>::FixedVExplorer.
{
OCC_CATCH_SIGNALS
- BRepMesh_FastDiscretFace aTool(GetAngle(), WithShare());
+ BRepMesh_FastDiscretFace aTool(GetAngle());
aTool.Perform(anAttribute);
}
catch (Standard_Failure)
return (n? (result / (Standard_Real) n) : -1.);
}
-namespace {
+namespace
+{
//! Auxiliary class used to extract geometrical parameters of fixed TopoDS_Vertex.
class FixedVExplorer
return TopoDS_Vertex();
}
- virtual gp_Pnt Point() const
+ gp_Pnt Point() const
{
return BRep_Tool::Pnt(myVertex);
}
//=======================================================================
//function : BRepMesh_FastDiscretFace
-//purpose :
+//purpose :
//=======================================================================
BRepMesh_FastDiscretFace::BRepMesh_FastDiscretFace
- (const Standard_Real theAngle,
- const Standard_Boolean theWithShare)
-: myAngle(theAngle), myWithShare(theWithShare),
+ (const Standard_Real theAngle)
+: myAngle(theAngle),
myInternalVerticesMode(Standard_True)
{
myAllocator = new NCollection_IncAllocator(64000);
public:
Standard_EXPORT BRepMesh_FastDiscretFace(
- const Standard_Real theAngle,
- const Standard_Boolean theWithShare = Standard_True);
+ const Standard_Real theAngle);
Standard_EXPORT void Add(const Handle(BRepMesh_FaceAttribute)& theAttribute);
Standard_EXPORT void Perform(const Handle(BRepMesh_FaceAttribute)& theAttribute);
const AnalyticSurface& theAnalyticSurface,
BRepMesh::ListOfVertex& theVertices)
{
- if (!myClassifier->Perform(thePnt2d) == TopAbs_IN)
+ if (myClassifier->Perform(thePnt2d) != TopAbs_IN)
return;
gp_Pnt aPnt;
private:
Standard_Real myAngle;
- Standard_Boolean myWithShare;
Standard_Boolean myInternalVerticesMode;
BRepMesh::IMapOfReal myUParam;
BRepMesh::IMapOfReal myVParam;