Open CASCADE Technology  7.0.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::GeomFill_AppSurf ( )
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

GeomAbs_Shape GeomFill_AppSurf::Continuity ( ) const

returns the Continuity used in the approximation

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.

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

Implements AppBlend_Approx.

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

Implements AppBlend_Approx.

Standard_Integer GeomFill_AppSurf::Curves2dDegree ( ) const
virtual

Implements AppBlend_Approx.

const TColStd_Array1OfReal& GeomFill_AppSurf::Curves2dKnots ( ) const
virtual

Implements AppBlend_Approx.

const TColStd_Array1OfInteger& GeomFill_AppSurf::Curves2dMults ( ) const
virtual

Implements AppBlend_Approx.

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

Implements AppBlend_Approx.

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

Implements AppBlend_Approx.

Standard_Integer GeomFill_AppSurf::NbCurves2d ( ) const
virtual

Implements AppBlend_Approx.

Approx_ParametrizationType GeomFill_AppSurf::ParType ( ) const

returns the type of parametrization used in the approximation

void GeomFill_AppSurf::Perform ( const Handle< GeomFill_Line > &  Lin,
GeomFill_SectionGenerator SecGen,
const Standard_Boolean  SpApprox = Standard_False 
)
void GeomFill_AppSurf::Perform ( const Handle< GeomFill_Line > &  Lin,
GeomFill_SectionGenerator SecGen,
const Standard_Integer  NbMaxP 
)
void GeomFill_AppSurf::PerformSmoothing ( const Handle< GeomFill_Line > &  Lin,
GeomFill_SectionGenerator SecGen 
)
void GeomFill_AppSurf::SetContinuity ( const GeomAbs_Shape  C)

Define the Continuity used in the approximation.

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

void GeomFill_AppSurf::SetParType ( const Approx_ParametrizationType  ParType)

Define the type of parametrization used in the approximation.

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.

const TColgp_Array2OfPnt& GeomFill_AppSurf::SurfPoles ( ) const
virtual

Implements AppBlend_Approx.

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.

const TColStd_Array1OfReal& GeomFill_AppSurf::SurfUKnots ( ) const
virtual

Implements AppBlend_Approx.

const TColStd_Array1OfInteger& GeomFill_AppSurf::SurfUMults ( ) const
virtual

Implements AppBlend_Approx.

const TColStd_Array1OfReal& GeomFill_AppSurf::SurfVKnots ( ) const
virtual

Implements AppBlend_Approx.

const TColStd_Array1OfInteger& GeomFill_AppSurf::SurfVMults ( ) const
virtual

Implements AppBlend_Approx.

const TColStd_Array2OfReal& GeomFill_AppSurf::SurfWeights ( ) const
virtual

Implements AppBlend_Approx.

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

Implements AppBlend_Approx.

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

Implements AppBlend_Approx.

Standard_Integer GeomFill_AppSurf::UDegree ( ) const
virtual

Implements AppBlend_Approx.

Standard_Integer GeomFill_AppSurf::VDegree ( ) const
virtual

Implements AppBlend_Approx.


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