#include <AdvApprox_PrefAndRec.hxx>
Inheritance diagram for AdvApprox_PrefAndRec:
Public Member Functions | |
void * | operator new (size_t, void *anAddress) |
void * | operator new (size_t size) |
void | operator delete (void *anAddress) |
Standard_EXPORT | AdvApprox_PrefAndRec (const TColStd_Array1OfReal &RecomendedCut, const TColStd_Array1OfReal &PrefferedCut, const Standard_Real Weight=5) |
virtual Standard_EXPORT Standard_Boolean | Value (const Standard_Real a, const Standard_Real b, Standard_Real &cuttingvalue) const |
cuting value is - the recommended point nerest of (a+b)/2 if pi is in ]a,b[ or else - the preferential point nearest of (a+b) / 2 if pi is in ](r*a+b)/(r+1) , (a+r*b)/(r+1)[ where r = Weight - or (a+b)/2 else. | |
Private Attributes | |
TColStd_Array1OfReal | myRecCutting |
TColStd_Array1OfReal | myPrefCutting |
Standard_Real | myWeight |
|
|
|
Reimplemented from AdvApprox_Cutting. |
|
Reimplemented from AdvApprox_Cutting. |
|
Reimplemented from AdvApprox_Cutting. |
|
Implements AdvApprox_Cutting. |
|
|
|
|
|
|