Open CASCADE Technology  7.7.0
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 Standard_Integer Degmin, const Standard_Integer Degmax, const Standard_Real Tol3d, const Standard_Real Tol2d, const Standard_Integer NbIt, const Standard_Boolean KnownParameters=Standard_False)
 
void Init (const Standard_Integer Degmin, const Standard_Integer Degmax, const Standard_Real Tol3d, const Standard_Real Tol2d, const Standard_Integer NbIt, const Standard_Boolean KnownParameters=Standard_False)
 
void SetParType (const Approx_ParametrizationType ParType)
 Define the type of parametrization used in the approximation. More...
 
void SetContinuity (const GeomAbs_Shape C)
 Define the Continuity used in the approximation. More...
 
void SetCriteriumWeight (const Standard_Real W1, const Standard_Real W2, const Standard_Real W3)
 define the Weights associed to the criterium used in the optimization. More...
 
Approx_ParametrizationType ParType () const
 returns the type of parametrization used in the approximation More...
 
GeomAbs_Shape Continuity () const
 returns the Continuity used in the approximation More...
 
void CriteriumWeight (Standard_Real &W1, Standard_Real &W2, Standard_Real &W3) const
 returns the Weights (as percent) associed to the criterium used in the optimization. More...
 
void Perform (const Handle< GeomFill_Line > &Lin, GeomFill_SweepSectionGenerator &SecGen, const Standard_Boolean SpApprox=Standard_False)
 
void PerformSmoothing (const Handle< GeomFill_Line > &Lin, GeomFill_SweepSectionGenerator &SecGen)
 
void Perform (const Handle< GeomFill_Line > &Lin, GeomFill_SweepSectionGenerator &SecGen, const Standard_Integer NbMaxP)
 
Standard_Boolean IsDone () const
 
void SurfShape (Standard_Integer &UDegree, Standard_Integer &VDegree, Standard_Integer &NbUPoles, Standard_Integer &NbVPoles, Standard_Integer &NbUKnots, Standard_Integer &NbVKnots) const
 
void Surface (TColgp_Array2OfPnt &TPoles, TColStd_Array2OfReal &TWeights, TColStd_Array1OfReal &TUKnots, TColStd_Array1OfReal &TVKnots, TColStd_Array1OfInteger &TUMults, TColStd_Array1OfInteger &TVMults) const
 
Standard_Integer UDegree () const
 
Standard_Integer VDegree () const
 
const TColgp_Array2OfPntSurfPoles () const
 
const TColStd_Array2OfRealSurfWeights () const
 
const TColStd_Array1OfRealSurfUKnots () const
 
const TColStd_Array1OfRealSurfVKnots () const
 
const TColStd_Array1OfIntegerSurfUMults () const
 
const TColStd_Array1OfIntegerSurfVMults () const
 
Standard_Integer NbCurves2d () const
 
void Curves2dShape (Standard_Integer &Degree, Standard_Integer &NbPoles, Standard_Integer &NbKnots) const
 
void Curve2d (const Standard_Integer Index, TColgp_Array1OfPnt2d &TPoles, TColStd_Array1OfReal &TKnots, TColStd_Array1OfInteger &TMults) const
 
Standard_Integer Curves2dDegree () const
 
const TColgp_Array1OfPnt2dCurve2dPoles (const Standard_Integer Index) const
 
const TColStd_Array1OfRealCurves2dKnots () const
 
const TColStd_Array1OfIntegerCurves2dMults () const
 
void TolReached (Standard_Real &Tol3d, Standard_Real &Tol2d) const
 
Standard_Real TolCurveOnSurf (const Standard_Integer Index) const
 
- 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 Standard_Integer  Degmin,
const Standard_Integer  Degmax,
const Standard_Real  Tol3d,
const Standard_Real  Tol2d,
const Standard_Integer  NbIt,
const Standard_Boolean  KnownParameters = Standard_False 
)

Member Function Documentation

◆ Continuity()

GeomAbs_Shape GeomFill_AppSweep::Continuity ( ) const

returns the Continuity used in the approximation

◆ CriteriumWeight()

void GeomFill_AppSweep::CriteriumWeight ( Standard_Real W1,
Standard_Real W2,
Standard_Real W3 
) const

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

◆ Curve2d()

void GeomFill_AppSweep::Curve2d ( const Standard_Integer  Index,
TColgp_Array1OfPnt2d TPoles,
TColStd_Array1OfReal TKnots,
TColStd_Array1OfInteger TMults 
) const
virtual

Implements AppBlend_Approx.

◆ Curve2dPoles()

const TColgp_Array1OfPnt2d& GeomFill_AppSweep::Curve2dPoles ( const Standard_Integer  Index) const
virtual

Implements AppBlend_Approx.

◆ Curves2dDegree()

Standard_Integer GeomFill_AppSweep::Curves2dDegree ( ) const
virtual

Implements AppBlend_Approx.

◆ Curves2dKnots()

const TColStd_Array1OfReal& GeomFill_AppSweep::Curves2dKnots ( ) const
virtual

Implements AppBlend_Approx.

◆ Curves2dMults()

const TColStd_Array1OfInteger& GeomFill_AppSweep::Curves2dMults ( ) const
virtual

Implements AppBlend_Approx.

◆ Curves2dShape()

void GeomFill_AppSweep::Curves2dShape ( Standard_Integer Degree,
Standard_Integer NbPoles,
Standard_Integer NbKnots 
) const
virtual

Implements AppBlend_Approx.

◆ Init()

void GeomFill_AppSweep::Init ( const Standard_Integer  Degmin,
const Standard_Integer  Degmax,
const Standard_Real  Tol3d,
const Standard_Real  Tol2d,
const Standard_Integer  NbIt,
const Standard_Boolean  KnownParameters = Standard_False 
)

◆ IsDone()

Standard_Boolean GeomFill_AppSweep::IsDone ( ) const
virtual

Implements AppBlend_Approx.

◆ NbCurves2d()

Standard_Integer GeomFill_AppSweep::NbCurves2d ( ) const
virtual

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 Handle< GeomFill_Line > &  Lin,
GeomFill_SweepSectionGenerator SecGen,
const Standard_Boolean  SpApprox = Standard_False 
)

◆ Perform() [2/2]

void GeomFill_AppSweep::Perform ( const Handle< GeomFill_Line > &  Lin,
GeomFill_SweepSectionGenerator SecGen,
const Standard_Integer  NbMaxP 
)

◆ PerformSmoothing()

void GeomFill_AppSweep::PerformSmoothing ( const 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 Standard_Real  W1,
const Standard_Real  W2,
const Standard_Real  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 ( TColgp_Array2OfPnt TPoles,
TColStd_Array2OfReal TWeights,
TColStd_Array1OfReal TUKnots,
TColStd_Array1OfReal TVKnots,
TColStd_Array1OfInteger TUMults,
TColStd_Array1OfInteger TVMults 
) const
virtual

Implements AppBlend_Approx.

◆ SurfPoles()

const TColgp_Array2OfPnt& GeomFill_AppSweep::SurfPoles ( ) const
virtual

Implements AppBlend_Approx.

◆ SurfShape()

void GeomFill_AppSweep::SurfShape ( Standard_Integer UDegree,
Standard_Integer VDegree,
Standard_Integer NbUPoles,
Standard_Integer NbVPoles,
Standard_Integer NbUKnots,
Standard_Integer NbVKnots 
) const
virtual

Implements AppBlend_Approx.

◆ SurfUKnots()

const TColStd_Array1OfReal& GeomFill_AppSweep::SurfUKnots ( ) const
virtual

Implements AppBlend_Approx.

◆ SurfUMults()

const TColStd_Array1OfInteger& GeomFill_AppSweep::SurfUMults ( ) const
virtual

Implements AppBlend_Approx.

◆ SurfVKnots()

const TColStd_Array1OfReal& GeomFill_AppSweep::SurfVKnots ( ) const
virtual

Implements AppBlend_Approx.

◆ SurfVMults()

const TColStd_Array1OfInteger& GeomFill_AppSweep::SurfVMults ( ) const
virtual

Implements AppBlend_Approx.

◆ SurfWeights()

const TColStd_Array2OfReal& GeomFill_AppSweep::SurfWeights ( ) const
virtual

Implements AppBlend_Approx.

◆ TolCurveOnSurf()

Standard_Real GeomFill_AppSweep::TolCurveOnSurf ( const Standard_Integer  Index) const
virtual

Implements AppBlend_Approx.

◆ TolReached()

void GeomFill_AppSweep::TolReached ( Standard_Real Tol3d,
Standard_Real Tol2d 
) const
virtual

Implements AppBlend_Approx.

◆ UDegree()

Standard_Integer GeomFill_AppSweep::UDegree ( ) const
virtual

Implements AppBlend_Approx.

◆ VDegree()

Standard_Integer GeomFill_AppSweep::VDegree ( ) const
virtual

Implements AppBlend_Approx.


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