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

point2i Class Reference

#include <point2i.H>

List of all members.

Public Methods

 point2i ()
 point2i (int xx, int yy)
const int * data () const
point2i operator% (cpoint2i &p) const
point2i operator+ (cvec2i &v) const
vec2i operator- (cpoint2i &p) const
point2i operator- (cvec2i &v) const
point2i operator- () const
int operator[] (int index) const
int & operator[] (int index)
double length () const
int lengthSqrd () const
int distSqrd (cpoint2i &p) const
double dist (cpoint2i &p) const
void operator+= (cpoint2i &p)
void operator+= (cvec2i &v)
void operator-= (cpoint2i &p)
void operator-= (cvec2i &v)
int operator== (cpoint2i &p) const
int operator!= (cpoint2i &p) const

Protected Attributes

int _x
int _y


Constructor & Destructor Documentation

point2i::point2i   [inline]
 

point2i::point2i int    xx,
int    yy
[inline]
 


Member Function Documentation

const int* point2i::data   const [inline]
 

double point2i::dist cpoint2i   p const [inline]
 

int point2i::distSqrd cpoint2i   p const [inline]
 

double point2i::length   const [inline]
 

int point2i::lengthSqrd   const [inline]
 

int point2i::operator!= cpoint2i   p const [inline]
 

point2i point2i::operator% cpoint2i   p const [inline]
 

point2i point2i::operator+ cvec2i   v const [inline]
 

void point2i::operator+= cvec2i   v [inline]
 

void point2i::operator+= cpoint2i   p [inline]
 

point2i point2i::operator-   const [inline]
 

point2i point2i::operator- cvec2i   v const [inline]
 

vec2i point2i::operator- cpoint2i   p const [inline]
 

void point2i::operator-= cvec2i   v [inline]
 

void point2i::operator-= cpoint2i   p [inline]
 

int point2i::operator== cpoint2i   p const [inline]
 

int& point2i::operator[] int    index [inline]
 

int point2i::operator[] int    index const [inline]
 


Member Data Documentation

int point2i::_x [protected]
 

int point2i::_y [protected]
 


The documentation for this class was generated from the following file:
Generated on Mon Sep 15 16:26:00 2003 for gluebase by doxygen1.2.18