Back to index

salome-gui  6.5.0
Public Member Functions | Private Attributes
XYZ Class Reference

Class for represenation coordinates X,Y,Z. More...

#include <VTKViewer_ArcBuilder.h>

List of all members.

Public Member Functions

 XYZ ()
 Empty Constructor.
 XYZ (double, double, double)
 *Class XYZ *Constructor
 ~XYZ ()
 Destructor.
double X () const
double Y () const
double Z () const
void SetX (const double X)
void SetY (const double Y)
void SetZ (const double Z)
void Coord (double &X, double &Y, double &Z) const
double Modulus () const

Private Attributes

double x
double y
double z

Detailed Description

Class for represenation coordinates X,Y,Z.

Definition at line 57 of file VTKViewer_ArcBuilder.h.


Constructor & Destructor Documentation

XYZ::XYZ ( )

Empty Constructor.

Definition at line 68 of file VTKViewer_ArcBuilder.cxx.

{}
XYZ::XYZ ( double  X,
double  Y,
double  Z 
)

*Class XYZ *Constructor

Definition at line 62 of file VTKViewer_ArcBuilder.cxx.

                                    :
 x(X),y(Y),z(Z) {}
XYZ::~XYZ ( )

Destructor.

Definition at line 73 of file VTKViewer_ArcBuilder.cxx.

{}

Member Function Documentation

void XYZ::Coord ( double &  X,
double &  Y,
double &  Z 
) const [inline]

Definition at line 72 of file VTKViewer_ArcBuilder.h.

{ X = x; Y = y; Z = z; }

Here is the caller graph for this function:

double XYZ::Modulus ( ) const

Definition at line 79 of file VTKViewer_ArcBuilder.cxx.

                           {
  return sqrt (x * x + y * y + z * z);
}

Here is the caller graph for this function:

void XYZ::SetX ( const double  X) [inline]

Definition at line 68 of file VTKViewer_ArcBuilder.h.

{ x=X; }

Here is the call graph for this function:

Here is the caller graph for this function:

void XYZ::SetY ( const double  Y) [inline]

Definition at line 69 of file VTKViewer_ArcBuilder.h.

{ y=Y; }

Here is the call graph for this function:

Here is the caller graph for this function:

void XYZ::SetZ ( const double  Z) [inline]

Definition at line 70 of file VTKViewer_ArcBuilder.h.

{ z=Z; }

Here is the call graph for this function:

Here is the caller graph for this function:

double XYZ::X ( ) const [inline]

Definition at line 64 of file VTKViewer_ArcBuilder.h.

{return x;}

Here is the caller graph for this function:

double XYZ::Y ( ) const [inline]

Definition at line 65 of file VTKViewer_ArcBuilder.h.

{return y;}

Here is the caller graph for this function:

double XYZ::Z ( ) const [inline]

Definition at line 66 of file VTKViewer_ArcBuilder.h.

{return z;}

Here is the caller graph for this function:


Member Data Documentation

double XYZ::x [private]

Definition at line 77 of file VTKViewer_ArcBuilder.h.

double XYZ::y [private]

Definition at line 78 of file VTKViewer_ArcBuilder.h.

double XYZ::z [private]

Definition at line 79 of file VTKViewer_ArcBuilder.h.


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