Open CASCADE Technology
7.4.0
|
Describes functions to build a shell out of a shape. The result is an unlooped shape parallel to the source shape. A MakeOffsetShape object provides a framework for: More...
#include <BRepOffsetAPI_MakeOffsetShape.hxx>
Public Member Functions | |
BRepOffsetAPI_MakeOffsetShape () | |
Constructor does nothing. More... | |
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) | |
Deprecated constructor. Please avoid usage of this constructor. More... | |
void | PerformBySimple (const TopoDS_Shape &theS, const Standard_Real theOffsetValue) |
Constructs offset shape for the given one using simple algorithm without intersections computation. More... | |
void | PerformByJoin (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 |
Returns instance of the unrelying intersection / arc algorithm. More... | |
virtual void | Build () override |
Does nothing. More... | |
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 const TopTools_ListOfShape & | Modified (const TopoDS_Shape &S) |
Returns the list of shapes modified from the shape <S>. More... | |
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... | |
Protected Types | |
enum | OffsetAlgo_Type { OffsetAlgo_NONE, OffsetAlgo_JOIN, OffsetAlgo_SIMPLE } |
Protected Attributes | |
OffsetAlgo_Type | myLastUsedAlgo |
BRepOffset_MakeOffset | myOffsetShape |
BRepOffset_MakeSimpleOffset | mySimpleOffsetShape |
Protected Attributes inherited from BRepBuilderAPI_MakeShape | |
TopoDS_Shape | myShape |
TopTools_ListOfShape | myGenerated |
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... | |
Describes functions to build a shell out of a shape. The result is an unlooped shape parallel to the source shape. A MakeOffsetShape object provides a framework for:
|
protected |
BRepOffsetAPI_MakeOffsetShape::BRepOffsetAPI_MakeOffsetShape | ( | ) |
Constructor does nothing.
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 |
||
) |
Deprecated constructor. Please avoid usage of this constructor.
|
overridevirtual |
Does nothing.
Reimplemented from BRepBuilderAPI_MakeShape.
Reimplemented in BRepOffsetAPI_MakeThickSolid.
|
overridevirtual |
Returns the list of shapes generated from the shape <S>.
Reimplemented from BRepBuilderAPI_MakeShape.
const TopTools_ListOfShape& BRepOffsetAPI_MakeOffsetShape::GeneratedEdge | ( | const TopoDS_Shape & | S | ) |
Returns the list of edges generated from the shape <S>.
GeomAbs_JoinType BRepOffsetAPI_MakeOffsetShape::GetJoinType | ( | ) | const |
Returns offset join type.
|
virtual |
Returns instance of the unrelying intersection / arc algorithm.
void BRepOffsetAPI_MakeOffsetShape::PerformByJoin | ( | 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.
void BRepOffsetAPI_MakeOffsetShape::PerformBySimple | ( | const TopoDS_Shape & | theS, |
const Standard_Real | theOffsetValue | ||
) |
Constructs offset shape for the given one using simple algorithm without intersections computation.
|
protected |
|
protected |
|
protected |