Wt  3.2.0
Public Member Functions
Wt::WPoint Class Reference

A value class that defines a 2D point with integer coordinates. More...

#include <Wt/WPoint>

List of all members.

Public Member Functions

 WPoint ()
 Creates a point (0, 0).
 WPoint (int x, int y)
 Creates a point (x, y).
void setX (int x)
 Sets the X coordinate.
void setY (int y)
 Sets the Y coordinate.
int x () const
 Returns the X coordinate.
int y () const
 Returns the Y coordinate.
bool operator== (const WPoint &other) const
 Comparison operator.
bool operator!= (const WPoint &other) const
 Comparison operator.

Detailed Description

A value class that defines a 2D point with integer coordinates.

See also:
WPolygonArea
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator

Generated on Tue Nov 29 2011 for the C++ Web Toolkit (Wt) by doxygen 1.7.5.1