// This file is generated by WOK (CPPExt). // Please do not edit this file; modify original file instead. // The copyright and license terms as defined for the original file apply to // this header file considered to be the "object code" form of the original source. #ifndef _IGESGeom_SurfaceOfRevolution_HeaderFile #define _IGESGeom_SurfaceOfRevolution_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_DefineHandle_HeaderFile #include #endif #ifndef _Handle_IGESGeom_SurfaceOfRevolution_HeaderFile #include #endif #ifndef _Handle_IGESGeom_Line_HeaderFile #include #endif #ifndef _Handle_IGESData_IGESEntity_HeaderFile #include #endif #ifndef _Standard_Real_HeaderFile #include #endif #ifndef _IGESData_IGESEntity_HeaderFile #include #endif class IGESGeom_Line; class IGESData_IGESEntity; //! 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.
class IGESGeom_SurfaceOfRevolution : public IGESData_IGESEntity { public: Standard_EXPORT IGESGeom_SurfaceOfRevolution(); //! This method is used to set the fields of the class Line
//! - anAxis : Axis of revolution
//! - aGeneratrix : The curve which is revolved about the axis
//! - aStartAngle : Start angle of the surface of revolution
//! - anEndAngle : End angle of the surface of revolution
Standard_EXPORT void Init(const Handle(IGESGeom_Line)& anAxis,const Handle(IGESData_IGESEntity)& aGeneratrix,const Standard_Real aStartAngle,const Standard_Real anEndAngle) ; //! returns the axis of revolution
Standard_EXPORT Handle_IGESGeom_Line AxisOfRevolution() const; //! returns the curve which is revolved about the axis
Standard_EXPORT Handle_IGESData_IGESEntity Generatrix() const; //! returns start angle of revolution
Standard_EXPORT Standard_Real StartAngle() const; //! returns end angle of revolution
Standard_EXPORT Standard_Real EndAngle() const; DEFINE_STANDARD_RTTI(IGESGeom_SurfaceOfRevolution) protected: private: Handle_IGESGeom_Line theLine; Handle_IGESData_IGESEntity theGeneratrix; Standard_Real theStartAngle; Standard_Real theEndAngle; }; // other Inline functions and methods (like "C++: function call" methods) #endif