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

VPoint Class Reference

Point class. More...

#include <Point.h>

Inheritance diagram for VPoint:

VAbstractEditable List of all members.

Public Methods

 VPoint ()
 VPoint (int, int)
int Distance (VPoint) const
 Returns integer distance between two points.

int DistanceToLine (VPoint pone, VPoint ptwo) const
int SquaredDistance (VPoint) const
 Returns the square of the integer distance between two points (faster).

VAbstractEditorCreateEditor ()
 Returns an editor that can allow the user to manipulate this object.

Overloaded operators
VPoint operator+ (VPoint)
VPoint operator- (VPoint)
VPoint operator * (VPoint)
VPoint operator/ (VPoint)
VPoint operator * (int)
VPoint operator/ (int)
VPoint operator * (float)
bool operator> (int)
bool operator== (int)
bool operator== (VPoint)
bool operator< (int)
VPoint operator- ()
 operator CPoint ()

Public Attributes

int x
 x coordinate.

int y
 y coordinate.


Detailed Description

Point class.


The documentation for this class was generated from the following files:
Generated at Wed Aug 29 19:58:56 2001 for Pocket Animator by doxygen1.2.5 written by Dimitri van Heesch, © 1997-2001