![]() |
Open CASCADE Technology Reference Manual 8.0.0
|
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>

Public Member Functions | |
| 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 | |
| NCollection_Sequence< occ::handle< Geom_Curve > > | mySequence |
| bool | myIsDone |
| bool | myIsPeriodic |
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.
| GeomFill_Profiler::GeomFill_Profiler | ( | ) |
|
virtual |
| void GeomFill_Profiler::AddCurve | ( | const occ::handle< Geom_Curve > & | Curve | ) |
| const occ::handle< Geom_Curve > & GeomFill_Profiler::Curve | ( | const int | Index | ) | const |
| int GeomFill_Profiler::Degree | ( | ) | const |
Raises if not yet perform.
| bool GeomFill_Profiler::IsPeriodic | ( | ) | const |
| void GeomFill_Profiler::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().
| int GeomFill_Profiler::NbKnots | ( | ) | const |
Raises if not yet perform.
| int GeomFill_Profiler::NbPoles | ( | ) | const |
Raises if not yet perform.
Converts all curves to BSplineCurves. Set them to the common profile. <PTol> is used to compare 2 knots.
Reimplemented in GeomFill_Generator.
| void GeomFill_Profiler::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 GeomFill_Profiler::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().
|
protected |
|
protected |
|
protected |