Open CASCADE Technology  7.4.0
Public Member Functions
GeomFill_BezierCurves Class Reference

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

#include <GeomFill_BezierCurves.hxx>

Public Member Functions

 GeomFill_BezierCurves ()
 Constructs an empty framework for building a Bezier surface from contiguous Bezier curves. You use the Init function to define the boundaries of the surface. More...
 
 GeomFill_BezierCurves (const Handle< Geom_BezierCurve > &C1, const Handle< Geom_BezierCurve > &C2, const Handle< Geom_BezierCurve > &C3, const Handle< Geom_BezierCurve > &C4, const GeomFill_FillingStyle Type)
 Constructs a framework for building a Bezier surface from the four contiguous Bezier curves, C1, C2, C3 and C4 Raises Standard_ConstructionError if the curves are not contiguous. More...
 
 GeomFill_BezierCurves (const Handle< Geom_BezierCurve > &C1, const Handle< Geom_BezierCurve > &C2, const Handle< Geom_BezierCurve > &C3, const GeomFill_FillingStyle Type)
 Constructs a framework for building a Bezier surface from the three contiguous Bezier curves, C1, C2 and C3 Raises Standard_ConstructionError if the curves are not contiguous. More...
 
 GeomFill_BezierCurves (const Handle< Geom_BezierCurve > &C1, const Handle< Geom_BezierCurve > &C2, const GeomFill_FillingStyle Type)
 Constructs a framework for building a Bezier surface from the two contiguous Bezier curves, C1 and C2 Raises Standard_ConstructionError if the curves are not contiguous. More...
 
void Init (const Handle< Geom_BezierCurve > &C1, const Handle< Geom_BezierCurve > &C2, const Handle< Geom_BezierCurve > &C3, const Handle< Geom_BezierCurve > &C4, const GeomFill_FillingStyle Type)
 if the curves cannot be joined More...
 
void Init (const Handle< Geom_BezierCurve > &C1, const Handle< Geom_BezierCurve > &C2, const Handle< Geom_BezierCurve > &C3, const GeomFill_FillingStyle Type)
 if the curves cannot be joined More...
 
void Init (const Handle< Geom_BezierCurve > &C1, const Handle< Geom_BezierCurve > &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_BezierSurface > & Surface () const
 Returns the Bezier surface resulting from the computation performed by this algorithm. More...
 

Detailed Description

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

Constructor & Destructor Documentation

◆ GeomFill_BezierCurves() [1/4]

GeomFill_BezierCurves::GeomFill_BezierCurves ( )

Constructs an empty framework for building a Bezier surface from contiguous Bezier curves. You use the Init function to define the boundaries of the surface.

◆ GeomFill_BezierCurves() [2/4]

GeomFill_BezierCurves::GeomFill_BezierCurves ( const Handle< Geom_BezierCurve > &  C1,
const Handle< Geom_BezierCurve > &  C2,
const Handle< Geom_BezierCurve > &  C3,
const Handle< Geom_BezierCurve > &  C4,
const GeomFill_FillingStyle  Type 
)

Constructs a framework for building a Bezier surface from the four contiguous Bezier curves, C1, C2, C3 and C4 Raises Standard_ConstructionError if the curves are not contiguous.

◆ GeomFill_BezierCurves() [3/4]

GeomFill_BezierCurves::GeomFill_BezierCurves ( const Handle< Geom_BezierCurve > &  C1,
const Handle< Geom_BezierCurve > &  C2,
const Handle< Geom_BezierCurve > &  C3,
const GeomFill_FillingStyle  Type 
)

Constructs a framework for building a Bezier surface from the three contiguous Bezier curves, C1, C2 and C3 Raises Standard_ConstructionError if the curves are not contiguous.

◆ GeomFill_BezierCurves() [4/4]

GeomFill_BezierCurves::GeomFill_BezierCurves ( const Handle< Geom_BezierCurve > &  C1,
const Handle< Geom_BezierCurve > &  C2,
const GeomFill_FillingStyle  Type 
)

Constructs a framework for building a Bezier surface from the two contiguous Bezier curves, C1 and C2 Raises Standard_ConstructionError if the curves are not contiguous.

Member Function Documentation

◆ Init() [1/3]

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

if the curves cannot be joined

◆ Init() [2/3]

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

if the curves cannot be joined

◆ Init() [3/3]

void GeomFill_BezierCurves::Init ( const Handle< Geom_BezierCurve > &  C1,
const Handle< Geom_BezierCurve > &  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.

◆ Surface()

const Handle< Geom_BezierSurface >& GeomFill_BezierCurves::Surface ( ) const

Returns the Bezier surface resulting from the computation performed by this algorithm.


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