The BRepOffsetAPI_MakeOffsetFix class This class works around a limitation of the BRepOffsetAPI_MakeOffset which returns unexpected results when an input wire has set a placement and consists of a single edge only.
More...
#include <BRepOffsetAPI_MakeOffsetFix.h>
|
void | AddWire (const TopoDS_Wire &Spine) |
| Initializes the algorithm to construct parallels to the wire Spine. More...
|
|
| BRepOffsetAPI_MakeOffsetFix () |
|
| BRepOffsetAPI_MakeOffsetFix (const GeomAbs_JoinType Join, const Standard_Boolean IsOpenResult) |
|
void | Build () |
| Builds the resulting shape (redefined from MakeShape). More...
|
|
virtual const TopTools_ListOfShape & | Generated (const TopoDS_Shape &S) |
| returns a list of the created shapes from the shape . More...
|
|
virtual Standard_Boolean | IsDeleted (const TopoDS_Shape &S) |
| Returns true if the shape S has been deleted. More...
|
|
virtual Standard_Boolean | IsDone () const |
|
virtual const TopTools_ListOfShape & | Modified (const TopoDS_Shape &S) |
| Returns the list of shapes modified from the shape . More...
|
|
void | Perform (const Standard_Real Offset, const Standard_Real Alt=0.0) |
| Computes a parallel to the spine at distance Offset and at an altitude Alt from the plane of the spine in relation to the normal to the spine. More...
|
|
virtual const TopoDS_Shape & | Shape () |
| Returns a shape built by the shape construction algorithm. More...
|
|
virtual | ~BRepOffsetAPI_MakeOffsetFix () |
|
The BRepOffsetAPI_MakeOffsetFix class This class works around a limitation of the BRepOffsetAPI_MakeOffset which returns unexpected results when an input wire has set a placement and consists of a single edge only.
◆ BRepOffsetAPI_MakeOffsetFix() [1/2]
BRepOffsetAPI_MakeOffsetFix::BRepOffsetAPI_MakeOffsetFix |
( |
| ) |
|
◆ BRepOffsetAPI_MakeOffsetFix() [2/2]
BRepOffsetAPI_MakeOffsetFix::BRepOffsetAPI_MakeOffsetFix |
( |
const GeomAbs_JoinType |
Join, |
|
|
const Standard_Boolean |
IsOpenResult |
|
) |
| |
◆ ~BRepOffsetAPI_MakeOffsetFix()
BRepOffsetAPI_MakeOffsetFix::~BRepOffsetAPI_MakeOffsetFix |
( |
| ) |
|
|
virtual |
◆ AddWire()
void BRepOffsetAPI_MakeOffsetFix::AddWire |
( |
const TopoDS_Wire & |
Spine | ) |
|
◆ Build()
void BRepOffsetAPI_MakeOffsetFix::Build |
( |
| ) |
|
Builds the resulting shape (redefined from MakeShape).
◆ Generated()
const TopTools_ListOfShape & BRepOffsetAPI_MakeOffsetFix::Generated |
( |
const TopoDS_Shape & |
S | ) |
|
|
virtual |
returns a list of the created shapes from the shape .
◆ IsDeleted()
Standard_Boolean BRepOffsetAPI_MakeOffsetFix::IsDeleted |
( |
const TopoDS_Shape & |
S | ) |
|
|
virtual |
Returns true if the shape S has been deleted.
◆ IsDone()
Standard_Boolean BRepOffsetAPI_MakeOffsetFix::IsDone |
( |
| ) |
const |
|
virtual |
◆ Modified()
const TopTools_ListOfShape & BRepOffsetAPI_MakeOffsetFix::Modified |
( |
const TopoDS_Shape & |
S | ) |
|
|
virtual |
Returns the list of shapes modified from the shape .
◆ Perform()
void BRepOffsetAPI_MakeOffsetFix::Perform |
( |
const Standard_Real |
Offset, |
|
|
const Standard_Real |
Alt = 0.0 |
|
) |
| |
Computes a parallel to the spine at distance Offset and at an altitude Alt from the plane of the spine in relation to the normal to the spine.
Exceptions: StdFail_NotDone if the offset is not built.
Referenced by Part::TopoShape::makeOffset2D().
◆ Shape()
const TopoDS_Shape & BRepOffsetAPI_MakeOffsetFix::Shape |
( |
| ) |
|
|
virtual |
Returns a shape built by the shape construction algorithm.
Raises exception StdFail_NotDone if the shape was not built.
Referenced by Part::TopoShape::makeOffset2D().
The documentation for this class was generated from the following files:
- src/Mod/Part/App/BRepOffsetAPI_MakeOffsetFix.h
- src/Mod/Part/App/BRepOffsetAPI_MakeOffsetFix.cpp