Open CASCADE Technology  7.4.0
Public Member Functions
GeomFill_AppSurf Class Reference

Approximate a BSplineSurface passing by all the curves described in the SectionGenerator. More...

#include <GeomFill_AppSurf.hxx>

Inheritance diagram for GeomFill_AppSurf:
Inheritance graph
[legend]

Public Member Functions

 GeomFill_AppSurf ()
 
 GeomFill_AppSurf (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_SectionGenerator &SecGen, const Standard_Boolean SpApprox=Standard_False)
 
void PerformSmoothing (const Handle< GeomFill_Line > &Lin, GeomFill_SectionGenerator &SecGen)
 
void Perform (const Handle< GeomFill_Line > &Lin, GeomFill_SectionGenerator &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 BSplineSurface passing by all the curves described in the SectionGenerator.

Constructor & Destructor Documentation

◆ GeomFill_AppSurf() [1/2]

GeomFill_AppSurf::GeomFill_AppSurf ( )

◆ GeomFill_AppSurf() [2/2]

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

returns the Continuity used in the approximation

◆ CriteriumWeight()

void GeomFill_AppSurf::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_AppSurf::Curve2d ( const Standard_Integer  Index,
TColgp_Array1OfPnt2d TPoles,
TColStd_Array1OfReal TKnots,
TColStd_Array1OfInteger TMults 
) const
virtual

Implements AppBlend_Approx.

◆ Curve2dPoles()

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

Implements AppBlend_Approx.

◆ Curves2dDegree()

Standard_Integer GeomFill_AppSurf::Curves2dDegree ( ) const
virtual

Implements AppBlend_Approx.

◆ Curves2dKnots()

const TColStd_Array1OfReal& GeomFill_AppSurf::Curves2dKnots ( ) const
virtual

Implements AppBlend_Approx.

◆ Curves2dMults()

const TColStd_Array1OfInteger& GeomFill_AppSurf::Curves2dMults ( ) const
virtual

Implements AppBlend_Approx.

◆ Curves2dShape()

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

Implements AppBlend_Approx.

◆ Init()

void GeomFill_AppSurf::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_AppSurf::IsDone ( ) const
virtual

Implements AppBlend_Approx.

◆ NbCurves2d()

Standard_Integer GeomFill_AppSurf::NbCurves2d ( ) const
virtual

Implements AppBlend_Approx.

◆ ParType()

Approx_ParametrizationType GeomFill_AppSurf::ParType ( ) const

returns the type of parametrization used in the approximation

◆ Perform() [1/2]

void GeomFill_AppSurf::Perform ( const Handle< GeomFill_Line > &  Lin,
GeomFill_SectionGenerator SecGen,
const Standard_Boolean  SpApprox = Standard_False 
)

◆ Perform() [2/2]

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

◆ PerformSmoothing()

void GeomFill_AppSurf::PerformSmoothing ( const Handle< GeomFill_Line > &  Lin,
GeomFill_SectionGenerator SecGen 
)

◆ SetContinuity()

void GeomFill_AppSurf::SetContinuity ( const GeomAbs_Shape  C)

Define the Continuity used in the approximation.

◆ SetCriteriumWeight()

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

Define the type of parametrization used in the approximation.

◆ Surface()

void GeomFill_AppSurf::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_AppSurf::SurfPoles ( ) const
virtual

Implements AppBlend_Approx.

◆ SurfShape()

void GeomFill_AppSurf::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_AppSurf::SurfUKnots ( ) const
virtual

Implements AppBlend_Approx.

◆ SurfUMults()

const TColStd_Array1OfInteger& GeomFill_AppSurf::SurfUMults ( ) const
virtual

Implements AppBlend_Approx.

◆ SurfVKnots()

const TColStd_Array1OfReal& GeomFill_AppSurf::SurfVKnots ( ) const
virtual

Implements AppBlend_Approx.

◆ SurfVMults()

const TColStd_Array1OfInteger& GeomFill_AppSurf::SurfVMults ( ) const
virtual

Implements AppBlend_Approx.

◆ SurfWeights()

const TColStd_Array2OfReal& GeomFill_AppSurf::SurfWeights ( ) const
virtual

Implements AppBlend_Approx.

◆ TolCurveOnSurf()

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

Implements AppBlend_Approx.

◆ TolReached()

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

Implements AppBlend_Approx.

◆ UDegree()

Standard_Integer GeomFill_AppSurf::UDegree ( ) const
virtual

Implements AppBlend_Approx.

◆ VDegree()

Standard_Integer GeomFill_AppSurf::VDegree ( ) const
virtual

Implements AppBlend_Approx.


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