lib Library API Documentation

KoPoint Class Reference

A point whose coordinates are floating-point values ( "double"s ). More...

#include <koPoint.h>

List of all members.

Public Member Functions

 KoPoint (const double &x, const double &y)
 KoPoint (const QPoint &p)
bool operator== (const KoPoint &rhs) const
bool operator!= (const KoPoint &rhs) const
bool isNull () const
double x () const
double y () const
void setX (const double &x)
void setY (const double &y)
double & rx ()
double & ry ()
KoPointoperator= (const KoPoint &rhs)
KoPointoperator+= (const KoPoint &rhs)
KoPointoperator-= (const KoPoint &rhs)
KoPointoperator *= (const double &c)
void setCoords (const double &x, const double &y)
KoPoint transform (const QWMatrix &m) const
bool isNear (const KoPoint &p, double range) const
double manhattanLength () const

Static Public Member Functions

static double getAngle (const KoPoint &p1, const KoPoint &p2)

Friends

KoPoint operator+ (const KoPoint &, const KoPoint &)
KoPoint operator- (const KoPoint &, const KoPoint &)
KoPoint operator * (const KoPoint &, const double &)
KoPoint operator * (const double &, const KoPoint &)
double operator * (const KoPoint &a, const KoPoint &b)


Detailed Description

A point whose coordinates are floating-point values ( "double"s ).

The API isn't documented, it's a perfect mirror of QPoint.

Definition at line 30 of file koPoint.h.


The documentation for this class was generated from the following file:
KDE Logo
This file is part of the documentation for lib Library Version 1.4.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Mon Feb 13 09:41:17 2006 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003