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

int VDKPoint::x

x,y coordinates


The documentation for this class was generated from the following file:
Generated on Fri Jan 12 14:48:29 2007 for vdk 2.4.0 by  doxygen 1.5.1