Open CASCADE Technology  7.7.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. More...
 
 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. More...
 
TopoDS_Shape Shape ()
 Returns the TopoDS Shape attached to the Revol. More...
 
TopoDS_Shape Shape (const TopoDS_Shape &aGenS)
 Returns the TopoDS Shape generated with aGenS (subShape of the generating shape). More...
 
TopoDS_Shape FirstShape ()
 Returns the first shape of the revol (coinciding with the generating shape). More...
 
TopoDS_Shape FirstShape (const TopoDS_Shape &aGenS)
 Returns the first shape of the revol (coinciding with the generating shape). More...
 
TopoDS_Shape LastShape ()
 Returns the TopoDS Shape of the top of the prism. More...
 
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). More...
 
gp_Ax1 Axe () const
 returns the axis More...
 
Standard_Real Angle () const
 returns the angle. More...
 
Standard_Boolean IsUsed (const TopoDS_Shape &aGenS) const
 Returns true if the aGenS is used in resulting Shape. More...
 

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: