Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
ShapeUpgrade_ConvertSurfaceToBezierBasis Class Reference

Converts a plane, bspline surface, surface of revolution, surface
of extrusion, offset surface to grid of bezier basis surface (
bezier surface,
surface of revolution based on bezier curve,
offset surface based on any previous type).

#include <ShapeUpgrade_ConvertSurfaceToBezierBasis.hxx>

Inheritance diagram for ShapeUpgrade_ConvertSurfaceToBezierBasis:
Inheritance graph
[legend]

Public Member Functions

 ShapeUpgrade_ConvertSurfaceToBezierBasis ()
 Empty constructor.

virtual void Build (const Standard_Boolean Segment)
 Splits a list of beziers computed by Compute method according
the split values and splitting parameters.

virtual void Compute (const Standard_Boolean Segment)
 Converts surface into a grid of bezier based surfaces, and
stores this grid.

Handle_ShapeExtend_CompositeSurface Segments () const
 Returns the grid of bezier based surfaces correspondent to
original surface.

void SetPlaneMode (const Standard_Boolean mode)
 Sets mode for conversion Geom_Plane to Bezier

Standard_Boolean GetPlaneMode () const
 Returns the Geom_Pline conversion mode.

void SetRevolutionMode (const Standard_Boolean mode)
 Sets mode for conversion Geom_SurfaceOfRevolution to Bezier

Standard_Boolean GetRevolutionMode () const
 Returns the Geom_SurfaceOfRevolution conversion mode.

void SetExtrusionMode (const Standard_Boolean mode)
 Sets mode for conversion Geom_SurfaceOfLinearExtrusion to Bezier

Standard_Boolean GetExtrusionMode () const
 Returns the Geom_SurfaceOfLinearExtrusion conversion mode.

void SetBSplineMode (const Standard_Boolean mode)
 Sets mode for conversion Geom_BSplineSurface to Bezier

Standard_Boolean GetBSplineMode () const
 Returns the Geom_BSplineSurface conversion mode.


Constructor & Destructor Documentation


Member Function Documentation

Reimplemented from ShapeUpgrade_SplitSurface.

Reimplemented from ShapeUpgrade_SplitSurface.

Handle_ShapeExtend_CompositeSurface ShapeUpgrade_ConvertSurfaceToBezierBasis::Segments ( ) const

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