• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdeedu
  • Sitemap
  • Contact Us
 

kig

coordinate.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


Classes

class  Coordinate
 The Coordinate class is the basic class representing a 2D location by its x and y components. More...

Functions

double operator * (const Coordinate &a, const Coordinate &b)
const Coordinate operator * (double r, const Coordinate &a)
const Coordinate operator * (const Coordinate &a, double r)
const Coordinate operator+ (const Coordinate &a, const Coordinate &b)
const Coordinate operator- (const Coordinate &a, const Coordinate &b)
const Coordinate operator/ (const Coordinate &a, double r)
QDebug & operator<< (QDebug &s, const Coordinate &t)

Function Documentation

double operator * ( const Coordinate &  a,
const Coordinate &  b 
)

Returns the scalar product of a and b.

Definition at line 181 of file coordinate.cpp.

const Coordinate operator * ( double  r,
const Coordinate &  a 
)

Definition at line 54 of file coordinate.cpp.

const Coordinate operator * ( const Coordinate &  a,
double  r 
)

Returns this a, scaled by a factor of r.

Definition at line 49 of file coordinate.cpp.

const Coordinate operator+ ( const Coordinate &  a,
const Coordinate &  b 
)

Returns the sum of a and b.

Definition at line 39 of file coordinate.cpp.

const Coordinate operator- ( const Coordinate &  a,
const Coordinate &  b 
)

Returns the difference between a and b.

Definition at line 44 of file coordinate.cpp.

const Coordinate operator/ ( const Coordinate &  a,
double  r 
)

Returns a, scaled by a factor of 1/r.

Definition at line 59 of file coordinate.cpp.

QDebug& operator<< ( QDebug &  s,
const Coordinate &  t 
)

Definition at line 33 of file coordinate.cpp.

kig

Skip menu "kig"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

kdeedu

Skip menu "kdeedu"
  • kalzium
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  •   docs
  •   src
  • parley
  •   stepcore
Generated for kdeedu by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal