Open CASCADE Technology 6.6.0
|
Describes functions to build a solid from shells.
A solid is made of one shell, or a series of shells, which
do not intersect each other. One of these shells
constitutes the outside skin of the solid. It may be closed
(a finite solid) or open (an infinite solid). Other shells
form hollows (cavities) in these previous ones. Each
must bound a closed volume.
A MakeSolid object provides a framework for:
More...
#include <BRepBuilderAPI_MakeSolid.hxx>
Public Member Functions | |
BRepBuilderAPI_MakeSolid () | |
Initializes the construction of a solid. An empty solid is considered to cover the whole space. The Add function is used to define shells to bound it. | |
BRepBuilderAPI_MakeSolid (const TopoDS_CompSolid &S) | |
Make a solid from a CompSolid. | |
BRepBuilderAPI_MakeSolid (const TopoDS_Shell &S) | |
Make a solid from a shell. | |
BRepBuilderAPI_MakeSolid (const TopoDS_Shell &S1, const TopoDS_Shell &S2) | |
Make a solid from two shells. | |
BRepBuilderAPI_MakeSolid (const TopoDS_Shell &S1, const TopoDS_Shell &S2, const TopoDS_Shell &S3) | |
Make a solid from three shells. //! Constructs a solid | |
BRepBuilderAPI_MakeSolid (const TopoDS_Solid &So) | |
Make a solid from a solid. Usefull for adding later. | |
BRepBuilderAPI_MakeSolid (const TopoDS_Solid &So, const TopoDS_Shell &S) | |
Add a shell to a solid. Constructs a solid: | |
void | Add (const TopoDS_Shell &S) |
Adds the shell to the current solid. Warning No check is done to verify the conditions of coherence of the resulting solid. In particular, S must not intersect other shells of the solid under construction. Besides, after all shells have been added, one of these shells should constitute the outside skin of the solid. It may be closed (a finite solid) or open (an infinite solid). Other shells form hollows (cavities) in these previous ones. Each must bound a closed volume. | |
virtual Standard_Boolean | IsDone () const |
Returns true if the solid is built. For this class, a solid under construction is always valid. If no shell has been added, it could be a whole-space solid. However, no check was done to verify the conditions of coherence of the resulting solid. | |
const TopoDS_Solid & | Solid () const |
Returns the new Solid. | |
operator TopoDS_Solid () const | |
virtual Standard_Boolean | IsDeleted (const TopoDS_Shape &S) |
Returns true if the shape S has been deleted. |
BRepBuilderAPI_MakeSolid::BRepBuilderAPI_MakeSolid | ( | ) |
BRepBuilderAPI_MakeSolid::BRepBuilderAPI_MakeSolid | ( | const TopoDS_CompSolid & | S | ) |
BRepBuilderAPI_MakeSolid::BRepBuilderAPI_MakeSolid | ( | const TopoDS_Shell & | S | ) |
BRepBuilderAPI_MakeSolid::BRepBuilderAPI_MakeSolid | ( | const TopoDS_Shell & | S1, |
const TopoDS_Shell & | S2 | ||
) |
BRepBuilderAPI_MakeSolid::BRepBuilderAPI_MakeSolid | ( | const TopoDS_Shell & | S1, |
const TopoDS_Shell & | S2, | ||
const TopoDS_Shell & | S3 | ||
) |
BRepBuilderAPI_MakeSolid::BRepBuilderAPI_MakeSolid | ( | const TopoDS_Solid & | So | ) |
BRepBuilderAPI_MakeSolid::BRepBuilderAPI_MakeSolid | ( | const TopoDS_Solid & | So, |
const TopoDS_Shell & | S | ||
) |
void BRepBuilderAPI_MakeSolid::Add | ( | const TopoDS_Shell & | S | ) |
virtual Standard_Boolean BRepBuilderAPI_MakeSolid::IsDeleted | ( | const TopoDS_Shape & | S | ) | [virtual] |
Reimplemented from BRepBuilderAPI_MakeShape.
virtual Standard_Boolean BRepBuilderAPI_MakeSolid::IsDone | ( | ) | const [virtual] |
Reimplemented from BRepBuilderAPI_Command.
BRepBuilderAPI_MakeSolid::operator TopoDS_Solid | ( | ) | const |
const TopoDS_Solid& BRepBuilderAPI_MakeSolid::Solid | ( | ) | const |