Open CASCADE Technology 6.6.0
Public Member Functions
BRepPrimAPI_MakeRevol Class Reference

Class to make revolved sweep topologies.

a revolved sweep is defined by :

* A basis topology which is swept.

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

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

* A rotation axis and angle :

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.

 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.

const BRepSweep_RevolRevol () const
 Returns the internal sweeping algorithm.


virtual void Build ()
 Builds the resulting shape (redefined from MakeShape).

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

TopoDS_Shape LastShape ()
 Returns the TopoDS Shape of the end of the revol.

virtual const
TopTools_ListOfShape
Generated (const TopoDS_Shape &S)
 Returns the list of shapes generated from the
shape <S>.

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).

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).

Standard_Boolean HasDegenerated () const
 Check if there are degenerated edges in the result.

const TopTools_ListOfShapeDegenerated () const

Detailed Description


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 
)
BRepPrimAPI_MakeRevol::BRepPrimAPI_MakeRevol ( const TopoDS_Shape S,
const gp_Ax1 A,
const Standard_Boolean  Copy = Standard_False 
)

Member Function Documentation

virtual void BRepPrimAPI_MakeRevol::Build ( ) [virtual]

Reimplemented from BRepBuilderAPI_MakeShape.

const TopTools_ListOfShape& BRepPrimAPI_MakeRevol::Degenerated ( ) const
TopoDS_Shape BRepPrimAPI_MakeRevol::FirstShape ( ) [virtual]

Implements BRepPrimAPI_MakeSweep.

TopoDS_Shape BRepPrimAPI_MakeRevol::FirstShape ( const TopoDS_Shape theShape)
virtual const TopTools_ListOfShape& BRepPrimAPI_MakeRevol::Generated ( const TopoDS_Shape S) [virtual]

Reimplemented from BRepBuilderAPI_MakeShape.

Standard_Boolean BRepPrimAPI_MakeRevol::HasDegenerated ( ) const
TopoDS_Shape BRepPrimAPI_MakeRevol::LastShape ( ) [virtual]

Implements BRepPrimAPI_MakeSweep.

TopoDS_Shape BRepPrimAPI_MakeRevol::LastShape ( const TopoDS_Shape theShape)
const BRepSweep_Revol& BRepPrimAPI_MakeRevol::Revol ( ) const

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