VDKPoint Class Reference

Provides a simple point object. More...

#include <vdkutils.h>

List of all members.

Public Member Functions

Public Attributes


Detailed Description

Provides a simple point object.

Constructor & Destructor Documentation

VDKPoint::VDKPoint (  )  [inline]

Constructor, make a point with 0,0 coordinates

VDKPoint::VDKPoint ( int  _x,
int  _y 
) [inline]

Constructor

Parameters:
_x x coordinate
_y y coordinate

virtual VDKPoint::~VDKPoint (  )  [inline, virtual]

Destructor


Member Function Documentation

int VDKPoint::operator== ( VDKPoint p  )  const [inline]

Equality operator

int VDKPoint::operator!= ( VDKPoint p  )  const [inline]

Disequality operator

VDKPoint VDKPoint::OffsetBy ( int  dx,
int  dy 
) const [inline]

Returns an offset point

Parameters:
dx x offset
dy y offset

VDKPoint VDKPoint::operator- (  )  const [inline]

Return simmetric point in plane

VDKPoint& VDKPoint::Offset ( int  dx,
int  dy 
)

Modify this with an offset

Parameters:
dx x offset
dy y offset


Member Data Documentation

x,y coordinates


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

Generated on Wed Mar 19 22:40:39 2008 for vdk 2.4.0 by  doxygen 1.5.5