Version: 6.3.1
Public Member Functions | Data Fields

SMESHGUI_ElemInfo.XYZ Struct Reference

#include <SMESHGUI_MeshInfo.h>

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

Data Fields

double myX
double myY
double myZ

Detailed Description

Definition at line 131 of file SMESHGUI_MeshInfo.h.


Constructor & Destructor Documentation

SMESHGUI_ElemInfo.XYZ.XYZ ( )

Definition at line 134 of file SMESHGUI_MeshInfo.h.

{ myX = myY = myZ = 0.0; }

Member Function Documentation

void SMESHGUI_ElemInfo.XYZ.add ( double  x,
double  y,
double  z 
)

Definition at line 135 of file SMESHGUI_MeshInfo.h.

References ex13_hole1partial.x, and ex13_hole1partial.y.

Referenced by SMESHGUI_ElemInfo.gravityCenter().

{ myX += x; myY += y; myZ += z; }
void SMESHGUI_ElemInfo.XYZ.divide ( double  a)

Definition at line 136 of file SMESHGUI_MeshInfo.h.

References SMESH_demo_hexa2_upd.a.

Referenced by SMESHGUI_ElemInfo.gravityCenter().

{ if ( a != 0.) { myX /= a; myY /= a; myZ /= a; } }
double SMESHGUI_ElemInfo.XYZ.x ( ) const

Definition at line 137 of file SMESHGUI_MeshInfo.h.

Referenced by SMESHGUI_TreeElemInfo.information(), and SMESHGUI_SimpleElemInfo.information().

{ return myX; }
double SMESHGUI_ElemInfo.XYZ.y ( ) const

Definition at line 138 of file SMESHGUI_MeshInfo.h.

Referenced by SMESHGUI_TreeElemInfo.information(), and SMESHGUI_SimpleElemInfo.information().

{ return myY; }
double SMESHGUI_ElemInfo.XYZ.z ( ) const

Definition at line 139 of file SMESHGUI_MeshInfo.h.

Referenced by SMESHGUI_TreeElemInfo.information(), and SMESHGUI_SimpleElemInfo.information().

{ return myZ; }

Field Documentation

Definition at line 133 of file SMESHGUI_MeshInfo.h.

Definition at line 133 of file SMESHGUI_MeshInfo.h.

Definition at line 133 of file SMESHGUI_MeshInfo.h.

Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS