Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
IGESSolid_Ellipsoid Class Reference

defines Ellipsoid, Type <168> Form Number <0>
in package IGESSolid
The ellipsoid is a solid bounded by the surface defined
by:
X^2 Y^2 Z^2
----- + ----- + ----- = 1
LX^2 LY^2 LZ^2

#include <IGESSolid_Ellipsoid.hxx>

Inheritance diagram for IGESSolid_Ellipsoid:
Inheritance graph
[legend]

Public Member Functions

 IGESSolid_Ellipsoid ()
void Init (const gp_XYZ &aSize, const gp_XYZ &aCenter, const gp_XYZ &anXAxis, const gp_XYZ &anZAxis)
 This method is used to set the fields of the class
Ellipsoid

gp_XYZ Size () const
 returns the size

Standard_Real XLength () const
 returns the length in the local X-direction

Standard_Real YLength () const
 returns the length in the local Y-direction

Standard_Real ZLength () const
 returns the length in the local Z-direction

gp_Pnt Center () const
 returns the center of the ellipsoid

gp_Pnt TransformedCenter () const
 returns the center of the ellipsoid after applying
TransformationMatrix

gp_Dir XAxis () const
 returns the vector corresponding to the local X-direction

gp_Dir TransformedXAxis () const
 returns the vector corresponding to the local X-direction
after applying TransformationMatrix

gp_Dir YAxis () const
 returns the vector corresponding to the local Y-direction
which is got by taking cross product of ZAxis and XAxis

gp_Dir TransformedYAxis () const
 returns the vector corresponding to the local Y-direction
(which is got by taking cross product of ZAxis and XAxis)
after applying TransformationMatrix

gp_Dir ZAxis () const
 returns the vector corresponding to the local Z-direction

gp_Dir TransformedZAxis () const
 returns the vector corresponding to the local Z-direction
after applying TransformationMatrix


Constructor & Destructor Documentation


Member Function Documentation

void IGESSolid_Ellipsoid::Init ( const gp_XYZ aSize,
const gp_XYZ aCenter,
const gp_XYZ anXAxis,
const gp_XYZ anZAxis 
)
  • aSize : Lengths in the local X,Y,Z directions
  • aCenter : Center point of ellipsoid (default (0,0,0))
  • anXAxis : Unit vector defining local X-axis
    default (1,0,0)
  • anZAxis : Unit vector defining local Z-axis
    default (0,0,1)

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