Open CASCADE Technology 7.8.0
|
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>
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. | |
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. | |
![]() | |
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. | |
Standard_Integer | Degree () const |
Raises if not yet perform. | |
Standard_Boolean | IsPeriodic () const |
Standard_Integer | NbPoles () const |
Raises if not yet perform. | |
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(). | |
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(). | |
Standard_Integer | NbKnots () const |
Raises if not yet perform. | |
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(). | |
const Handle< Geom_Curve > & | Curve (const Standard_Integer Index) const |
Protected Attributes | |
Handle< TColStd_HArray1OfReal > | myParams |
![]() | |
TColGeom_SequenceOfCurve | mySequence |
Standard_Boolean | myIsDone |
Standard_Boolean | myIsPeriodic |
gives the functions needed for instantiation from AppSurf in AppBlend. Allow to evaluate a surface passing by all the curves if the Profiler.
GeomFill_SectionGenerator::GeomFill_SectionGenerator | ( | ) |
void GeomFill_SectionGenerator::GetShape | ( | Standard_Integer & | NbPoles, |
Standard_Integer & | NbKnots, | ||
Standard_Integer & | Degree, | ||
Standard_Integer & | NbPoles2d | ||
) | const |
void GeomFill_SectionGenerator::Knots | ( | TColStd_Array1OfReal & | TKnots | ) | const |
void GeomFill_SectionGenerator::Mults | ( | TColStd_Array1OfInteger & | TMults | ) | const |
Standard_Real GeomFill_SectionGenerator::Parameter | ( | const Standard_Integer | P | ) | const |
Returns the parameter of Section.
, to impose it for the approximation.
void GeomFill_SectionGenerator::Section | ( | const Standard_Integer | P, |
TColgp_Array1OfPnt & | Poles, | ||
TColgp_Array1OfPnt2d & | Poles2d, | ||
TColStd_Array1OfReal & | Weigths | ||
) | const |
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.
void GeomFill_SectionGenerator::SetParam | ( | const Handle< TColStd_HArray1OfReal > & | Params | ) |
|
protected |