Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
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.

#include <GeomFill_Profiler.hxx>

Inheritance diagram for GeomFill_Profiler:
Inheritance graph
[legend]

Public Member Functions

DEFINE_STANDARD_ALLOC GeomFill_Profiler ()
virtual void Delete ()
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 lengthes of <Knots> and <Mults> are
not equal to NbKnots().

const Handle_Geom_Curve & Curve (const Standard_Integer Index) const

Protected Attributes

TColGeom_SequenceOfCurve mySequence
Standard_Boolean myIsDone
Standard_Boolean myIsPeriodic

Constructor & Destructor Documentation

virtual GeomFill_Profiler::~GeomFill_Profiler ( ) [inline, virtual]

Member Function Documentation

const Handle_Geom_Curve& GeomFill_Profiler::Curve ( const Standard_Integer  Index) const
virtual void GeomFill_Profiler::Delete ( ) [virtual]
virtual void GeomFill_Profiler::Perform ( const Standard_Real  PTol) [virtual]

Reimplemented in GeomFill_Generator.


Field Documentation


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