|
| | AdvApprox_ApproxAFunction (const int Num1DSS, const int Num2DSS, const int Num3DSS, const occ::handle< NCollection_HArray1< double > > &OneDTol, const occ::handle< NCollection_HArray1< double > > &TwoDTol, const occ::handle< NCollection_HArray1< double > > &ThreeDTol, const double First, const double Last, const GeomAbs_Shape Continuity, const int MaxDeg, const int MaxSeg, const AdvApprox_EvaluatorFunction &Func) |
| | Constructs approximator tool.
|
| |
| | AdvApprox_ApproxAFunction (const int Num1DSS, const int Num2DSS, const int Num3DSS, const occ::handle< NCollection_HArray1< double > > &OneDTol, const occ::handle< NCollection_HArray1< double > > &TwoDTol, const occ::handle< NCollection_HArray1< double > > &ThreeDTol, const double First, const double Last, const GeomAbs_Shape Continuity, const int MaxDeg, const int MaxSeg, const AdvApprox_EvaluatorFunction &Func, const AdvApprox_Cutting &CutTool) |
| | Approximation with user method of cutting.
|
| |
| bool | IsDone () const |
| |
| bool | HasResult () const |
| |
| occ::handle< NCollection_HArray2< double > > | Poles1d () const |
| | returns the poles from the algorithms as is
|
| |
| occ::handle< NCollection_HArray2< gp_Pnt2d > > | Poles2d () const |
| | returns the poles from the algorithms as is
|
| |
| occ::handle< NCollection_HArray2< gp_Pnt > > | Poles () const |
| | – returns the poles from the algorithms as is
|
| |
| int | NbPoles () const |
| | as the name says
|
| |
| void | Poles1d (const int Index, NCollection_Array1< double > &P) const |
| | returns the poles at Index from the 1d subspace
|
| |
| void | Poles2d (const int Index, NCollection_Array1< gp_Pnt2d > &P) const |
| | returns the poles at Index from the 2d subspace
|
| |
| void | Poles (const int Index, NCollection_Array1< gp_Pnt > &P) const |
| | returns the poles at Index from the 3d subspace
|
| |
| int | Degree () const |
| |
| int | NbKnots () const |
| |
| int | NumSubSpaces (const int Dimension) const |
| |
| occ::handle< NCollection_HArray1< double > > | Knots () const |
| |
| occ::handle< NCollection_HArray1< int > > | Multiplicities () const |
| |
| occ::handle< NCollection_HArray1< double > > | MaxError (const int Dimension) const |
| | returns the error as is in the algorithms
|
| |
| occ::handle< NCollection_HArray1< double > > | AverageError (const int Dimension) const |
| | returns the error as is in the algorithms
|
| |
| double | MaxError (const int Dimension, const int Index) const |
| |
| double | AverageError (const int Dimension, const int Index) const |
| |
| void | Dump (Standard_OStream &o) const |
| | display information on approximation.
|
| |
this approximate a given function
| AdvApprox_ApproxAFunction::AdvApprox_ApproxAFunction |
( |
const int | Num1DSS, |
|
|
const int | Num2DSS, |
|
|
const int | Num3DSS, |
|
|
const occ::handle< NCollection_HArray1< double > > & | OneDTol, |
|
|
const occ::handle< NCollection_HArray1< double > > & | TwoDTol, |
|
|
const occ::handle< NCollection_HArray1< double > > & | ThreeDTol, |
|
|
const double | First, |
|
|
const double | Last, |
|
|
const GeomAbs_Shape | Continuity, |
|
|
const int | MaxDeg, |
|
|
const int | MaxSeg, |
|
|
const AdvApprox_EvaluatorFunction & | Func ) |
Constructs approximator tool.
Warning: the Func should be valid reference to object of type inherited from class EvaluatorFunction from Approx with life time longer than that of the approximator tool;
the result should be formatted in the following way : <–Num1DSS--> <–2 * Num2DSS--> <–3 * Num3DSS--> R[0] .... R[Num1DSS]..... R[Dimension-1]
the order in which each Subspace appears should be consistent with the tolerances given in the create function and the results will be given in that order as well that is : Curve2d(n) will correspond to the nth entry described by Num2DSS, Curve(n) will correspond to the nth entry described by Num3DSS The same type of schema applies to the Poles1d, Poles2d and Poles.