//=======================================================================
BOPAlgo_PaveFiller::BOPAlgo_PaveFiller()
:
- BOPAlgo_Algo(),
- myFuzzyValue(0.)
+ BOPAlgo_Algo()
{
myDS=NULL;
myIterator=NULL;
BOPAlgo_PaveFiller::BOPAlgo_PaveFiller
(const Handle(NCollection_BaseAllocator)& theAllocator)
:
- BOPAlgo_Algo(theAllocator),
- myFuzzyValue(0.)
+ BOPAlgo_Algo(theAllocator)
{
myDS=NULL;
myIterator=NULL;
return myArguments;
}
//=======================================================================
-//function : SetFuzzyValue
-//purpose :
-//=======================================================================
-void BOPAlgo_PaveFiller::SetFuzzyValue(const Standard_Real theFuzz)
-{
- myFuzzyValue = (theFuzz < 0.) ? 0. : theFuzz;
-}
-//=======================================================================
-//function : FuzzyValue
-//purpose :
-//=======================================================================
-Standard_Real BOPAlgo_PaveFiller::FuzzyValue() const
-{
- return myFuzzyValue;
-}
-//=======================================================================
// function: Init
// purpose:
//=======================================================================
// 1.myDS
myDS=new BOPDS_DS(myAllocator);
myDS->SetArguments(myArguments);
- myDS->SetFuzzyValue(myFuzzyValue);
- myDS->Init();
+ myDS->Init(myFuzzyValue);
//
// 2.myIterator
myIterator=new BOPDS_Iterator(myAllocator);
catch (Standard_Failure) {
myErrorStatus=11;
}
- //
- myDS->SetDefaultTolerances();
}
//=======================================================================
// function: PerformInternal