Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

PLPoint Class Reference

Simple point class for 2d coordinate manipulations. More...

#include <plpoint.h>

Collaboration diagram for PLPoint:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 PLPoint ()
 PLPoint (int X, int Y)
bool operator== (const PLPoint &pt) const
bool operator!= (const PLPoint &pt) const
void operator+= (const PLPoint &pt)
void operator-= (const PLPoint &pt)
PLPoint operator- () const
PLPoint operator+ (const PLPoint &pt) const
PLPoint operator- (const PLPoint &pt) const
PLPoint operator/ (double f) const

Public Attributes

int x
int y

Detailed Description

Simple point class for 2d coordinate manipulations.

This class contains only inline functions and nothing virtual. Its member variables are public.

Definition at line 17 of file plpoint.h.


Constructor & Destructor Documentation

PLPoint::PLPoint  )  [inline]
 

Definition at line 74 of file plpoint.h.

PLPoint::PLPoint int  X,
int  Y
[inline]
 

Definition at line 79 of file plpoint.h.


Member Function Documentation

bool PLPoint::operator!= const PLPoint pt  )  const [inline]
 

Definition at line 95 of file plpoint.h.

PLPoint PLPoint::operator+ const PLPoint pt  )  const [inline]
 

Definition at line 124 of file plpoint.h.

void PLPoint::operator+= const PLPoint pt  )  [inline]
 

Definition at line 102 of file plpoint.h.

PLPoint PLPoint::operator- const PLPoint pt  )  const [inline]
 

Definition at line 131 of file plpoint.h.

PLPoint PLPoint::operator-  )  const [inline]
 

Definition at line 118 of file plpoint.h.

void PLPoint::operator-= const PLPoint pt  )  [inline]
 

Definition at line 110 of file plpoint.h.

PLPoint PLPoint::operator/ double  f  )  const [inline]
 

Definition at line 138 of file plpoint.h.

bool PLPoint::operator== const PLPoint pt  )  const [inline]
 

Definition at line 88 of file plpoint.h.


Member Data Documentation

int PLPoint::x
 

Definition at line 20 of file plpoint.h.

Referenced by PLFilterFillRect< PixelC >::ApplyInPlace(), PLJPEGDecoder::DoDecode(), PLBmpDecoder::DoDecode(), and PLPNGEncoder::DoEncode().

int PLPoint::y
 

Definition at line 21 of file plpoint.h.

Referenced by PLFilterFillRect< PixelC >::ApplyInPlace(), PLJPEGDecoder::DoDecode(), PLBmpDecoder::DoDecode(), and PLPNGEncoder::DoEncode().


The documentation for this class was generated from the following file:
Generated on Wed Dec 15 21:21:01 2004 for vuVolume by  doxygen 1.3.9.1