OCC Main Page | ModelingData | Toolkits | Packages | Class Hierarchy | Data Structures | File List | Data Fields | Globals

ModelingData
TKG3d
AdvApprox


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)
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

Constructor & Destructor Documentation

Standard_EXPORT 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_EXPORT Standard_Boolean AdvApprox_PrefAndRec::Value const Standard_Real  a,
const Standard_Real  b,
Standard_Real &  cuttingvalue
const [virtual]
 

Implements AdvApprox_Cutting.


Field Documentation

TColStd_Array1OfReal AdvApprox_PrefAndRec::myPrefCutting [private]
 

TColStd_Array1OfReal AdvApprox_PrefAndRec::myRecCutting [private]
 

Standard_Real AdvApprox_PrefAndRec::myWeight [private]
 


The documentation for this class was generated from the following file:
Generated on Mon Aug 25 13:22:26 2008 for OpenCASCADE by  doxygen 1.4.1