vdk 2.4.0
Public Member Functions | Public Attributes
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:
_xx coordinate
_yy coordinate
virtual VDKPoint::~VDKPoint ( ) [inline, virtual]

Destructor


Member Function Documentation

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

Modify this with an offset

Parameters:
dxx offset
dyy offset
VDKPoint VDKPoint::OffsetBy ( int  dx,
int  dy 
) const [inline]

Returns an offset point

Parameters:
dxx offset
dyy 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

x,y coordinates


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