Open CASCADE Technology  7.6.0.dev
Public Member Functions | Protected Member Functions
GeomInt_ResConstraintOfMyGradientOfTheComputeLineBezierOfWLApprox Class Reference

#include <GeomInt_ResConstraintOfMyGradientOfTheComputeLineBezierOfWLApprox.hxx>

Public Member Functions

 GeomInt_ResConstraintOfMyGradientOfTheComputeLineBezierOfWLApprox (const GeomInt_TheMultiLineOfWLApprox &SSP, AppParCurves_MultiCurve &SCurv, const Standard_Integer FirstPoint, const Standard_Integer LastPoint, const Handle< AppParCurves_HArray1OfConstraintCouple > &Constraints, const math_Matrix &Bern, const math_Matrix &DerivativeBern, const Standard_Real Tolerance=1.0e-10)
 Given a MultiLine SSP with constraints points, this algorithm finds the best curve solution to approximate it. The poles from SCurv issued for example from the least squares are used as a guess solution for the uzawa algorithm. The tolerance used in the Uzawa algorithms is Tolerance. A is the Bernstein matrix associated to the MultiLine and DA is the derivative bernstein matrix.(They can come from an approximation with ParLeastSquare.) The MultiCurve is modified. New MultiPoles are given. More...
 
Standard_Boolean IsDone () const
 returns True if all has been correctly done. More...
 
Standard_Real Error () const
 returns the maximum difference value between the curve and the given points. More...
 
const math_MatrixConstraintMatrix () const
 
const math_VectorDuale () const
 returns the duale variables of the system. More...
 
const math_MatrixConstraintDerivative (const GeomInt_TheMultiLineOfWLApprox &SSP, const math_Vector &Parameters, const Standard_Integer Deg, const math_Matrix &DA)
 Returns the derivative of the constraint matrix. More...
 
const math_MatrixInverseMatrix () const
 returns the Inverse of Cont*Transposed(Cont), where Cont is the constraint matrix for the algorithm. More...
 

Protected Member Functions

Standard_Integer NbConstraints (const GeomInt_TheMultiLineOfWLApprox &SSP, const Standard_Integer FirstPoint, const Standard_Integer LastPoint, const Handle< AppParCurves_HArray1OfConstraintCouple > &TheConstraints) const
 is used internally to create the fields. More...
 
Standard_Integer NbColumns (const GeomInt_TheMultiLineOfWLApprox &SSP, const Standard_Integer Deg) const
 is internally used for the fields creation. More...
 

Constructor & Destructor Documentation

◆ GeomInt_ResConstraintOfMyGradientOfTheComputeLineBezierOfWLApprox()

GeomInt_ResConstraintOfMyGradientOfTheComputeLineBezierOfWLApprox::GeomInt_ResConstraintOfMyGradientOfTheComputeLineBezierOfWLApprox ( const GeomInt_TheMultiLineOfWLApprox SSP,
AppParCurves_MultiCurve SCurv,
const Standard_Integer  FirstPoint,
const Standard_Integer  LastPoint,
const Handle< AppParCurves_HArray1OfConstraintCouple > &  Constraints,
const math_Matrix Bern,
const math_Matrix DerivativeBern,
const Standard_Real  Tolerance = 1.0e-10 
)

Given a MultiLine SSP with constraints points, this algorithm finds the best curve solution to approximate it. The poles from SCurv issued for example from the least squares are used as a guess solution for the uzawa algorithm. The tolerance used in the Uzawa algorithms is Tolerance. A is the Bernstein matrix associated to the MultiLine and DA is the derivative bernstein matrix.(They can come from an approximation with ParLeastSquare.) The MultiCurve is modified. New MultiPoles are given.

Member Function Documentation

◆ ConstraintDerivative()

const math_Matrix& GeomInt_ResConstraintOfMyGradientOfTheComputeLineBezierOfWLApprox::ConstraintDerivative ( const GeomInt_TheMultiLineOfWLApprox SSP,
const math_Vector Parameters,
const Standard_Integer  Deg,
const math_Matrix DA 
)

Returns the derivative of the constraint matrix.

◆ ConstraintMatrix()

const math_Matrix& GeomInt_ResConstraintOfMyGradientOfTheComputeLineBezierOfWLApprox::ConstraintMatrix ( ) const

◆ Duale()

const math_Vector& GeomInt_ResConstraintOfMyGradientOfTheComputeLineBezierOfWLApprox::Duale ( ) const

returns the duale variables of the system.

◆ Error()

Standard_Real GeomInt_ResConstraintOfMyGradientOfTheComputeLineBezierOfWLApprox::Error ( ) const

returns the maximum difference value between the curve and the given points.

◆ InverseMatrix()

const math_Matrix& GeomInt_ResConstraintOfMyGradientOfTheComputeLineBezierOfWLApprox::InverseMatrix ( ) const

returns the Inverse of Cont*Transposed(Cont), where Cont is the constraint matrix for the algorithm.

◆ IsDone()

Standard_Boolean GeomInt_ResConstraintOfMyGradientOfTheComputeLineBezierOfWLApprox::IsDone ( ) const

returns True if all has been correctly done.

◆ NbColumns()

Standard_Integer GeomInt_ResConstraintOfMyGradientOfTheComputeLineBezierOfWLApprox::NbColumns ( const GeomInt_TheMultiLineOfWLApprox SSP,
const Standard_Integer  Deg 
) const
protected

is internally used for the fields creation.

◆ NbConstraints()

Standard_Integer GeomInt_ResConstraintOfMyGradientOfTheComputeLineBezierOfWLApprox::NbConstraints ( const GeomInt_TheMultiLineOfWLApprox SSP,
const Standard_Integer  FirstPoint,
const Standard_Integer  LastPoint,
const Handle< AppParCurves_HArray1OfConstraintCouple > &  TheConstraints 
) const
protected

is used internally to create the fields.


The documentation for this class was generated from the following file: