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

Builds the resulting shape (redefined from MakeShape).

Reimplemented from BRepBuilderAPI_MakeShape.

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

Returns the TopoDS Shape of the bottom of the prism.

Implements BRepPrimAPI_MakeSweep.

virtual const TopTools_ListOfShape& BRepOffsetAPI_MakePipe::Generated ( const TopoDS_Shape S)
overridevirtual

Returns the list of shapes generated from the shape <S>.

Reimplemented from BRepBuilderAPI_MakeShape.

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

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: