Open CASCADE Technology  7.3.0
Public Member Functions | Protected Attributes
GeomFill_SectionGenerator Class Reference

gives the functions needed for instantiation from AppSurf in AppBlend. Allow to evaluate a surface passing by all the curves if the Profiler. More...

#include <GeomFill_SectionGenerator.hxx>

Inheritance diagram for GeomFill_SectionGenerator:
Inheritance graph
[legend]

Public Member Functions

 GeomFill_SectionGenerator ()
 
void SetParam (const Handle< TColStd_HArray1OfReal > &Params)
 
void GetShape (Standard_Integer &NbPoles, Standard_Integer &NbKnots, Standard_Integer &Degree, Standard_Integer &NbPoles2d) const
 
void Knots (TColStd_Array1OfReal &TKnots) const
 
void Mults (TColStd_Array1OfInteger &TMults) const
 
Standard_Boolean Section (const Standard_Integer P, TColgp_Array1OfPnt &Poles, TColgp_Array1OfVec &DPoles, TColgp_Array1OfPnt2d &Poles2d, TColgp_Array1OfVec2d &DPoles2d, TColStd_Array1OfReal &Weigths, TColStd_Array1OfReal &DWeigths) const
 Used for the first and last section The method returns Standard_True if the derivatives are computed, otherwise it returns Standard_False. More...
 
void Section (const Standard_Integer P, TColgp_Array1OfPnt &Poles, TColgp_Array1OfPnt2d &Poles2d, TColStd_Array1OfReal &Weigths) const
 
Standard_Real Parameter (const Standard_Integer P) const
 Returns the parameter of Section. More...
 
- Public Member Functions inherited from GeomFill_Profiler
 GeomFill_Profiler ()
 
virtual ~GeomFill_Profiler ()
 
void AddCurve (const Handle< Geom_Curve > &Curve)
 
virtual void Perform (const Standard_Real PTol)
 Converts all curves to BSplineCurves. Set them to the common profile. <PTol> is used to compare 2 knots. More...
 
Standard_Integer Degree () const
 Raises if not yet perform. More...
 
Standard_Boolean IsPeriodic () const
 
Standard_Integer NbPoles () const
 Raises if not yet perform. More...
 
void Poles (const Standard_Integer Index, TColgp_Array1OfPnt &Poles) const
 returns in <Poles> the poles of the BSplineCurve from index <Index> adjusting to the current profile. Raises if not yet perform Raises if <Index> not in the range [1,NbCurves] if the length of <Poles> is not equal to NbPoles(). More...
 
void Weights (const Standard_Integer Index, TColStd_Array1OfReal &Weights) const
 returns in <Weights> the weights of the BSplineCurve from index <Index> adjusting to the current profile. Raises if not yet perform Raises if <Index> not in the range [1,NbCurves] or if the length of <Weights> is not equal to NbPoles(). More...
 
Standard_Integer NbKnots () const
 Raises if not yet perform. More...
 
void KnotsAndMults (TColStd_Array1OfReal &Knots, TColStd_Array1OfInteger &Mults) const
 Raises if not yet perform Raises if the lengthes of <Knots> and <Mults> are not equal to NbKnots(). More...
 
const Handle< Geom_Curve > & Curve (const Standard_Integer Index) const
 

Protected Attributes

Handle< TColStd_HArray1OfReal > myParams
 
- Protected Attributes inherited from GeomFill_Profiler
TColGeom_SequenceOfCurve mySequence
 
Standard_Boolean myIsDone
 
Standard_Boolean myIsPeriodic
 

Detailed Description

gives the functions needed for instantiation from AppSurf in AppBlend. Allow to evaluate a surface passing by all the curves if the Profiler.

Constructor & Destructor Documentation

◆ GeomFill_SectionGenerator()

GeomFill_SectionGenerator::GeomFill_SectionGenerator ( )

Member Function Documentation

◆ GetShape()

void GeomFill_SectionGenerator::GetShape ( Standard_Integer NbPoles,
Standard_Integer NbKnots,
Standard_Integer Degree,
Standard_Integer NbPoles2d 
) const

◆ Knots()

void GeomFill_SectionGenerator::Knots ( TColStd_Array1OfReal TKnots) const

◆ Mults()

void GeomFill_SectionGenerator::Mults ( TColStd_Array1OfInteger TMults) const

◆ Parameter()

Standard_Real GeomFill_SectionGenerator::Parameter ( const Standard_Integer  P) const

Returns the parameter of Section.

, to impose it for the approximation.

◆ Section() [1/2]

Standard_Boolean GeomFill_SectionGenerator::Section ( const Standard_Integer  P,
TColgp_Array1OfPnt Poles,
TColgp_Array1OfVec DPoles,
TColgp_Array1OfPnt2d Poles2d,
TColgp_Array1OfVec2d DPoles2d,
TColStd_Array1OfReal Weigths,
TColStd_Array1OfReal DWeigths 
) const

Used for the first and last section The method returns Standard_True if the derivatives are computed, otherwise it returns Standard_False.

◆ Section() [2/2]

void GeomFill_SectionGenerator::Section ( const Standard_Integer  P,
TColgp_Array1OfPnt Poles,
TColgp_Array1OfPnt2d Poles2d,
TColStd_Array1OfReal Weigths 
) const

◆ SetParam()

void GeomFill_SectionGenerator::SetParam ( const Handle< TColStd_HArray1OfReal > &  Params)

Field Documentation

◆ myParams

Handle< TColStd_HArray1OfReal > GeomFill_SectionGenerator::myParams
protected

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