Volume2DSize Class Reference

#include <Point2D.h>

Collaboration diagram for Volume2DSize:

Collaboration graph
[legend]

List of all members.

Public Types

enum  Coordinate { X = 0, Y = 1 }

Public Member Functions

 Volume2DSize (size_t x=1, size_t y=1)
size_t operator[] (int idx) const
size_t x () const
size_t y () const
size_t numPoints () const

Protected Attributes

size_t _x
size_t _y


Detailed Description

Definition at line 215 of file Point2D.h.


Member Enumeration Documentation

Enumerator:
X 
Y 

Definition at line 219 of file Point2D.h.


Constructor & Destructor Documentation

Volume2DSize::Volume2DSize ( size_t  x = 1,
size_t  y = 1 
) [inline, explicit]

Definition at line 221 of file Point2D.h.


Member Function Documentation

size_t Volume2DSize::operator[] ( int  idx  )  const [inline]

Definition at line 226 of file Point2D.h.

References _x, _y, X, and Y.

size_t Volume2DSize::x (  )  const [inline]

Definition at line 237 of file Point2D.h.

References _x.

size_t Volume2DSize::y (  )  const [inline]

Definition at line 242 of file Point2D.h.

References _y.

size_t Volume2DSize::numPoints (  )  const [inline]

Definition at line 247 of file Point2D.h.

References _x, and _y.


Member Data Documentation

size_t Volume2DSize::_x [protected]

Definition at line 253 of file Point2D.h.

Referenced by numPoints(), operator[](), and x().

size_t Volume2DSize::_y [protected]

Definition at line 254 of file Point2D.h.

Referenced by numPoints(), operator[](), and y().


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

Generated on Wed Jul 9 16:34:55 2008 for PCSIM by  doxygen 1.5.5