Open CASCADE Technology  7.1.0.beta
Public Member Functions

BRepPrimAPI_MakeRevol Class Reference

Class to make revolved sweep topologies. More...

#include <BRepPrimAPI_MakeRevol.hxx>

Inheritance diagram for BRepPrimAPI_MakeRevol:
Inheritance graph
[legend]

Public Member Functions

 BRepPrimAPI_MakeRevol (const TopoDS_Shape &S, const gp_Ax1 &A, const Standard_Real D, const Standard_Boolean Copy=Standard_False)
 Builds the Revol of base S, axis A and angle D. If C is true, S is copied. More...
 
 BRepPrimAPI_MakeRevol (const TopoDS_Shape &S, const gp_Ax1 &A, const Standard_Boolean Copy=Standard_False)
 Builds the Revol of base S, axis A and angle 2*Pi. If C is true, S is copied. More...
 
const BRepSweep_RevolRevol () const
 Returns the internal sweeping algorithm. More...
 
virtual void Build () override
 Builds the resulting shape (redefined from MakeShape). More...
 
TopoDS_Shape FirstShape () override
 Returns the first shape of the revol (coinciding with the generating shape). More...
 
TopoDS_Shape LastShape () override
 Returns the TopoDS Shape of the end of the revol. More...
 
virtual const TopTools_ListOfShapeGenerated (const TopoDS_Shape &S) override
 Returns the list of shapes generated from the shape <S>. More...
 
TopoDS_Shape FirstShape (const TopoDS_Shape &theShape)
 Returns the TopoDS Shape of the beginning of the revolution, generated with theShape (subShape of the generating shape). More...
 
TopoDS_Shape LastShape (const TopoDS_Shape &theShape)
 Returns the TopoDS Shape of the end of the revolution, generated with theShape (subShape of the generating shape). More...
 
Standard_Boolean HasDegenerated () const
 Check if there are degenerated edges in the result. More...
 
const TopTools_ListOfShapeDegenerated () 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

Class to make revolved sweep topologies.

a revolved sweep is defined by :

The basis topology must not contain solids (neither composite solids.).

The basis topology may be copied or shared in the result.

The result is a topology with a higher dimension :

Sweeping a Compound sweeps the elements of the compound and creates a compound with the results.

Constructor & Destructor Documentation

BRepPrimAPI_MakeRevol::BRepPrimAPI_MakeRevol ( const TopoDS_Shape S,
const gp_Ax1 A,
const Standard_Real  D,
const Standard_Boolean  Copy = Standard_False 
)

Builds the Revol of base S, axis A and angle D. If C is true, S is copied.

BRepPrimAPI_MakeRevol::BRepPrimAPI_MakeRevol ( const TopoDS_Shape S,
const gp_Ax1 A,
const Standard_Boolean  Copy = Standard_False 
)

Builds the Revol of base S, axis A and angle 2*Pi. If C is true, S is copied.

Member Function Documentation

virtual void BRepPrimAPI_MakeRevol::Build ( )
overridevirtual

Builds the resulting shape (redefined from MakeShape).

Reimplemented from BRepBuilderAPI_MakeShape.

const TopTools_ListOfShape& BRepPrimAPI_MakeRevol::Degenerated ( ) const
TopoDS_Shape BRepPrimAPI_MakeRevol::FirstShape ( )
overridevirtual

Returns the first shape of the revol (coinciding with the generating shape).

Implements BRepPrimAPI_MakeSweep.

TopoDS_Shape BRepPrimAPI_MakeRevol::FirstShape ( const TopoDS_Shape theShape)

Returns the TopoDS Shape of the beginning of the revolution, generated with theShape (subShape of the generating shape).

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

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

Reimplemented from BRepBuilderAPI_MakeShape.

Standard_Boolean BRepPrimAPI_MakeRevol::HasDegenerated ( ) const

Check if there are degenerated edges in the result.

TopoDS_Shape BRepPrimAPI_MakeRevol::LastShape ( )
overridevirtual

Returns the TopoDS Shape of the end of the revol.

Implements BRepPrimAPI_MakeSweep.

TopoDS_Shape BRepPrimAPI_MakeRevol::LastShape ( const TopoDS_Shape theShape)

Returns the TopoDS Shape of the end of the revolution, generated with theShape (subShape of the generating shape).

const BRepSweep_Revol& BRepPrimAPI_MakeRevol::Revol ( ) const

Returns the internal sweeping algorithm.


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