Open CASCADE Technology
6.5.4
|
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 | |
DEFINE_STANDARD_ALLOC | 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. | |
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) |
DEFINE_STANDARD_ALLOC BRepOffsetAPI_MakePipe::BRepOffsetAPI_MakePipe | ( | const TopoDS_Wire & | Spine, |
const TopoDS_Shape & | Profile | ||
) |
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 |