Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
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


Member Function Documentation

  • aRadius : the radius of the sphere
  • aCenter : the center point coordinates (default (0,0,0))

The documentation for this class was generated from the following file: