Open CASCADE Technology
6.5.4
|
defines Torus, Type <160> Form Number <0>
in package IGESSolid
A Torus is a solid formed by revolving a circular disc
about a specified coplanar axis.
#include <IGESSolid_Torus.hxx>
Public Member Functions | |
IGESSolid_Torus () | |
void | Init (const Standard_Real R1, const Standard_Real R2, const gp_XYZ &aPoint, const gp_XYZ &anAxisdir) |
This method is used to set the fields of the class Torus | |
Standard_Real | MajorRadius () const |
returns the distance from the center of torus to the center of the disc to be revolved | |
Standard_Real | DiscRadius () const |
returns the radius of the disc to be revolved | |
gp_Pnt | AxisPoint () const |
returns the center of torus | |
gp_Pnt | TransformedAxisPoint () const |
returns the center of torus after applying TransformationMatrix | |
gp_Dir | Axis () const |
returns direction of the axis | |
gp_Dir | TransformedAxis () const |
returns direction of the axis after applying TransformationMatrix |
gp_Dir IGESSolid_Torus::Axis | ( | ) | const |
gp_Pnt IGESSolid_Torus::AxisPoint | ( | ) | const |
Standard_Real IGESSolid_Torus::DiscRadius | ( | ) | const |
void IGESSolid_Torus::Init | ( | const Standard_Real | R1, |
const Standard_Real | R2, | ||
const gp_XYZ & | aPoint, | ||
const gp_XYZ & | anAxisdir | ||
) |
Standard_Real IGESSolid_Torus::MajorRadius | ( | ) | const |
gp_Dir IGESSolid_Torus::TransformedAxis | ( | ) | const |
gp_Pnt IGESSolid_Torus::TransformedAxisPoint | ( | ) | const |