Open CASCADE Technology
6.5.4
|
defines SolidOfRevolution, Type <162> Form Number <0,1>
in package IGESSolid
This entity is defined by revolving the area determined
by a planar curve about a specified axis through a given
fraction of full rotation.
#include <IGESSolid_SolidOfRevolution.hxx>
Public Member Functions | |
IGESSolid_SolidOfRevolution () | |
void | Init (const Handle< IGESData_IGESEntity > &aCurve, const Standard_Real aFract, const gp_XYZ &aAxisPnt, const gp_XYZ &aDirection) |
This method is used to set the fields of the class SolidOfRevolution | |
void | SetClosedToAxis (const Standard_Boolean mode) |
Sets the Curve to be by default, Closed to Axis (Form 0) if <mode> is True, Closed to Itself (Form 1) else | |
Standard_Boolean | IsClosedToAxis () const |
Returns True if Form Number = 0 if Form no is 0, then the curve is closed to axis if 1, the curve is closed to itself. | |
Handle_IGESData_IGESEntity | Curve () const |
returns the curve entity that is to be revolved | |
Standard_Real | Fraction () const |
returns the fraction of full rotation that the curve is to be rotated | |
gp_Pnt | AxisPoint () const |
returns the point on the axis | |
gp_Pnt | TransformedAxisPoint () const |
returns the point on the axis after applying Trans.Matrix | |
gp_Dir | Axis () const |
returns the direction of the axis | |
gp_Dir | TransformedAxis () const |
returns the direction of the axis after applying TransformationMatrix |
gp_Dir IGESSolid_SolidOfRevolution::Axis | ( | ) | const |
gp_Pnt IGESSolid_SolidOfRevolution::AxisPoint | ( | ) | const |
Handle_IGESData_IGESEntity IGESSolid_SolidOfRevolution::Curve | ( | ) | const |
void IGESSolid_SolidOfRevolution::Init | ( | const Handle< IGESData_IGESEntity > & | aCurve, |
const Standard_Real | aFract, | ||
const gp_XYZ & | aAxisPnt, | ||
const gp_XYZ & | aDirection | ||
) |