Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

VDKPoint Class Reference

Provides a simple point object. More...

#include <vdkutils.h>

List of all members.

Public Methods

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

VDKPoint& VDKPoint::Offset int    dx,
int    dy
 

Modify this with an offset

Parameters:
dx  x offset
dy  y offset

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

Returns an offset point

Parameters:
dx  x offset
dy  y offset

int VDKPoint::operator!= VDKPoint &    p const [inline]
 

Disequality operator

VDKPoint VDKPoint::operator-   const [inline]
 

Return simmetric point in plane

int VDKPoint::operator== VDKPoint &    p const [inline]
 

Equality operator


Member Data Documentation

int VDKPoint::x
 

x,y coordinates

int VDKPoint::y
 

x,y coordinates


The documentation for this class was generated from the following file:
Generated on Wed Apr 17 13:24:59 2002 for vdk 2.0.1 by doxygen1.2.15