![]() |
Mesh Oriented datABase
(version 5.4.1)
Array-based unstructured mesh datastructure
|
struct for storing a graphics pt More...
#include <DualTool.hpp>
Public Member Functions | |
GraphicsPoint () | |
GraphicsPoint (float xi, float yi, float zi, int idi) | |
GraphicsPoint (float xyzi[3], int idi) | |
GraphicsPoint (double xyzi[3], int idi) | |
GraphicsPoint (const GraphicsPoint &gp) | |
GraphicsPoint & | operator= (GraphicsPoint const &gp) |
Public Attributes | |
float | xyz [3] |
int | id |
struct for storing a graphics pt
Definition at line 55 of file DualTool.hpp.
moab::DualTool::GraphicsPoint::GraphicsPoint | ( | ) | [inline] |
Definition at line 58 of file DualTool.hpp.
References xyz.
{
xyz[0] = 0.0;
xyz[1] = 0.0;
xyz[2] = 0.0;
id = -1;
}
moab::DualTool::GraphicsPoint::GraphicsPoint | ( | float | xi, |
float | yi, | ||
float | zi, | ||
int | idi | ||
) | [inline] |
Definition at line 66 of file DualTool.hpp.
References xyz.
{
xyz[0] = xi;
xyz[1] = yi;
xyz[2] = zi;
id = idi;
}
moab::DualTool::GraphicsPoint::GraphicsPoint | ( | float | xyzi[3], |
int | idi | ||
) | [inline] |
Definition at line 74 of file DualTool.hpp.
References xyz.
{
xyz[0] = xyzi[0];
xyz[1] = xyzi[1];
xyz[2] = xyzi[2];
id = idi;
}
moab::DualTool::GraphicsPoint::GraphicsPoint | ( | double | xyzi[3], |
int | idi | ||
) | [inline] |
Definition at line 82 of file DualTool.hpp.
References xyz.
{
xyz[0] = xyzi[0];
xyz[1] = xyzi[1];
xyz[2] = xyzi[2];
id = idi;
}
moab::DualTool::GraphicsPoint::GraphicsPoint | ( | const GraphicsPoint & | gp | ) | [inline] |
Definition at line 90 of file DualTool.hpp.
{
xyz[0] = gp.xyz[0];
xyz[1] = gp.xyz[1];
xyz[2] = gp.xyz[2];
id = gp.id;
}
GraphicsPoint& moab::DualTool::GraphicsPoint::operator= | ( | GraphicsPoint const & | gp | ) | [inline] |
Definition at line 98 of file DualTool.hpp.
{
for( unsigned i = 0; i < 3; ++i )
xyz[i] = gp.xyz[i];
id = gp.id;
return *this;
}
Definition at line 107 of file DualTool.hpp.
Referenced by GraphicsPoint(), and operator=().
float moab::DualTool::GraphicsPoint::xyz[3] |
Definition at line 106 of file DualTool.hpp.
Referenced by GraphicsPoint(), and operator=().