Open CASCADE Technology 6.6.0
|
Describes functions to build pipes.
A pipe is built a basis shape (called the profile) along
a wire (called the spine) by sweeping.
The profile must not contain solids.
A MakePipe object provides a framework for:
More...
#include <BRepOffsetAPI_MakePipe.hxx>
Public Member Functions | |
BRepOffsetAPI_MakePipe (const TopoDS_Wire &Spine, const TopoDS_Shape &Profile) | |
Constructs a pipe by sweeping the shape Profile along the wire Spine.The angle made by the spine with the profile is maintained along the length of the pipe. Warning Spine must be G1 continuous; that is, on the connection vertex of two edges of the wire, the tangent vectors on the left and on the right must have the same direction, though not necessarily the same magnitude. Exceptions Standard_DomainError if the profile is a solid or a composite solid. | |
BRepOffsetAPI_MakePipe (const TopoDS_Wire &Spine, const TopoDS_Shape &Profile, const GeomFill_Trihedron aMode, const Standard_Boolean ForceApproxC1=Standard_False) | |
the same as previous but with setting of mode of sweep and the flag that indicates attempt to approximate a C1-continuous surface if a swept surface proved to be C0. | |
const BRepFill_Pipe & | Pipe () const |
virtual void | Build () |
Builds the resulting shape (redefined from MakeShape). | |
TopoDS_Shape | FirstShape () |
Returns the TopoDS Shape of the bottom of the prism. | |
TopoDS_Shape | LastShape () |
Returns the TopoDS Shape of the top of the prism. | |
TopoDS_Shape | Generated (const TopoDS_Shape &SSpine, const TopoDS_Shape &SProfile) |
BRepOffsetAPI_MakePipe::BRepOffsetAPI_MakePipe | ( | const TopoDS_Wire & | Spine, |
const TopoDS_Shape & | Profile | ||
) |
BRepOffsetAPI_MakePipe::BRepOffsetAPI_MakePipe | ( | const TopoDS_Wire & | Spine, |
const TopoDS_Shape & | Profile, | ||
const GeomFill_Trihedron | aMode, | ||
const Standard_Boolean | ForceApproxC1 = Standard_False |
||
) |
virtual void BRepOffsetAPI_MakePipe::Build | ( | ) | [virtual] |
Reimplemented from BRepBuilderAPI_MakeShape.
TopoDS_Shape BRepOffsetAPI_MakePipe::FirstShape | ( | ) | [virtual] |
Implements BRepPrimAPI_MakeSweep.
TopoDS_Shape BRepOffsetAPI_MakePipe::Generated | ( | const TopoDS_Shape & | SSpine, |
const TopoDS_Shape & | SProfile | ||
) |
TopoDS_Shape BRepOffsetAPI_MakePipe::LastShape | ( | ) | [virtual] |
Implements BRepPrimAPI_MakeSweep.
const BRepFill_Pipe& BRepOffsetAPI_MakePipe::Pipe | ( | ) | const |