Back to index

salome-smesh  6.5.0
Public Member Functions | Public Attributes
SMESHGUI_EXPORT::XYZ Struct Reference

#include <SMESHGUI_MeshInfo.h>

List of all members.

Public Member Functions

 XYZ ()
void add (double x, double y, double z)
void divide (double a)
double x () const
double y () const
double z () const

Public Attributes

double myX
double myY
double myZ

Detailed Description

Definition at line 136 of file SMESHGUI_MeshInfo.h.


Constructor & Destructor Documentation

Definition at line 139 of file SMESHGUI_MeshInfo.h.

{ myX = myY = myZ = 0.0; }

Member Function Documentation

void SMESHGUI_EXPORT::XYZ::add ( double  x,
double  y,
double  z 
) [inline]

Definition at line 140 of file SMESHGUI_MeshInfo.h.

{ myX += x; myY += y; myZ += z; }

Here is the call graph for this function:

void SMESHGUI_EXPORT::XYZ::divide ( double  a) [inline]

Definition at line 141 of file SMESHGUI_MeshInfo.h.

{ if ( a != 0.) { myX /= a; myY /= a; myZ /= a; } }
double SMESHGUI_EXPORT::XYZ::x ( ) const [inline]

Definition at line 142 of file SMESHGUI_MeshInfo.h.

{ return myX; }

Here is the caller graph for this function:

double SMESHGUI_EXPORT::XYZ::y ( ) const [inline]

Definition at line 143 of file SMESHGUI_MeshInfo.h.

{ return myY; }

Here is the caller graph for this function:

double SMESHGUI_EXPORT::XYZ::z ( ) const [inline]

Definition at line 144 of file SMESHGUI_MeshInfo.h.

{ return myZ; }

Here is the caller graph for this function:


Member Data Documentation

Definition at line 138 of file SMESHGUI_MeshInfo.h.

Definition at line 138 of file SMESHGUI_MeshInfo.h.

Definition at line 138 of file SMESHGUI_MeshInfo.h.


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