Open CASCADE Technology 6.6.0
|
Describes functions to build a
shape corresponding to the skin of a surface.
Note that the term shell in the class name has the same definition
as that of a shell in STEP, in other words the skin of a shape,
and not a solid model defined by surface and thickness. If you want
to build the second sort of shell, you must use
BRepOffsetAPI_MakeOffsetShape. A shell is made of a series of
faces connected by their common edges.
If the underlying surface of a face is not C2 continuous and
the flag Segment is True, MakeShell breaks the surface down into
several faces which are all C2 continuous and which are
connected along the non-regular curves on the surface.
The resulting shell contains all these faces.
Construction of a Shell from a non-C2 continuous Surface
A MakeShell object provides a framework for:
More...
#include <BRepBuilderAPI_MakeShell.hxx>
Public Member Functions | |
BRepBuilderAPI_MakeShell () | |
Constructs an empty shell framework. The Init function is used to define the construction arguments. Warning The function Error will return BRepBuilderAPI_EmptyShell if it is called before the function Init. | |
BRepBuilderAPI_MakeShell (const Handle< Geom_Surface > &S, const Standard_Boolean Segment=Standard_False) | |
Constructs a shell from the surface S. | |
BRepBuilderAPI_MakeShell (const Handle< Geom_Surface > &S, const Standard_Real UMin, const Standard_Real UMax, const Standard_Real VMin, const Standard_Real VMax, const Standard_Boolean Segment=Standard_False) | |
Constructs a shell from the surface S, limited in the u parametric direction by the two parameter values UMin and UMax, and limited in the v parametric direction by the two parameter values VMin and VMax. | |
void | Init (const Handle< Geom_Surface > &S, const Standard_Real UMin, const Standard_Real UMax, const Standard_Real VMin, const Standard_Real VMax, const Standard_Boolean Segment=Standard_False) |
Defines or redefines the arguments for the construction of a shell. The construction is initialized with the surface S, limited in the u parametric direction by the two parameter values UMin and UMax, and in the v parametric direction by the two parameter values VMin and VMax. Warning The function Error returns: | |
virtual Standard_Boolean | IsDone () const |
Returns true if the shell is built. | |
BRepBuilderAPI_ShellError | Error () const |
Returns the construction status: | |
const TopoDS_Shell & | Shell () const |
Returns the new Shell. | |
operator TopoDS_Shell () const |
BRepBuilderAPI_MakeShell::BRepBuilderAPI_MakeShell | ( | ) |
BRepBuilderAPI_MakeShell::BRepBuilderAPI_MakeShell | ( | const Handle< Geom_Surface > & | S, |
const Standard_Boolean | Segment = Standard_False |
||
) |
BRepBuilderAPI_MakeShell::BRepBuilderAPI_MakeShell | ( | const Handle< Geom_Surface > & | S, |
const Standard_Real | UMin, | ||
const Standard_Real | UMax, | ||
const Standard_Real | VMin, | ||
const Standard_Real | VMax, | ||
const Standard_Boolean | Segment = Standard_False |
||
) |
BRepBuilderAPI_ShellError BRepBuilderAPI_MakeShell::Error | ( | ) | const |
void BRepBuilderAPI_MakeShell::Init | ( | const Handle< Geom_Surface > & | S, |
const Standard_Real | UMin, | ||
const Standard_Real | UMax, | ||
const Standard_Real | VMin, | ||
const Standard_Real | VMax, | ||
const Standard_Boolean | Segment = Standard_False |
||
) |
virtual Standard_Boolean BRepBuilderAPI_MakeShell::IsDone | ( | ) | const [virtual] |
Reimplemented from BRepBuilderAPI_Command.
BRepBuilderAPI_MakeShell::operator TopoDS_Shell | ( | ) | const |
const TopoDS_Shell& BRepBuilderAPI_MakeShell::Shell | ( | ) | const |