Open CASCADE Technology  7.7.0
Public Member Functions | Protected Attributes
GeomFill_Profiler Class Reference

Evaluation of the common BSplineProfile of a group of curves from Geom. All the curves will have the same degree, the same knot-vector, so the same number of poles. More...

#include <GeomFill_Profiler.hxx>

Inheritance diagram for GeomFill_Profiler:
Inheritance graph
[legend]

Public Member Functions

 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 lengths of <Knots> and <Mults> are not equal to NbKnots(). More...
 
const Handle< Geom_Curve > & Curve (const Standard_Integer Index) const
 

Protected Attributes

TColGeom_SequenceOfCurve mySequence
 
Standard_Boolean myIsDone
 
Standard_Boolean myIsPeriodic
 

Detailed Description

Evaluation of the common BSplineProfile of a group of curves from Geom. All the curves will have the same degree, the same knot-vector, so the same number of poles.

Constructor & Destructor Documentation

◆ GeomFill_Profiler()

GeomFill_Profiler::GeomFill_Profiler ( )

◆ ~GeomFill_Profiler()

virtual GeomFill_Profiler::~GeomFill_Profiler ( )
virtual

Member Function Documentation

◆ AddCurve()

void GeomFill_Profiler::AddCurve ( const Handle< Geom_Curve > &  Curve)

◆ Curve()

const Handle< Geom_Curve >& GeomFill_Profiler::Curve ( const Standard_Integer  Index) const

◆ Degree()

Standard_Integer GeomFill_Profiler::Degree ( ) const

Raises if not yet perform.

◆ IsPeriodic()

Standard_Boolean GeomFill_Profiler::IsPeriodic ( ) const

◆ KnotsAndMults()

void GeomFill_Profiler::KnotsAndMults ( TColStd_Array1OfReal Knots,
TColStd_Array1OfInteger Mults 
) const

Raises if not yet perform Raises if the lengths of <Knots> and <Mults> are not equal to NbKnots().

◆ NbKnots()

Standard_Integer GeomFill_Profiler::NbKnots ( ) const

Raises if not yet perform.

◆ NbPoles()

Standard_Integer GeomFill_Profiler::NbPoles ( ) const

Raises if not yet perform.

◆ Perform()

virtual void GeomFill_Profiler::Perform ( const Standard_Real  PTol)
virtual

Converts all curves to BSplineCurves. Set them to the common profile. <PTol> is used to compare 2 knots.

Reimplemented in GeomFill_Generator.

◆ Poles()

void GeomFill_Profiler::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().

◆ Weights()

void GeomFill_Profiler::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().

Field Documentation

◆ myIsDone

Standard_Boolean GeomFill_Profiler::myIsDone
protected

◆ myIsPeriodic

Standard_Boolean GeomFill_Profiler::myIsPeriodic
protected

◆ mySequence

TColGeom_SequenceOfCurve GeomFill_Profiler::mySequence
protected

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