Open CASCADE Technology
6.5.4
|
defines Sphere, Type <158> Form Number <0>
in package IGESSolid
This defines a sphere with a center and radius
#include <IGESSolid_Sphere.hxx>
Public Member Functions | |
IGESSolid_Sphere () | |
void | Init (const Standard_Real aRadius, const gp_XYZ &aCenter) |
This method is used to set the fields of the class Sphere | |
Standard_Real | Radius () const |
returns the radius of the sphere | |
gp_Pnt | Center () const |
returns the center of the sphere | |
gp_Pnt | TransformedCenter () const |
returns the center of the sphere after applying TransformationMatrix |
gp_Pnt IGESSolid_Sphere::Center | ( | ) | const |
void IGESSolid_Sphere::Init | ( | const Standard_Real | aRadius, |
const gp_XYZ & | aCenter | ||
) |
Standard_Real IGESSolid_Sphere::Radius | ( | ) | const |
gp_Pnt IGESSolid_Sphere::TransformedCenter | ( | ) | const |