CMS 3D CMS Logo

Public Member Functions | Public Attributes

BStorageArray Struct Reference

#include <Grid3D.h>

List of all members.

Public Member Functions

 BStorageArray ()
 BStorageArray (float x, float y, float z)
float const & operator[] (int i) const

Public Attributes

float v [3]

Detailed Description

Definition at line 19 of file Grid3D.h.


Constructor & Destructor Documentation

BStorageArray::BStorageArray ( ) [inline]

Definition at line 20 of file Grid3D.h.

{}
BStorageArray::BStorageArray ( float  x,
float  y,
float  z 
) [inline]

Definition at line 21 of file Grid3D.h.

References x, and detailsBasic3DVector::y.

: v{x,y,z}{}

Member Function Documentation

float const& BStorageArray::operator[] ( int  i) const [inline]

Definition at line 23 of file Grid3D.h.

References i, and v.

{ return v[i];}

Member Data Documentation

float BStorageArray::v[3]

Definition at line 25 of file Grid3D.h.

Referenced by operator[]().