#include <ShapeFix_Shell.hxx>
Inheritance diagram for ShapeFix_Shell:
Public Member Functions | |
Standard_EXPORT | ShapeFix_Shell () |
Empty constructor . | |
Standard_EXPORT | ShapeFix_Shell (const TopoDS_Shell &shape) |
Initializes by shell. . | |
Standard_EXPORT void | Init (const TopoDS_Shell &shell) |
Initializes by shell. . | |
Standard_EXPORT Standard_Boolean | Perform () |
Iterates on subshapes and performs fixes (for each face calls ShapeFix_Face::Perform and then calls FixFaceOrientation) . | |
Standard_EXPORT Standard_Boolean | FixFaceOrientation (const TopoDS_Shell &shell, const Standard_Boolean isAccountMultiConex=Standard_True, const Standard_Boolean NonManifold=Standard_False) |
Fixes orientation of faces in shell. Changes orientation of face in the shell, if it is oriented opposite to neigbouring faces. If it is not possible to orient all faces in the shell (like in case of mebious band), this method orients only subset of faces. Other faces are stored in Error compound. Modes : isAccountMultiConex - mode for account cases of multiconnexity. If this mode is equal to Standard_True, separate shells will be created in the cases of multiconnexity. If this mode is equal to Standard_False, one shell will be created without account of multiconnexity.By defautt - Standard_True; NonManifold - mode for creation of non-manifold shells. If this mode is equal to Standard_True one non-manifold will be created from shell contains multishared edges. Else if this mode is equal to Standard_False only manifold shells will be created. By default - Standard_False. . | |
Standard_EXPORT TopoDS_Shell | Shell () |
Returns fixed shell (or subset of oriented faces). . | |
Standard_EXPORT TopoDS_Shape | Shape () |
In case of multiconnexity returns compound of fixed shells else returns one shell.. . | |
Standard_EXPORT Standard_Integer | NbShells () const |
Returns Number of obtainrd shells; . | |
Standard_EXPORT TopoDS_Compound | ErrorFaces () const |
Returns not oriented subset of faces. . | |
Standard_EXPORT Standard_Boolean | Status (const ShapeExtend_Status status) const |
Returns the status of the last Fix. . | |
Handle_ShapeFix_Face | FixFaceTool () |
Returns tool for fixing faces. . | |
virtual Standard_EXPORT void | SetMsgRegistrator (const Handle(ShapeExtend_BasicMsgRegistrator)&msgreg) |
Sets message registrator . | |
virtual Standard_EXPORT void | SetPrecision (const Standard_Real preci) |
Sets basic precision value (also to FixWireTool) . | |
virtual Standard_EXPORT void | SetMinTolerance (const Standard_Real mintol) |
Sets minimal allowed tolerance (also to FixWireTool) . | |
virtual Standard_EXPORT void | SetMaxTolerance (const Standard_Real maxtol) |
Sets maximal allowed tolerance (also to FixWireTool) . | |
Standard_Integer & | FixFaceMode () |
Returns (modifiable) the mode for applying fixes of ShapeFix_Face, by default True. . | |
Standard_Integer & | FixOrientationMode () |
Returns (modifiable) the mode for applying FixFaceOrientation, by default True. . | |
Standard_EXPORT const | Handle (Standard_Type)&DynamicType() const |
Protected Attributes | |
TopoDS_Shell | myShell |
TopoDS_Compound | myErrFaces |
Standard_Integer | myStatus |
Handle_ShapeFix_Face | myFixFace |
Standard_Integer | myFixFaceMode |
Standard_Integer | myFixOrientationMode |
Standard_Integer | myNbShells |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented from ShapeFix_Root. |
|
|
|
|
|
|
|
Reimplemented from ShapeFix_Root. |
|
Reimplemented from ShapeFix_Root. |
|
Reimplemented from ShapeFix_Root. |
|
Reimplemented from ShapeFix_Root. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|