OCC Main Page | ModelingAlgorithms | Toolkits | Packages | Class Hierarchy | Data Structures | File List | Data Fields | Globals

ModelingAlgorithms
TKOffset
BRepOffsetAPI


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:
- defining the construction of a pipe,
- implementing the construction algorithm, and
- consulting the result.
Warning
The MakePipe class implements pipe constructions
with G1 continuous spines only.
.

#include <BRepOffsetAPI_MakePipe.hxx>

Inheritance diagram for BRepOffsetAPI_MakePipe:

Inheritance graph
[legend]

Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
Standard_EXPORT 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.
.
Standard_EXPORT const BRepFill_PipePipe () const
virtual Standard_EXPORT void Build ()
 Builds the resulting shape (redefined from MakeShape).
.
Standard_EXPORT TopoDS_Shape FirstShape ()
 Returns the TopoDS Shape of the bottom of the prism.
.
Standard_EXPORT TopoDS_Shape LastShape ()
 Returns the TopoDS Shape of the top of the prism.
.
Standard_EXPORT TopoDS_Shape Generated (const TopoDS_Shape &SSpine, const TopoDS_Shape &SProfile)

Private Attributes

BRepFill_Pipe myPipe

Constructor & Destructor Documentation

Standard_EXPORT BRepOffsetAPI_MakePipe::BRepOffsetAPI_MakePipe const TopoDS_Wire &  Spine,
const TopoDS_Shape &  Profile
 


Member Function Documentation

virtual Standard_EXPORT void BRepOffsetAPI_MakePipe::Build  )  [virtual]
 

Reimplemented from BRepBuilderAPI_MakeShape.

Standard_EXPORT TopoDS_Shape BRepOffsetAPI_MakePipe::FirstShape  )  [virtual]
 

Implements BRepPrimAPI_MakeSweep.

Standard_EXPORT TopoDS_Shape BRepOffsetAPI_MakePipe::Generated const TopoDS_Shape &  SSpine,
const TopoDS_Shape &  SProfile
 

Standard_EXPORT TopoDS_Shape BRepOffsetAPI_MakePipe::LastShape  )  [virtual]
 

Implements BRepPrimAPI_MakeSweep.

void BRepOffsetAPI_MakePipe::operator delete void *  anAddress  )  [inline]
 

Reimplemented from BRepPrimAPI_MakeSweep.

void* BRepOffsetAPI_MakePipe::operator new size_t  size  )  [inline]
 

Reimplemented from BRepPrimAPI_MakeSweep.

void* BRepOffsetAPI_MakePipe::operator new size_t  ,
void *  anAddress
[inline]
 

Reimplemented from BRepPrimAPI_MakeSweep.

Standard_EXPORT const BRepFill_Pipe& BRepOffsetAPI_MakePipe::Pipe  )  const
 


Field Documentation

BRepFill_Pipe BRepOffsetAPI_MakePipe::myPipe [private]
 


The documentation for this class was generated from the following file:
Generated on Mon Aug 25 13:41:27 2008 for OpenCASCADE by  doxygen 1.4.1