Open CASCADE Technology Reference Manual 8.0.2
Loading...
Searching...
No Matches
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:

Public Member Functions

 GeomFill_SectionGenerator ()
void SetParam (const occ::handle< NCollection_HArray1< double > > &Params)
void GetShape (int &NbPoles, int &NbKnots, int &Degree, int &NbPoles2d) const
void Knots (NCollection_Array1< double > &TKnots) const
void Mults (NCollection_Array1< int > &TMults) const
bool Section (const int P, NCollection_Array1< gp_Pnt > &Poles, NCollection_Array1< gp_Vec > &DPoles, NCollection_Array1< gp_Pnt2d > &Poles2d, NCollection_Array1< gp_Vec2d > &DPoles2d, NCollection_Array1< double > &Weigths, NCollection_Array1< double > &DWeigths) const
 Used for the first and last section The method returns true if the derivatives are computed, otherwise it returns false.
void Section (const int P, NCollection_Array1< gp_Pnt > &Poles, NCollection_Array1< gp_Pnt2d > &Poles2d, NCollection_Array1< double > &Weigths) const
double Parameter (const int P) const
 Returns the parameter of Section.
Public Member Functions inherited from GeomFill_Profiler
 GeomFill_Profiler ()
virtual ~GeomFill_Profiler ()
void AddCurve (const occ::handle< Geom_Curve > &Curve)
virtual void Perform (const double PTol)
 Converts all curves to BSplineCurves. Set them to the common profile. <PTol> is used to compare 2 knots.
int Degree () const
 Raises if not yet perform.
bool IsPeriodic () const
int NbPoles () const
 Raises if not yet perform.
void Poles (const int Index, NCollection_Array1< gp_Pnt > &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().
void Weights (const int Index, NCollection_Array1< double > &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().
int NbKnots () const
 Raises if not yet perform.
void KnotsAndMults (NCollection_Array1< double > &Knots, NCollection_Array1< int > &Mults) const
 Raises if not yet perform Raises if the lengths of <Knots> and <Mults> are not equal to NbKnots().
const occ::handle< Geom_Curve > & Curve (const int Index) const

Protected Attributes

occ::handle< NCollection_HArray1< double > > myParams
Protected Attributes inherited from GeomFill_Profiler
NCollection_Sequence< occ::handle< Geom_Curve > > mySequence
bool myIsDone
bool 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 ( int & NbPoles,
int & NbKnots,
int & Degree,
int & NbPoles2d ) const

◆ Knots()

void GeomFill_SectionGenerator::Knots ( NCollection_Array1< double > & TKnots) const

◆ Mults()

void GeomFill_SectionGenerator::Mults ( NCollection_Array1< int > & TMults) const

◆ Parameter()

double GeomFill_SectionGenerator::Parameter ( const int P) const

Returns the parameter of Section.

, to impose it for the approximation.

◆ Section() [1/2]

void GeomFill_SectionGenerator::Section ( const int P,
NCollection_Array1< gp_Pnt > & Poles,
NCollection_Array1< gp_Pnt2d > & Poles2d,
NCollection_Array1< double > & Weigths ) const

◆ Section() [2/2]

bool GeomFill_SectionGenerator::Section ( const int P,
NCollection_Array1< gp_Pnt > & Poles,
NCollection_Array1< gp_Vec > & DPoles,
NCollection_Array1< gp_Pnt2d > & Poles2d,
NCollection_Array1< gp_Vec2d > & DPoles2d,
NCollection_Array1< double > & Weigths,
NCollection_Array1< double > & DWeigths ) const

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

◆ SetParam()

void GeomFill_SectionGenerator::SetParam ( const occ::handle< NCollection_HArray1< double > > & Params)

Field Documentation

◆ myParams

occ::handle<NCollection_HArray1<double> > GeomFill_SectionGenerator::myParams
protected

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