Open CASCADE Technology 7.8.0
Public Member Functions
BRepSweep_Revol Class Reference

Provides natural constructors to build BRepSweep rotated swept Primitives. More...

#include <BRepSweep_Revol.hxx>

Public Member Functions

 BRepSweep_Revol (const TopoDS_Shape &S, const gp_Ax1 &A, const Standard_Real D, const Standard_Boolean C=Standard_False)
 Builds the Revol of meridian S axis A and angle D. If C is true S is copied.
 
 BRepSweep_Revol (const TopoDS_Shape &S, const gp_Ax1 &A, const Standard_Boolean C=Standard_False)
 Builds the Revol of meridian S axis A and angle 2*Pi. If C is true S is copied.
 
TopoDS_Shape Shape ()
 Returns the TopoDS Shape attached to the Revol.
 
TopoDS_Shape Shape (const TopoDS_Shape &aGenS)
 Returns the TopoDS Shape generated with aGenS (subShape of the generating shape).
 
TopoDS_Shape FirstShape ()
 Returns the first shape of the revol (coinciding with the generating shape).
 
TopoDS_Shape FirstShape (const TopoDS_Shape &aGenS)
 Returns the first shape of the revol (coinciding with the generating shape).
 
TopoDS_Shape LastShape ()
 Returns the TopoDS Shape of the top of the prism.
 
TopoDS_Shape LastShape (const TopoDS_Shape &aGenS)
 Returns the TopoDS Shape of the top of the prism. generated with aGenS (subShape of the generating shape).
 
gp_Ax1 Axe () const
 returns the axis
 
Standard_Real Angle () const
 returns the angle.
 
Standard_Boolean IsUsed (const TopoDS_Shape &aGenS) const
 Returns true if the aGenS is used in resulting Shape.
 

Detailed Description

Provides natural constructors to build BRepSweep rotated swept Primitives.

Constructor & Destructor Documentation

◆ BRepSweep_Revol() [1/2]

BRepSweep_Revol::BRepSweep_Revol ( const TopoDS_Shape S,
const gp_Ax1 A,
const Standard_Real  D,
const Standard_Boolean  C = Standard_False 
)

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

◆ BRepSweep_Revol() [2/2]

BRepSweep_Revol::BRepSweep_Revol ( const TopoDS_Shape S,
const gp_Ax1 A,
const Standard_Boolean  C = Standard_False 
)

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

Member Function Documentation

◆ Angle()

Standard_Real BRepSweep_Revol::Angle ( ) const

returns the angle.

◆ Axe()

gp_Ax1 BRepSweep_Revol::Axe ( ) const

returns the axis

◆ FirstShape() [1/2]

TopoDS_Shape BRepSweep_Revol::FirstShape ( )

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

◆ FirstShape() [2/2]

TopoDS_Shape BRepSweep_Revol::FirstShape ( const TopoDS_Shape aGenS)

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

◆ IsUsed()

Standard_Boolean BRepSweep_Revol::IsUsed ( const TopoDS_Shape aGenS) const

Returns true if the aGenS is used in resulting Shape.

◆ LastShape() [1/2]

TopoDS_Shape BRepSweep_Revol::LastShape ( )

Returns the TopoDS Shape of the top of the prism.

◆ LastShape() [2/2]

TopoDS_Shape BRepSweep_Revol::LastShape ( const TopoDS_Shape aGenS)

Returns the TopoDS Shape of the top of the prism. generated with aGenS (subShape of the generating shape).

◆ Shape() [1/2]

TopoDS_Shape BRepSweep_Revol::Shape ( )

Returns the TopoDS Shape attached to the Revol.

◆ Shape() [2/2]

TopoDS_Shape BRepSweep_Revol::Shape ( const TopoDS_Shape aGenS)

Returns the TopoDS Shape generated with aGenS (subShape of the generating shape).


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