Open CASCADE Technology
6.5.4
|
defines IGESSurfaceOfRevolution, Type <120> Form <0>
in package IGESGeom
A surface of revolution is defined by an axis of rotation
a generatrix, and start and terminate rotation angles. The
surface is created by rotating the generatrix about the axis
of rotation through the start and terminate rotation angles.
#include <IGESGeom_SurfaceOfRevolution.hxx>
Public Member Functions | |
IGESGeom_SurfaceOfRevolution () | |
void | Init (const Handle< IGESGeom_Line > &anAxis, const Handle< IGESData_IGESEntity > &aGeneratrix, const Standard_Real aStartAngle, const Standard_Real anEndAngle) |
This method is used to set the fields of the class Line | |
Handle_IGESGeom_Line | AxisOfRevolution () const |
returns the axis of revolution | |
Handle_IGESData_IGESEntity | Generatrix () const |
returns the curve which is revolved about the axis | |
Standard_Real | StartAngle () const |
returns start angle of revolution | |
Standard_Real | EndAngle () const |
returns end angle of revolution |
Handle_IGESGeom_Line IGESGeom_SurfaceOfRevolution::AxisOfRevolution | ( | ) | const |
Handle_IGESData_IGESEntity IGESGeom_SurfaceOfRevolution::Generatrix | ( | ) | const |
void IGESGeom_SurfaceOfRevolution::Init | ( | const Handle< IGESGeom_Line > & | anAxis, |
const Handle< IGESData_IGESEntity > & | aGeneratrix, | ||
const Standard_Real | aStartAngle, | ||
const Standard_Real | anEndAngle | ||
) |