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