Open CASCADE Technology  7.1.0.beta
Public Member Functions

GeomFill_BSplineCurves Class Reference

An algorithm for constructing a BSpline surface filled from contiguous BSpline curves which form its boundaries. The algorithm accepts two, three or four BSpline curves as the boundaries of the target surface. A range of filling styles - more or less rounded, more or less flat - is available. A BSplineCurves object provides a framework for: More...

#include <GeomFill_BSplineCurves.hxx>

Public Member Functions

 GeomFill_BSplineCurves ()
 Constructs a default BSpline surface framework. More...
 
 GeomFill_BSplineCurves (const Handle< Geom_BSplineCurve > &C1, const Handle< Geom_BSplineCurve > &C2, const Handle< Geom_BSplineCurve > &C3, const Handle< Geom_BSplineCurve > &C4, const GeomFill_FillingStyle Type)
 
 GeomFill_BSplineCurves (const Handle< Geom_BSplineCurve > &C1, const Handle< Geom_BSplineCurve > &C2, const Handle< Geom_BSplineCurve > &C3, const GeomFill_FillingStyle Type)
 
 GeomFill_BSplineCurves (const Handle< Geom_BSplineCurve > &C1, const Handle< Geom_BSplineCurve > &C2, const GeomFill_FillingStyle Type)
 Constructs a framework for building a BSpline surface from either. More...
 
void Init (const Handle< Geom_BSplineCurve > &C1, const Handle< Geom_BSplineCurve > &C2, const Handle< Geom_BSplineCurve > &C3, const Handle< Geom_BSplineCurve > &C4, const GeomFill_FillingStyle Type)
 if the curves cannot be joined More...
 
void Init (const Handle< Geom_BSplineCurve > &C1, const Handle< Geom_BSplineCurve > &C2, const Handle< Geom_BSplineCurve > &C3, const GeomFill_FillingStyle Type)
 if the curves cannot be joined More...
 
void Init (const Handle< Geom_BSplineCurve > &C1, const Handle< Geom_BSplineCurve > &C2, const GeomFill_FillingStyle Type)
 Initializes or reinitializes this algorithm with two, three, or four curves - C1, C2, C3, and C4 - and Type, one of the following filling styles: More...
 
const Handle< Geom_BSplineSurface > & Surface () const
 Returns the BSpline surface Surface resulting from the computation performed by this algorithm. More...
 

Detailed Description

An algorithm for constructing a BSpline surface filled from contiguous BSpline curves which form its boundaries. The algorithm accepts two, three or four BSpline curves as the boundaries of the target surface. A range of filling styles - more or less rounded, more or less flat - is available. A BSplineCurves object provides a framework for:

Constructor & Destructor Documentation

GeomFill_BSplineCurves::GeomFill_BSplineCurves ( )

Constructs a default BSpline surface framework.

GeomFill_BSplineCurves::GeomFill_BSplineCurves ( const Handle< Geom_BSplineCurve > &  C1,
const Handle< Geom_BSplineCurve > &  C2,
const Handle< Geom_BSplineCurve > &  C3,
const Handle< Geom_BSplineCurve > &  C4,
const GeomFill_FillingStyle  Type 
)
GeomFill_BSplineCurves::GeomFill_BSplineCurves ( const Handle< Geom_BSplineCurve > &  C1,
const Handle< Geom_BSplineCurve > &  C2,
const Handle< Geom_BSplineCurve > &  C3,
const GeomFill_FillingStyle  Type 
)
GeomFill_BSplineCurves::GeomFill_BSplineCurves ( const Handle< Geom_BSplineCurve > &  C1,
const Handle< Geom_BSplineCurve > &  C2,
const GeomFill_FillingStyle  Type 
)

Constructs a framework for building a BSpline surface from either.

  • the four contiguous BSpline curves, C1, C2, C3 and C4, or
  • the three contiguous BSpline curves, C1, C2 and C3, or
  • the two contiguous BSpline curves, C1 and C2. The type of filling style Type to be used is one of:
  • GeomFill_Stretch - the style with the flattest patch
  • GeomFill_Coons - a rounded style of patch with less depth than that of Curved
  • GeomFill_Curved - the style with the most rounded patch.Constructs a framework for building a BSpline surface common to the two BSpline curves, C1 and C2. Exceptions Standard_ConstructionError if the curves are not contiguous.

Member Function Documentation

void GeomFill_BSplineCurves::Init ( const Handle< Geom_BSplineCurve > &  C1,
const Handle< Geom_BSplineCurve > &  C2,
const Handle< Geom_BSplineCurve > &  C3,
const Handle< Geom_BSplineCurve > &  C4,
const GeomFill_FillingStyle  Type 
)

if the curves cannot be joined

void GeomFill_BSplineCurves::Init ( const Handle< Geom_BSplineCurve > &  C1,
const Handle< Geom_BSplineCurve > &  C2,
const Handle< Geom_BSplineCurve > &  C3,
const GeomFill_FillingStyle  Type 
)

if the curves cannot be joined

void GeomFill_BSplineCurves::Init ( const Handle< Geom_BSplineCurve > &  C1,
const Handle< Geom_BSplineCurve > &  C2,
const GeomFill_FillingStyle  Type 
)

Initializes or reinitializes this algorithm with two, three, or four curves - C1, C2, C3, and C4 - and Type, one of the following filling styles:

  • GeomFill_Stretch - the style with the flattest patch
  • GeomFill_Coons - a rounded style of patch with less depth than that of Curved
  • GeomFill_Curved - the style with the most rounded patch. Exceptions Standard_ConstructionError if the curves are not contiguous.
const Handle< Geom_BSplineSurface >& GeomFill_BSplineCurves::Surface ( ) const

Returns the BSpline surface Surface resulting from the computation performed by this algorithm.


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