Open CASCADE Technology 6.5.2
Public Member Functions
AdvApprox_PrefAndRec Class Reference

inherits class Cutting; contains a list of preferential points (pi)i
and a list of Recommended points used in cutting management.

#include <AdvApprox_PrefAndRec.hxx>

Inheritance diagram for AdvApprox_PrefAndRec:
Inheritance graph
[legend]

Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
 AdvApprox_PrefAndRec (const TColStd_Array1OfReal &RecomendedCut, const TColStd_Array1OfReal &PrefferedCut, const Standard_Real Weight=5)
virtual Standard_Boolean Value (const Standard_Real a, const Standard_Real b, Standard_Real &cuttingvalue) const
 cuting value is


Constructor & Destructor Documentation

AdvApprox_PrefAndRec::AdvApprox_PrefAndRec ( const TColStd_Array1OfReal RecomendedCut,
const TColStd_Array1OfReal PrefferedCut,
const Standard_Real  Weight = 5 
)

Member Function Documentation

void AdvApprox_PrefAndRec::operator delete ( void *  anAddress) [inline]

Reimplemented from AdvApprox_Cutting.

void* AdvApprox_PrefAndRec::operator new ( size_t  size) [inline]

Reimplemented from AdvApprox_Cutting.

void* AdvApprox_PrefAndRec::operator new ( size_t  ,
void *  anAddress 
) [inline]

Reimplemented from AdvApprox_Cutting.

virtual Standard_Boolean AdvApprox_PrefAndRec::Value ( const Standard_Real  a,
const Standard_Real  b,
Standard_Real cuttingvalue 
) const [virtual]
  • 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.

Implements AdvApprox_Cutting.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines