OCCT 8.0.1
OCCT documentation

Search guides and API reference

Enter at least two characters.

    Open CASCADE Technology Reference Manual 8.0.1
    BRepApprox_ResConstraintOfMyGradientbisOfTheComputeLineOfApprox Class Reference

    #include <BRepApprox_ResConstraintOfMyGradientbisOfTheComputeLineOfApprox.hxx>

    Public Member Functions

     BRepApprox_ResConstraintOfMyGradientbisOfTheComputeLineOfApprox (const BRepApprox_TheMultiLineOfApprox &SSP, AppParCurves_MultiCurve &SCurv, const int FirstPoint, const int LastPoint, const occ::handle< NCollection_HArray1< AppParCurves_ConstraintCouple > > &Constraints, const math_Matrix &Bern, const math_Matrix &DerivativeBern, const double 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.
    bool IsDone () const
     returns True if all has been correctly done.
    double Error () const
     returns the maximum difference value between the curve and the given points.
    const math_Matrix & ConstraintMatrix () const
    const math_Vector & Duale () const
     returns the duale variables of the system.
    const math_Matrix & ConstraintDerivative (const BRepApprox_TheMultiLineOfApprox &SSP, const math_Vector &Parameters, const int Deg, const math_Matrix &DA)
     Returns the derivative of the constraint matrix.
    const math_Matrix & InverseMatrix () const
     returns the Inverse of Cont*Transposed(Cont), where Cont is the constraint matrix for the algorithm.

    Protected Member Functions

    int NbConstraints (const BRepApprox_TheMultiLineOfApprox &SSP, const int FirstPoint, const int LastPoint, const occ::handle< NCollection_HArray1< AppParCurves_ConstraintCouple > > &TheConstraints) const
     is used internally to create the fields.
    int NbColumns (const BRepApprox_TheMultiLineOfApprox &SSP, const int Deg) const
     is internally used for the fields creation.

    Constructor & Destructor Documentation

    ◆ BRepApprox_ResConstraintOfMyGradientbisOfTheComputeLineOfApprox()

    BRepApprox_ResConstraintOfMyGradientbisOfTheComputeLineOfApprox::BRepApprox_ResConstraintOfMyGradientbisOfTheComputeLineOfApprox ( const BRepApprox_TheMultiLineOfApprox & SSP,
    AppParCurves_MultiCurve & SCurv,
    const int FirstPoint,
    const int LastPoint,
    const occ::handle< NCollection_HArray1< AppParCurves_ConstraintCouple > > & Constraints,
    const math_Matrix & Bern,
    const math_Matrix & DerivativeBern,
    const double 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 & BRepApprox_ResConstraintOfMyGradientbisOfTheComputeLineOfApprox::ConstraintDerivative ( const BRepApprox_TheMultiLineOfApprox & SSP,
    const math_Vector & Parameters,
    const int Deg,
    const math_Matrix & DA )

    Returns the derivative of the constraint matrix.

    ◆ ConstraintMatrix()

    const math_Matrix & BRepApprox_ResConstraintOfMyGradientbisOfTheComputeLineOfApprox::ConstraintMatrix ( ) const

    ◆ Duale()

    const math_Vector & BRepApprox_ResConstraintOfMyGradientbisOfTheComputeLineOfApprox::Duale ( ) const

    returns the duale variables of the system.

    ◆ Error()

    double BRepApprox_ResConstraintOfMyGradientbisOfTheComputeLineOfApprox::Error ( ) const

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

    ◆ InverseMatrix()

    const math_Matrix & BRepApprox_ResConstraintOfMyGradientbisOfTheComputeLineOfApprox::InverseMatrix ( ) const

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

    ◆ IsDone()

    bool BRepApprox_ResConstraintOfMyGradientbisOfTheComputeLineOfApprox::IsDone ( ) const

    returns True if all has been correctly done.

    ◆ NbColumns()

    int BRepApprox_ResConstraintOfMyGradientbisOfTheComputeLineOfApprox::NbColumns ( const BRepApprox_TheMultiLineOfApprox & SSP,
    const int Deg ) const
    protected

    is internally used for the fields creation.

    ◆ NbConstraints()

    int BRepApprox_ResConstraintOfMyGradientbisOfTheComputeLineOfApprox::NbConstraints ( const BRepApprox_TheMultiLineOfApprox & SSP,
    const int FirstPoint,
    const int LastPoint,
    const occ::handle< NCollection_HArray1< AppParCurves_ConstraintCouple > > & TheConstraints ) const
    protected

    is used internally to create the fields.


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