Wt::WPointF Class Reference

Utility class that defines a 2D point. More...

#include <WPointF>

List of all members.

Public Member Functions

 WPointF ()
 Default constructor.
 WPointF (double x, double y)
 Construct a point.
bool isNull () const
 Check for a null point.
void setX (double x)
 Changes the X coordinate.
void setY (double y)
 Changes the Y coordinate.
double x () const
 Returns the X coordinate.
double y () const
 Returns the Y coordinate.
bool operator== (const WPointF &other) const
 Comparison operator.
bool operator!= (const WPointF &other) const
 Comparison operator.


Detailed Description

Utility class that defines a 2D point.

WPointF is part of the Wt paint system (see also WPainter).


Constructor & Destructor Documentation

Wt::WPointF::WPointF (  ) 

Default constructor.

Constructs a null point.

See also:
isNull()

Wt::WPointF::WPointF ( double  x,
double  y 
) [inline]

Construct a point.

Constructs a point (x, y).


Member Function Documentation

bool Wt::WPointF::isNull (  )  const

Check for a null point.

See also:
WPointF()


The documentation for this class was generated from the following files:
Generated on Mon Apr 14 15:15:01 2008 for Wt by doxygen 1.5.3