Open CASCADE Technology
7.1.0.beta
|
Describes functions to build hollowed solids. A hollowed solid is built from an initial solid and a set of faces on this solid, which are to be removed. The remaining faces of the solid become the walls of the hollowed solid, their thickness defined at the time of construction. the solid is built from an initial solid <S> and a set of faces {Fi} from <S>, builds a solid composed by two shells closed by the {Fi}. First shell <SS> is composed by all the faces of <S> expected {Fi}. Second shell is the offset shell of <SS>. A MakeThickSolid object provides a framework for: More...
#include <BRepOffsetAPI_MakeThickSolid.hxx>
Public Member Functions | |
BRepOffsetAPI_MakeThickSolid () | |
BRepOffsetAPI_MakeThickSolid (const TopoDS_Shape &S, const TopTools_ListOfShape &ClosingFaces, const Standard_Real Offset, const Standard_Real Tol, const BRepOffset_Mode Mode=BRepOffset_Skin, const Standard_Boolean Intersection=Standard_False, const Standard_Boolean SelfInter=Standard_False, const GeomAbs_JoinType Join=GeomAbs_Arc, const Standard_Boolean RemoveIntEdges=Standard_False) | |
Constructs a hollowed solid from the solid S by removing the set of faces ClosingFaces from S, where: Offset defines the thickness of the walls. Its sign indicates which side of the surface of the solid the hollowed shape is built on;. More... | |
virtual void | Build () override |
Builds the resulting shape (redefined from MakeOffsetShape). More... | |
virtual const TopTools_ListOfShape & | Modified (const TopoDS_Shape &S) override |
Returns the list of shapes modified from the shape <S>. More... | |
Public Member Functions inherited from BRepOffsetAPI_MakeOffsetShape | |
BRepOffsetAPI_MakeOffsetShape () | |
BRepOffsetAPI_MakeOffsetShape (const TopoDS_Shape &S, const Standard_Real Offset, const Standard_Real Tol, const BRepOffset_Mode Mode=BRepOffset_Skin, const Standard_Boolean Intersection=Standard_False, const Standard_Boolean SelfInter=Standard_False, const GeomAbs_JoinType Join=GeomAbs_Arc, const Standard_Boolean RemoveIntEdges=Standard_False) | |
Constructs a shape parallel to the shape S, where. More... | |
virtual const BRepOffset_MakeOffset & | MakeOffset () const |
virtual const TopTools_ListOfShape & | Generated (const TopoDS_Shape &S) override |
Returns the list of shapes generated from the shape <S>. More... | |
const TopTools_ListOfShape & | GeneratedEdge (const TopoDS_Shape &S) |
Returns the list of edges generated from the shape <S>. More... | |
GeomAbs_JoinType | GetJoinType () const |
Returns offset join type. More... | |
Public Member Functions inherited from BRepBuilderAPI_MakeShape | |
virtual const TopoDS_Shape & | Shape () |
Returns a shape built by the shape construction algorithm. Raises exception StdFail_NotDone if the shape was not built. More... | |
operator TopoDS_Shape () | |
virtual Standard_Boolean | IsDeleted (const TopoDS_Shape &S) |
Returns true if the shape S has been deleted. More... | |
Public Member Functions inherited from BRepBuilderAPI_Command | |
virtual | ~BRepBuilderAPI_Command () |
virtual Standard_Boolean | IsDone () const |
void | Check () const |
Raises NotDone if done is false. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from BRepBuilderAPI_MakeShape | |
BRepBuilderAPI_MakeShape () | |
Protected Member Functions inherited from BRepBuilderAPI_Command | |
BRepBuilderAPI_Command () | |
Set done to False. More... | |
void | Done () |
Set done to true. More... | |
void | NotDone () |
Set done to false. More... | |
Protected Attributes inherited from BRepOffsetAPI_MakeOffsetShape | |
BRepOffset_MakeOffset | myOffsetShape |
Protected Attributes inherited from BRepBuilderAPI_MakeShape | |
TopoDS_Shape | myShape |
TopTools_ListOfShape | myGenerated |
Describes functions to build hollowed solids. A hollowed solid is built from an initial solid and a set of faces on this solid, which are to be removed. The remaining faces of the solid become the walls of the hollowed solid, their thickness defined at the time of construction. the solid is built from an initial solid <S> and a set of faces {Fi} from <S>, builds a solid composed by two shells closed by the {Fi}. First shell <SS> is composed by all the faces of <S> expected {Fi}. Second shell is the offset shell of <SS>. A MakeThickSolid object provides a framework for:
BRepOffsetAPI_MakeThickSolid::BRepOffsetAPI_MakeThickSolid | ( | ) |
BRepOffsetAPI_MakeThickSolid::BRepOffsetAPI_MakeThickSolid | ( | const TopoDS_Shape & | S, |
const TopTools_ListOfShape & | ClosingFaces, | ||
const Standard_Real | Offset, | ||
const Standard_Real | Tol, | ||
const BRepOffset_Mode | Mode = BRepOffset_Skin , |
||
const Standard_Boolean | Intersection = Standard_False , |
||
const Standard_Boolean | SelfInter = Standard_False , |
||
const GeomAbs_JoinType | Join = GeomAbs_Arc , |
||
const Standard_Boolean | RemoveIntEdges = Standard_False |
||
) |
Constructs a hollowed solid from the solid S by removing the set of faces ClosingFaces from S, where: Offset defines the thickness of the walls. Its sign indicates which side of the surface of the solid the hollowed shape is built on;.
|
overridevirtual |
Builds the resulting shape (redefined from MakeOffsetShape).
Reimplemented from BRepOffsetAPI_MakeOffsetShape.
|
overridevirtual |
Returns the list of shapes modified from the shape <S>.
Reimplemented from BRepBuilderAPI_MakeShape.