Open CASCADE Technology 6.6.0
Public Member Functions
BRepOffsetAPI_MakePipe Class Reference

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>

Inheritance diagram for BRepOffsetAPI_MakePipe:
Inheritance graph
[legend]

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_PipePipe () 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)

Detailed Description


Constructor & Destructor Documentation

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 
)

Member Function Documentation

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

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines