Open CASCADE Technology 6.6.0
Public Member Functions
IGESSolid_SolidOfRevolution Class Reference

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>

Inheritance diagram for IGESSolid_SolidOfRevolution:
Inheritance graph
[legend]

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


Constructor & Destructor Documentation

IGESSolid_SolidOfRevolution::IGESSolid_SolidOfRevolution ( )

Member Function Documentation

gp_Dir IGESSolid_SolidOfRevolution::Axis ( ) const
gp_Pnt IGESSolid_SolidOfRevolution::AxisPoint ( ) const
Handle_IGESData_IGESEntity IGESSolid_SolidOfRevolution::Curve ( ) const
Standard_Real IGESSolid_SolidOfRevolution::Fraction ( ) const
void IGESSolid_SolidOfRevolution::Init ( const Handle< IGESData_IGESEntity > &  aCurve,
const Standard_Real  aFract,
const gp_XYZ aAxisPnt,
const gp_XYZ aDirection 
)
  • aCurve : the curve entity that is to be revolved
  • aFract : the fraction of full rotation (default 1.0)
  • aAxisPnt : the point on the axis
  • aDirection : the direction of the axis
Standard_Boolean IGESSolid_SolidOfRevolution::IsClosedToAxis ( ) const
void IGESSolid_SolidOfRevolution::SetClosedToAxis ( const Standard_Boolean  mode)
gp_Dir IGESSolid_SolidOfRevolution::TransformedAxis ( ) const
gp_Pnt IGESSolid_SolidOfRevolution::TransformedAxisPoint ( ) const

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines