Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Public Member Functions
GeomFill_AppSweep Class Reference

Approximate a sweep surface passing by all the curves described in the SweepSectionGenerator. More...

#include <GeomFill_AppSweep.hxx>

Inheritance diagram for GeomFill_AppSweep:
Inheritance graph
[legend]

Public Member Functions

 GeomFill_AppSweep ()
 
 GeomFill_AppSweep (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< GeomFill_Line > &Lin, GeomFill_SweepSectionGenerator &SecGen, const bool SpApprox=false)
 
void PerformSmoothing (const occ::handle< GeomFill_Line > &Lin, GeomFill_SweepSectionGenerator &SecGen)
 
void Perform (const occ::handle< GeomFill_Line > &Lin, GeomFill_SweepSectionGenerator &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 ()
 

Detailed Description

Approximate a sweep surface passing by all the curves described in the SweepSectionGenerator.

Constructor & Destructor Documentation

◆ GeomFill_AppSweep() [1/2]

GeomFill_AppSweep::GeomFill_AppSweep ( )

◆ GeomFill_AppSweep() [2/2]

GeomFill_AppSweep::GeomFill_AppSweep ( 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 GeomFill_AppSweep::Continuity ( ) const

returns the Continuity used in the approximation

◆ CriteriumWeight()

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

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

◆ Curve2d()

void GeomFill_AppSweep::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 > & GeomFill_AppSweep::Curve2dPoles ( const int Index) const
overridevirtual

Implements AppBlend_Approx.

◆ Curves2dDegree()

int GeomFill_AppSweep::Curves2dDegree ( ) const
overridevirtual

Implements AppBlend_Approx.

◆ Curves2dKnots()

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

Implements AppBlend_Approx.

◆ Curves2dMults()

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

Implements AppBlend_Approx.

◆ Curves2dShape()

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

Implements AppBlend_Approx.

◆ Init()

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

◆ IsDone()

bool GeomFill_AppSweep::IsDone ( ) const
overridevirtual

Implements AppBlend_Approx.

◆ NbCurves2d()

int GeomFill_AppSweep::NbCurves2d ( ) const
overridevirtual

Implements AppBlend_Approx.

◆ ParType()

Approx_ParametrizationType GeomFill_AppSweep::ParType ( ) const

returns the type of parametrization used in the approximation

◆ Perform() [1/2]

void GeomFill_AppSweep::Perform ( const occ::handle< GeomFill_Line > & Lin,
GeomFill_SweepSectionGenerator & SecGen,
const bool SpApprox = false )

◆ Perform() [2/2]

void GeomFill_AppSweep::Perform ( const occ::handle< GeomFill_Line > & Lin,
GeomFill_SweepSectionGenerator & SecGen,
const int NbMaxP )

◆ PerformSmoothing()

void GeomFill_AppSweep::PerformSmoothing ( const occ::handle< GeomFill_Line > & Lin,
GeomFill_SweepSectionGenerator & SecGen )

◆ SetContinuity()

void GeomFill_AppSweep::SetContinuity ( const GeomAbs_Shape C)

Define the Continuity used in the approximation.

◆ SetCriteriumWeight()

void GeomFill_AppSweep::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 GeomFill_AppSweep::SetParType ( const Approx_ParametrizationType ParType)

Define the type of parametrization used in the approximation.

◆ Surface()

void GeomFill_AppSweep::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 > & GeomFill_AppSweep::SurfPoles ( ) const
overridevirtual

Implements AppBlend_Approx.

◆ SurfShape()

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

Implements AppBlend_Approx.

◆ SurfUKnots()

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

Implements AppBlend_Approx.

◆ SurfUMults()

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

Implements AppBlend_Approx.

◆ SurfVKnots()

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

Implements AppBlend_Approx.

◆ SurfVMults()

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

Implements AppBlend_Approx.

◆ SurfWeights()

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

Implements AppBlend_Approx.

◆ TolCurveOnSurf()

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

Implements AppBlend_Approx.

◆ TolReached()

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

Implements AppBlend_Approx.

◆ UDegree()

int GeomFill_AppSweep::UDegree ( ) const
overridevirtual

Implements AppBlend_Approx.

◆ VDegree()

int GeomFill_AppSweep::VDegree ( ) const
overridevirtual

Implements AppBlend_Approx.


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