|
Open CASCADE Technology
6.5.4
|
Provides method to build a solid from a shells and
orients them in order to have a valid solid with finite volume
#include <ShapeFix_Solid.hxx>

Public Member Functions | |
| ShapeFix_Solid () | |
| Empty constructor; | |
| ShapeFix_Solid (const TopoDS_Solid &solid) | |
| Initializes by solid. | |
| virtual void | Init (const TopoDS_Solid &solid) |
| Initializes by solid . | |
| virtual Standard_Boolean | Perform (const Handle< Message_ProgressIndicator > &theProgress=0) |
| Iterates on shells and performs fixes (calls ShapeFix_Shell for each subshell). The passed progress indicator allows user to consult the current progress stage and abort algorithm if needed. | |
| TopoDS_Solid | SolidFromShell (const TopoDS_Shell &shell) |
| Calls MakeSolid and orients the solid to be "not infinite" | |
| Standard_Boolean | Status (const ShapeExtend_Status status) const |
| Returns the status of the last Fix. | |
| TopoDS_Shape | Solid () const |
| Returns resulting solid. | |
| Handle_ShapeFix_Shell | FixShellTool () const |
| Returns tool for fixing shells. | |
| virtual void | SetMsgRegistrator (const Handle< ShapeExtend_BasicMsgRegistrator > &msgreg) |
| Sets message registrator | |
| virtual void | SetPrecision (const Standard_Real preci) |
| Sets basic precision value (also to FixShellTool) | |
| virtual void | SetMinTolerance (const Standard_Real mintol) |
| Sets minimal allowed tolerance (also to FixShellTool) | |
| virtual void | SetMaxTolerance (const Standard_Real maxtol) |
| Sets maximal allowed tolerance (also to FixShellTool) | |
| Standard_Integer & | FixShellMode () |
| Returns (modifiable) the mode for applying fixes of ShapeFix_Shell, by default True. | |
| Standard_Boolean & | CreateOpenSolidMode () |
| Returns (modifiable) the mode for creation of solids. If mode myCreateOpenSolidMode is equal to true solids are created from open shells else solids are created from closed shells only. ShapeFix_Shell, by default False. | |
| TopoDS_Shape | Shape () |
| In case of multiconnexity returns compound of fixed solids else returns one solid. | |
Protected Attributes | |
| TopoDS_Shape | mySolid |
| Handle_ShapeFix_Shell | myFixShell |
| Standard_Integer | myStatus |
| Standard_Integer | myFixShellMode |
| ShapeFix_Solid::ShapeFix_Solid | ( | const TopoDS_Solid & | solid | ) |
| Handle_ShapeFix_Shell ShapeFix_Solid::FixShellTool | ( | ) | const |
| virtual void ShapeFix_Solid::Init | ( | const TopoDS_Solid & | solid | ) | [virtual] |
| virtual Standard_Boolean ShapeFix_Solid::Perform | ( | const Handle< Message_ProgressIndicator > & | theProgress = 0 | ) | [virtual] |
| virtual void ShapeFix_Solid::SetMaxTolerance | ( | const Standard_Real | maxtol | ) | [virtual] |
Reimplemented from ShapeFix_Root.
| virtual void ShapeFix_Solid::SetMinTolerance | ( | const Standard_Real | mintol | ) | [virtual] |
Reimplemented from ShapeFix_Root.
| virtual void ShapeFix_Solid::SetMsgRegistrator | ( | const Handle< ShapeExtend_BasicMsgRegistrator > & | msgreg | ) | [virtual] |
Reimplemented from ShapeFix_Root.
| virtual void ShapeFix_Solid::SetPrecision | ( | const Standard_Real | preci | ) | [virtual] |
Reimplemented from ShapeFix_Root.
| TopoDS_Shape ShapeFix_Solid::Solid | ( | ) | const |
| Standard_Boolean ShapeFix_Solid::Status | ( | const ShapeExtend_Status | status | ) | const |
Handle_ShapeFix_Shell ShapeFix_Solid::myFixShell [protected] |
Standard_Integer ShapeFix_Solid::myFixShellMode [protected] |
TopoDS_Shape ShapeFix_Solid::mySolid [protected] |
Standard_Integer ShapeFix_Solid::myStatus [protected] |
1.8.0