Open CASCADE Technology 6.6.0
Public Member Functions
IGESSolid_Sphere Class Reference

defines Sphere, Type <158> Form Number <0>
in package IGESSolid
This defines a sphere with a center and radius

#include <IGESSolid_Sphere.hxx>

Inheritance diagram for IGESSolid_Sphere:
Inheritance graph
[legend]

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


Constructor & Destructor Documentation

IGESSolid_Sphere::IGESSolid_Sphere ( )

Member Function Documentation

gp_Pnt IGESSolid_Sphere::Center ( ) const
void IGESSolid_Sphere::Init ( const Standard_Real  aRadius,
const gp_XYZ aCenter 
)
  • aRadius : the radius of the sphere
  • aCenter : the center point coordinates (default (0,0,0))
Standard_Real IGESSolid_Sphere::Radius ( ) const
gp_Pnt IGESSolid_Sphere::TransformedCenter ( ) const

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