Mesh Oriented datABase  (version 5.4.1)
Array-based unstructured mesh datastructure
moab::DualTool::GraphicsPoint Class Reference

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)
GraphicsPointoperator= (GraphicsPoint const &gp)

Public Attributes

float xyz [3]
int id

Detailed Description

struct for storing a graphics pt

Definition at line 55 of file DualTool.hpp.


Constructor & Destructor Documentation

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;
        }

Definition at line 90 of file DualTool.hpp.

References id, and xyz.

        {
            xyz[0] = gp.xyz[0];
            xyz[1] = gp.xyz[1];
            xyz[2] = gp.xyz[2];
            id     = gp.id;
        }

Member Function Documentation

GraphicsPoint& moab::DualTool::GraphicsPoint::operator= ( GraphicsPoint const &  gp) [inline]

Definition at line 98 of file DualTool.hpp.

References id, and xyz.

        {
            for( unsigned i = 0; i < 3; ++i )
                xyz[i] = gp.xyz[i];
            id = gp.id;
            return *this;
        }

Member Data Documentation

Definition at line 107 of file DualTool.hpp.

Referenced by GraphicsPoint(), and operator=().

Definition at line 106 of file DualTool.hpp.

Referenced by GraphicsPoint(), and operator=().

List of all members.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines