Open CASCADE Technology  6.9.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. More...
 
 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. More...
 
const BRepFill_PipePipe () const
 
virtual void Build ()
 Builds the resulting shape (redefined from MakeShape). More...
 
TopoDS_Shape FirstShape ()
 Returns the TopoDS Shape of the bottom of the prism. More...
 
TopoDS_Shape LastShape ()
 Returns the TopoDS Shape of the top of the prism. More...
 
TopoDS_Shape Generated (const TopoDS_Shape &SSpine, const TopoDS_Shape &SProfile)
 
Standard_Real ErrorOnSurface () const
 
- Public Member Functions inherited from BRepBuilderAPI_MakeShape
virtual void Delete ()
 
virtual ~BRepBuilderAPI_MakeShape ()
 
virtual const TopoDS_ShapeShape () const
 Returns a shape built by the shape construction algorithm. Raises exception StdFail_NotDone if the shape was not built. More...
 
 operator TopoDS_Shape () const
 
virtual const
TopTools_ListOfShape
Generated (const TopoDS_Shape &S)
 Returns the list of shapes generated from the shape <S>. More...
 
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...
 

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...
 
- Protected Attributes inherited from BRepBuilderAPI_MakeShape
TopoDS_Shape myShape
 
TopTools_ListOfShape myGenerated
 

Detailed Description

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:

Constructor & Destructor Documentation

BRepOffsetAPI_MakePipe::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::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.

Member Function Documentation

virtual void BRepOffsetAPI_MakePipe::Build ( )
virtual

Builds the resulting shape (redefined from MakeShape).

Reimplemented from BRepBuilderAPI_MakeShape.

Standard_Real BRepOffsetAPI_MakePipe::ErrorOnSurface ( ) const
TopoDS_Shape BRepOffsetAPI_MakePipe::FirstShape ( )
virtual

Returns the TopoDS Shape of the bottom of the prism.

Implements BRepPrimAPI_MakeSweep.

TopoDS_Shape BRepOffsetAPI_MakePipe::Generated ( const TopoDS_Shape SSpine,
const TopoDS_Shape SProfile 
)
TopoDS_Shape BRepOffsetAPI_MakePipe::LastShape ( )
virtual

Returns the TopoDS Shape of the top of the prism.

Implements BRepPrimAPI_MakeSweep.

const BRepFill_Pipe& BRepOffsetAPI_MakePipe::Pipe ( ) const

The documentation for this class was generated from the following file: