OCC Main Page | ModelingAlgorithms | Toolkits | Packages | Class Hierarchy | Data Structures | File List | Data Fields | Globals

ModelingAlgorithms
TKGeomAlgo
GeomFill


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

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
Standard_EXPORT GeomFill_Profiler ()
virtual Standard_EXPORT void Delete ()
virtual Standard_EXPORT ~GeomFill_Profiler ()
Standard_EXPORT void AddCurve (const Handle(Geom_Curve)&Curve)
virtual Standard_EXPORT 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_EXPORT Standard_Integer Degree () const
 Raises if not yet perform
.
Standard_Boolean IsPeriodic () const
Standard_EXPORT Standard_Integer NbPoles () const
 Raises if not yet perform
.
Standard_EXPORT 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().

Standard_EXPORT 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_EXPORT Standard_Integer NbKnots () const
 Raises if not yet perform
.
Standard_EXPORT 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

Standard_EXPORT GeomFill_Profiler::GeomFill_Profiler  ) 
 

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


Member Function Documentation

Standard_EXPORT void GeomFill_Profiler::AddCurve const Handle(Geom_Curve)&  Curve  ) 
 

const Handle_Geom_Curve& GeomFill_Profiler::Curve const Standard_Integer  Index  )  const
 

Standard_EXPORT Standard_Integer GeomFill_Profiler::Degree  )  const
 

virtual Standard_EXPORT void GeomFill_Profiler::Delete  )  [virtual]
 

Standard_Boolean GeomFill_Profiler::IsPeriodic  )  const [inline]
 

Standard_EXPORT void GeomFill_Profiler::KnotsAndMults TColStd_Array1OfReal &  Knots,
TColStd_Array1OfInteger &  Mults
const
 

Standard_EXPORT Standard_Integer GeomFill_Profiler::NbKnots  )  const
 

Standard_EXPORT Standard_Integer GeomFill_Profiler::NbPoles  )  const
 

void GeomFill_Profiler::operator delete void *  anAddress  )  [inline]
 

Reimplemented in GeomFill_Generator, and GeomFill_SectionGenerator.

void* GeomFill_Profiler::operator new size_t  size  )  [inline]
 

Reimplemented in GeomFill_Generator, and GeomFill_SectionGenerator.

void* GeomFill_Profiler::operator new size_t  ,
void *  anAddress
[inline]
 

Reimplemented in GeomFill_Generator, and GeomFill_SectionGenerator.

virtual Standard_EXPORT void GeomFill_Profiler::Perform const Standard_Real  PTol  )  [virtual]
 

Reimplemented in GeomFill_Generator.

Standard_EXPORT void GeomFill_Profiler::Poles const Standard_Integer  Index,
TColgp_Array1OfPnt &  Poles
const
 

Standard_EXPORT void GeomFill_Profiler::Weights const Standard_Integer  Index,
TColStd_Array1OfReal &  Weights
const
 


Field Documentation

Standard_Boolean GeomFill_Profiler::myIsDone [protected]
 

Standard_Boolean GeomFill_Profiler::myIsPeriodic [protected]
 

TColGeom_SequenceOfCurve GeomFill_Profiler::mySequence [protected]
 


The documentation for this class was generated from the following files:
Generated on Mon Aug 25 13:41:55 2008 for OpenCASCADE by  doxygen 1.4.1