Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Public Member Functions
GeomFill_Generator Class Reference

Create a surface using generating lines. Inherits profiler. The surface will be a BSplineSurface passing by all the curves described in the generator. The VDegree of the resulting surface is 1. More...

#include <GeomFill_Generator.hxx>

Inheritance diagram for GeomFill_Generator:
Inheritance graph
[legend]

Public Member Functions

 GeomFill_Generator ()
 
void Perform (const double PTol) override
 Converts all curves to BSplineCurves. Set them to the common profile. Compute the surface (degv = 1). <PTol> is used to compare 2 knots.
 
const occ::handle< Geom_Surface > & Surface () const
 
- Public Member Functions inherited from GeomFill_Profiler
 GeomFill_Profiler ()
 
virtual ~GeomFill_Profiler ()
 
void AddCurve (const occ::handle< Geom_Curve > &Curve)
 
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
 

Additional Inherited Members

- Protected Attributes inherited from GeomFill_Profiler
NCollection_Sequence< occ::handle< Geom_Curve > > mySequence
 
bool myIsDone
 
bool myIsPeriodic
 

Detailed Description

Create a surface using generating lines. Inherits profiler. The surface will be a BSplineSurface passing by all the curves described in the generator. The VDegree of the resulting surface is 1.

Constructor & Destructor Documentation

◆ GeomFill_Generator()

GeomFill_Generator::GeomFill_Generator ( )

Member Function Documentation

◆ Perform()

void GeomFill_Generator::Perform ( const double PTol)
overridevirtual

Converts all curves to BSplineCurves. Set them to the common profile. Compute the surface (degv = 1). <PTol> is used to compare 2 knots.

Reimplemented from GeomFill_Profiler.

◆ Surface()

const occ::handle< Geom_Surface > & GeomFill_Generator::Surface ( ) const

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