|
Open CASCADE Technology 7.9.3
|
#include <BRepOffset_MakeOffset.hxx>
Public Member Functions | |
| BRepOffset_MakeOffset () | |
| BRepOffset_MakeOffset (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 Thickening=Standard_False, const Standard_Boolean RemoveIntEdges=Standard_False, const Message_ProgressRange &theRange=Message_ProgressRange()) | |
| void | Initialize (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 Thickening=Standard_False, const Standard_Boolean RemoveIntEdges=Standard_False) |
| void | Clear () |
| void | AllowLinearization (const Standard_Boolean theIsAllowed) |
| Changes the flag allowing the linearization. | |
| void | AddFace (const TopoDS_Face &F) |
| Add Closing Faces, <F> has to be in the initial shape S. | |
| void | SetOffsetOnFace (const TopoDS_Face &F, const Standard_Real Off) |
| set the offset <Off> on the Face <F> | |
| void | MakeOffsetShape (const Message_ProgressRange &theRange=Message_ProgressRange()) |
| void | MakeThickSolid (const Message_ProgressRange &theRange=Message_ProgressRange()) |
| const BRepOffset_Analyse & | GetAnalyse () const |
| Standard_Boolean | IsDone () const |
| const TopoDS_Shape & | Shape () const |
| const TopoDS_Shape & | InitShape () const |
| BRepOffset_Error | Error () const |
| returns information about offset state. | |
| const BRepAlgo_Image & | OffsetFacesFromShapes () const |
| Returns <Image> containing links between initials shapes and offset faces. | |
| GeomAbs_JoinType | GetJoinType () const |
| Returns myJoin. | |
| const BRepAlgo_Image & | OffsetEdgesFromShapes () const |
| Returns <Image> containing links between initials shapes and offset edges. | |
| const TopTools_IndexedMapOfShape & | ClosingFaces () const |
| Returns the list of closing faces stores by AddFace. | |
| Standard_Boolean | CheckInputData (const Message_ProgressRange &theRange) |
| Makes pre analysis of possibility offset perform. Use method Error() to get more information. Finds first error. List of checks: 1) Check for existence object with non-null offset. 2) Check for connectivity in offset shell. 3) Check continuity of input surfaces. 4) Check for normals existence on grid. | |
| const TopoDS_Shape & | GetBadShape () const |
| Return bad shape, which obtained in CheckInputData. | |
History methods | |
Returns the list of shapes generated from the shape | |
| const TopTools_ListOfShape & | Generated (const TopoDS_Shape &theS) |
| Returns the list of shapes modified from the shape | |
| const TopTools_ListOfShape & | Modified (const TopoDS_Shape &theS) |
| Returns the list of shapes modified from the shape | |
| Standard_Boolean | IsDeleted (const TopoDS_Shape &S) |
| Returns true if the shape S has been deleted. | |
| void | analyzeProgress (const Standard_Real theWhole, TColStd_Array1OfReal &theSteps) const |
| Analyze progress steps of the whole operation. | |
| BRepOffset_MakeOffset::BRepOffset_MakeOffset | ( | ) |
| BRepOffset_MakeOffset::BRepOffset_MakeOffset | ( | 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 | Thickening = Standard_False, | ||
| const Standard_Boolean | RemoveIntEdges = Standard_False, | ||
| const Message_ProgressRange & | theRange = Message_ProgressRange() ) |
| void BRepOffset_MakeOffset::AddFace | ( | const TopoDS_Face & | F | ) |
Add Closing Faces, <F> has to be in the initial shape S.
| void BRepOffset_MakeOffset::AllowLinearization | ( | const Standard_Boolean | theIsAllowed | ) |
Changes the flag allowing the linearization.
|
protected |
Analyze progress steps of the whole operation.
| theWhole | - sum of progress of all operations. |
| theSteps | - steps of the operations supported by PI |
| Standard_Boolean BRepOffset_MakeOffset::CheckInputData | ( | const Message_ProgressRange & | theRange | ) |
Makes pre analysis of possibility offset perform. Use method Error() to get more information. Finds first error. List of checks: 1) Check for existence object with non-null offset. 2) Check for connectivity in offset shell. 3) Check continuity of input surfaces. 4) Check for normals existence on grid.
| void BRepOffset_MakeOffset::Clear | ( | ) |
| const TopTools_IndexedMapOfShape & BRepOffset_MakeOffset::ClosingFaces | ( | ) | const |
Returns the list of closing faces stores by AddFace.
| BRepOffset_Error BRepOffset_MakeOffset::Error | ( | ) | const |
returns information about offset state.
| const TopTools_ListOfShape & BRepOffset_MakeOffset::Generated | ( | const TopoDS_Shape & | theS | ) |
Returns the list of shapes modified from the shape .
| const BRepOffset_Analyse & BRepOffset_MakeOffset::GetAnalyse | ( | ) | const |
| const TopoDS_Shape & BRepOffset_MakeOffset::GetBadShape | ( | ) | const |
Return bad shape, which obtained in CheckInputData.
| GeomAbs_JoinType BRepOffset_MakeOffset::GetJoinType | ( | ) | const |
Returns myJoin.
| void BRepOffset_MakeOffset::Initialize | ( | 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 | Thickening = Standard_False, | ||
| const Standard_Boolean | RemoveIntEdges = Standard_False ) |
|
inline |
| Standard_Boolean BRepOffset_MakeOffset::IsDeleted | ( | const TopoDS_Shape & | S | ) |
Returns true if the shape S has been deleted.
| Standard_Boolean BRepOffset_MakeOffset::IsDone | ( | ) | const |
| void BRepOffset_MakeOffset::MakeOffsetShape | ( | const Message_ProgressRange & | theRange = Message_ProgressRange() | ) |
| void BRepOffset_MakeOffset::MakeThickSolid | ( | const Message_ProgressRange & | theRange = Message_ProgressRange() | ) |
| const TopTools_ListOfShape & BRepOffset_MakeOffset::Modified | ( | const TopoDS_Shape & | theS | ) |
Returns the list of shapes modified from the shape .
| const BRepAlgo_Image & BRepOffset_MakeOffset::OffsetEdgesFromShapes | ( | ) | const |
Returns <Image> containing links between initials shapes and offset edges.
| const BRepAlgo_Image & BRepOffset_MakeOffset::OffsetFacesFromShapes | ( | ) | const |
Returns <Image> containing links between initials shapes and offset faces.
| void BRepOffset_MakeOffset::SetOffsetOnFace | ( | const TopoDS_Face & | F, |
| const Standard_Real | Off ) |
set the offset <Off> on the Face <F>
| const TopoDS_Shape & BRepOffset_MakeOffset::Shape | ( | ) | const |