Open CASCADE Technology  7.5.0
Public Member Functions
BRepBlend_AppSurf Class Reference

#include <BRepBlend_AppSurf.hxx>

Inheritance diagram for BRepBlend_AppSurf:
Inheritance graph
[legend]

Public Member Functions

 BRepBlend_AppSurf ()
 
 BRepBlend_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< BRepBlend_Line > &Lin, Blend_AppFunction &SecGen, const Standard_Boolean SpApprox=Standard_False)
 
void PerformSmoothing (const Handle< BRepBlend_Line > &Lin, Blend_AppFunction &SecGen)
 
void Perform (const Handle< BRepBlend_Line > &Lin, Blend_AppFunction &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 ()
 

Constructor & Destructor Documentation

◆ BRepBlend_AppSurf() [1/2]

BRepBlend_AppSurf::BRepBlend_AppSurf ( )

◆ BRepBlend_AppSurf() [2/2]

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

returns the Continuity used in the approximation

◆ CriteriumWeight()

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

Implements AppBlend_Approx.

◆ Curve2dPoles()

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

Implements AppBlend_Approx.

◆ Curves2dDegree()

Standard_Integer BRepBlend_AppSurf::Curves2dDegree ( ) const
virtual

Implements AppBlend_Approx.

◆ Curves2dKnots()

const TColStd_Array1OfReal& BRepBlend_AppSurf::Curves2dKnots ( ) const
virtual

Implements AppBlend_Approx.

◆ Curves2dMults()

const TColStd_Array1OfInteger& BRepBlend_AppSurf::Curves2dMults ( ) const
virtual

Implements AppBlend_Approx.

◆ Curves2dShape()

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

Implements AppBlend_Approx.

◆ Init()

void BRepBlend_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 BRepBlend_AppSurf::IsDone ( ) const
virtual

Implements AppBlend_Approx.

◆ NbCurves2d()

Standard_Integer BRepBlend_AppSurf::NbCurves2d ( ) const
virtual

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

◆ Perform() [2/2]

void BRepBlend_AppSurf::Perform ( const Handle< BRepBlend_Line > &  Lin,
Blend_AppFunction SecGen,
const Standard_Integer  NbMaxP 
)

◆ PerformSmoothing()

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

Define the type of parametrization used in the approximation.

◆ Surface()

void BRepBlend_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& BRepBlend_AppSurf::SurfPoles ( ) const
virtual

Implements AppBlend_Approx.

◆ SurfShape()

void BRepBlend_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& BRepBlend_AppSurf::SurfUKnots ( ) const
virtual

Implements AppBlend_Approx.

◆ SurfUMults()

const TColStd_Array1OfInteger& BRepBlend_AppSurf::SurfUMults ( ) const
virtual

Implements AppBlend_Approx.

◆ SurfVKnots()

const TColStd_Array1OfReal& BRepBlend_AppSurf::SurfVKnots ( ) const
virtual

Implements AppBlend_Approx.

◆ SurfVMults()

const TColStd_Array1OfInteger& BRepBlend_AppSurf::SurfVMults ( ) const
virtual

Implements AppBlend_Approx.

◆ SurfWeights()

const TColStd_Array2OfReal& BRepBlend_AppSurf::SurfWeights ( ) const
virtual

Implements AppBlend_Approx.

◆ TolCurveOnSurf()

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

Implements AppBlend_Approx.

◆ TolReached()

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

Implements AppBlend_Approx.

◆ UDegree()

Standard_Integer BRepBlend_AppSurf::UDegree ( ) const
virtual

Implements AppBlend_Approx.

◆ VDegree()

Standard_Integer BRepBlend_AppSurf::VDegree ( ) const
virtual

Implements AppBlend_Approx.


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