Open CASCADE Technology 6.6.0
|
defines ToroidalSurface, Type <198> Form Number <0,1>
in package IGESSolid
This entity is defined by the center point, the axis
direction and the major and minor radii. In case of
parametrised surface a reference direction is provided.
#include <IGESSolid_ToroidalSurface.hxx>
Public Member Functions | |
IGESSolid_ToroidalSurface () | |
void | Init (const Handle< IGESGeom_Point > &aCenter, const Handle< IGESGeom_Direction > &anAxis, const Standard_Real majRadius, const Standard_Real minRadius, const Handle< IGESGeom_Direction > &Refdir) |
This method is used to set the fields of the class ToroidalSurface | |
Handle_IGESGeom_Point | Center () const |
returns the center point coordinates of the surface | |
gp_Pnt | TransformedCenter () const |
returns the center point coordinates of the surface after applying TransformationMatrix | |
Handle_IGESGeom_Direction | Axis () const |
returns the direction of the axis | |
Standard_Real | MajorRadius () const |
returns the major radius of the surface | |
Standard_Real | MinorRadius () const |
returns the minor radius of the surface | |
Handle_IGESGeom_Direction | ReferenceDir () const |
returns the reference direction (parametrised surface) Null is returned if the surface is not parametrised | |
Standard_Boolean | IsParametrised () const |
Returns True if the surface is parametrised, else False |
IGESSolid_ToroidalSurface::IGESSolid_ToroidalSurface | ( | ) |
Handle_IGESGeom_Direction IGESSolid_ToroidalSurface::Axis | ( | ) | const |
Handle_IGESGeom_Point IGESSolid_ToroidalSurface::Center | ( | ) | const |
void IGESSolid_ToroidalSurface::Init | ( | const Handle< IGESGeom_Point > & | aCenter, |
const Handle< IGESGeom_Direction > & | anAxis, | ||
const Standard_Real | majRadius, | ||
const Standard_Real | minRadius, | ||
const Handle< IGESGeom_Direction > & | Refdir | ||
) |
Standard_Boolean IGESSolid_ToroidalSurface::IsParametrised | ( | ) | const |
Standard_Real IGESSolid_ToroidalSurface::MajorRadius | ( | ) | const |
Standard_Real IGESSolid_ToroidalSurface::MinorRadius | ( | ) | const |
Handle_IGESGeom_Direction IGESSolid_ToroidalSurface::ReferenceDir | ( | ) | const |
gp_Pnt IGESSolid_ToroidalSurface::TransformedCenter | ( | ) | const |