OCCT3D OCCT 8.0.1
OCCT documentation

Search guides and API reference

Enter at least two characters.

    Open CASCADE Technology Reference Manual 8.0.1
    BRepBlend_AppSurf Class Reference

    #include <BRepBlend_AppSurf.hxx>

    Inheritance diagram for BRepBlend_AppSurf:

    Public Member Functions

     BRepBlend_AppSurf ()
     BRepBlend_AppSurf (const int Degmin, const int Degmax, const double Tol3d, const double Tol2d, const int NbIt, const bool KnownParameters=false)
    void Init (const int Degmin, const int Degmax, const double Tol3d, const double Tol2d, const int NbIt, const bool KnownParameters=false)
    void SetParType (const Approx_ParametrizationType ParType)
     Define the type of parametrization used in the approximation.
    void SetContinuity (const GeomAbs_Shape C)
     Define the Continuity used in the approximation.
    void SetCriteriumWeight (const double W1, const double W2, const double W3)
     define the Weights associed to the criterium used in the optimization.
    Approx_ParametrizationType ParType () const
     returns the type of parametrization used in the approximation
    GeomAbs_Shape Continuity () const
     returns the Continuity used in the approximation
    void CriteriumWeight (double &W1, double &W2, double &W3) const
     returns the Weights (as percent) associed to the criterium used in the optimization.
    void Perform (const occ::handle< BRepBlend_Line > &Lin, Blend_AppFunction &SecGen, const bool SpApprox=false)
    void PerformSmoothing (const occ::handle< BRepBlend_Line > &Lin, Blend_AppFunction &SecGen)
    void Perform (const occ::handle< BRepBlend_Line > &Lin, Blend_AppFunction &SecGen, const int NbMaxP)
    bool IsDone () const override
    void SurfShape (int &UDegree, int &VDegree, int &NbUPoles, int &NbVPoles, int &NbUKnots, int &NbVKnots) const override
    void Surface (NCollection_Array2< gp_Pnt > &TPoles, NCollection_Array2< double > &TWeights, NCollection_Array1< double > &TUKnots, NCollection_Array1< double > &TVKnots, NCollection_Array1< int > &TUMults, NCollection_Array1< int > &TVMults) const override
    int UDegree () const override
    int VDegree () const override
    const NCollection_Array2< gp_Pnt > & SurfPoles () const override
    const NCollection_Array2< double > & SurfWeights () const override
    const NCollection_Array1< double > & SurfUKnots () const override
    const NCollection_Array1< double > & SurfVKnots () const override
    const NCollection_Array1< int > & SurfUMults () const override
    const NCollection_Array1< int > & SurfVMults () const override
    int NbCurves2d () const override
    void Curves2dShape (int &Degree, int &NbPoles, int &NbKnots) const override
    void Curve2d (const int Index, NCollection_Array1< gp_Pnt2d > &TPoles, NCollection_Array1< double > &TKnots, NCollection_Array1< int > &TMults) const override
    int Curves2dDegree () const override
    const NCollection_Array1< gp_Pnt2d > & Curve2dPoles (const int Index) const override
    const NCollection_Array1< double > & Curves2dKnots () const override
    const NCollection_Array1< int > & Curves2dMults () const override
    void TolReached (double &Tol3d, double &Tol2d) const override
    double TolCurveOnSurf (const int Index) const override
    Public Member Functions inherited from AppBlend_Approx
    virtual ~AppBlend_Approx ()

    Constructor & Destructor Documentation

    ◆ BRepBlend_AppSurf() [1/2]

    BRepBlend_AppSurf::BRepBlend_AppSurf ( )

    ◆ BRepBlend_AppSurf() [2/2]

    BRepBlend_AppSurf::BRepBlend_AppSurf ( const int Degmin,
    const int Degmax,
    const double Tol3d,
    const double Tol2d,
    const int NbIt,
    const bool KnownParameters = false )

    Member Function Documentation

    ◆ Continuity()

    GeomAbs_Shape BRepBlend_AppSurf::Continuity ( ) const

    returns the Continuity used in the approximation

    ◆ CriteriumWeight()

    void BRepBlend_AppSurf::CriteriumWeight ( double & W1,
    double & W2,
    double & W3 ) const

    returns the Weights (as percent) associed to the criterium used in the optimization.

    ◆ Curve2d()

    void BRepBlend_AppSurf::Curve2d ( const int Index,
    NCollection_Array1< gp_Pnt2d > & TPoles,
    NCollection_Array1< double > & TKnots,
    NCollection_Array1< int > & TMults ) const
    overridevirtual

    Implements AppBlend_Approx.

    ◆ Curve2dPoles()

    const NCollection_Array1< gp_Pnt2d > & BRepBlend_AppSurf::Curve2dPoles ( const int Index) const
    overridevirtual

    Implements AppBlend_Approx.

    ◆ Curves2dDegree()

    int BRepBlend_AppSurf::Curves2dDegree ( ) const
    overridevirtual

    Implements AppBlend_Approx.

    ◆ Curves2dKnots()

    const NCollection_Array1< double > & BRepBlend_AppSurf::Curves2dKnots ( ) const
    overridevirtual

    Implements AppBlend_Approx.

    ◆ Curves2dMults()

    const NCollection_Array1< int > & BRepBlend_AppSurf::Curves2dMults ( ) const
    overridevirtual

    Implements AppBlend_Approx.

    ◆ Curves2dShape()

    void BRepBlend_AppSurf::Curves2dShape ( int & Degree,
    int & NbPoles,
    int & NbKnots ) const
    overridevirtual

    Implements AppBlend_Approx.

    ◆ Init()

    void BRepBlend_AppSurf::Init ( const int Degmin,
    const int Degmax,
    const double Tol3d,
    const double Tol2d,
    const int NbIt,
    const bool KnownParameters = false )

    ◆ IsDone()

    bool BRepBlend_AppSurf::IsDone ( ) const
    overridevirtual

    Implements AppBlend_Approx.

    ◆ NbCurves2d()

    int BRepBlend_AppSurf::NbCurves2d ( ) const
    overridevirtual

    Implements AppBlend_Approx.

    ◆ ParType()

    Approx_ParametrizationType BRepBlend_AppSurf::ParType ( ) const

    returns the type of parametrization used in the approximation

    ◆ Perform() [1/2]

    void BRepBlend_AppSurf::Perform ( const occ::handle< BRepBlend_Line > & Lin,
    Blend_AppFunction & SecGen,
    const bool SpApprox = false )

    ◆ Perform() [2/2]

    void BRepBlend_AppSurf::Perform ( const occ::handle< BRepBlend_Line > & Lin,
    Blend_AppFunction & SecGen,
    const int NbMaxP )

    ◆ PerformSmoothing()

    void BRepBlend_AppSurf::PerformSmoothing ( const occ::handle< BRepBlend_Line > & Lin,
    Blend_AppFunction & SecGen )

    ◆ SetContinuity()

    void BRepBlend_AppSurf::SetContinuity ( const GeomAbs_Shape C)

    Define the Continuity used in the approximation.

    ◆ SetCriteriumWeight()

    void BRepBlend_AppSurf::SetCriteriumWeight ( const double W1,
    const double W2,
    const double W3 )

    define the Weights associed to the criterium used in the optimization.

    if Wi <= 0

    ◆ SetParType()

    void BRepBlend_AppSurf::SetParType ( const Approx_ParametrizationType ParType)

    Define the type of parametrization used in the approximation.

    ◆ Surface()

    void BRepBlend_AppSurf::Surface ( NCollection_Array2< gp_Pnt > & TPoles,
    NCollection_Array2< double > & TWeights,
    NCollection_Array1< double > & TUKnots,
    NCollection_Array1< double > & TVKnots,
    NCollection_Array1< int > & TUMults,
    NCollection_Array1< int > & TVMults ) const
    overridevirtual

    Implements AppBlend_Approx.

    ◆ SurfPoles()

    const NCollection_Array2< gp_Pnt > & BRepBlend_AppSurf::SurfPoles ( ) const
    overridevirtual

    Implements AppBlend_Approx.

    ◆ SurfShape()

    void BRepBlend_AppSurf::SurfShape ( int & UDegree,
    int & VDegree,
    int & NbUPoles,
    int & NbVPoles,
    int & NbUKnots,
    int & NbVKnots ) const
    overridevirtual

    Implements AppBlend_Approx.

    ◆ SurfUKnots()

    const NCollection_Array1< double > & BRepBlend_AppSurf::SurfUKnots ( ) const
    overridevirtual

    Implements AppBlend_Approx.

    ◆ SurfUMults()

    const NCollection_Array1< int > & BRepBlend_AppSurf::SurfUMults ( ) const
    overridevirtual

    Implements AppBlend_Approx.

    ◆ SurfVKnots()

    const NCollection_Array1< double > & BRepBlend_AppSurf::SurfVKnots ( ) const
    overridevirtual

    Implements AppBlend_Approx.

    ◆ SurfVMults()

    const NCollection_Array1< int > & BRepBlend_AppSurf::SurfVMults ( ) const
    overridevirtual

    Implements AppBlend_Approx.

    ◆ SurfWeights()

    const NCollection_Array2< double > & BRepBlend_AppSurf::SurfWeights ( ) const
    overridevirtual

    Implements AppBlend_Approx.

    ◆ TolCurveOnSurf()

    double BRepBlend_AppSurf::TolCurveOnSurf ( const int Index) const
    overridevirtual

    Implements AppBlend_Approx.

    ◆ TolReached()

    void BRepBlend_AppSurf::TolReached ( double & Tol3d,
    double & Tol2d ) const
    overridevirtual

    Implements AppBlend_Approx.

    ◆ UDegree()

    int BRepBlend_AppSurf::UDegree ( ) const
    overridevirtual

    Implements AppBlend_Approx.

    ◆ VDegree()

    int BRepBlend_AppSurf::VDegree ( ) const
    overridevirtual

    Implements AppBlend_Approx.


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