Miscellaneous Tools


Detailed Description

Here you can find several useful tools for development, debugging and testing.


Files

file  bezier.h
 Classes to compute with Bezier curves.
file  tolerance.h
 A basic tool to handle the anomalies of calculation with floating point numbers.
file  xy.h
 A simple two dimensional vector and a bounding box implementation.
file  test_tools.h
 Some utilities to write test programs.

Modules

 Time measuring and Counting

Classes

class  Color
 Data structure representing RGB colors. More...
class  Tolerance
 A class to provide a basic way to handle the comparison of numbers that are obtained as a result of a probably inexact computation. More...
class  Tolerance< float >
 Float specialization of Tolerance. More...
class  Tolerance< double >
 Double specialization of Tolerance. More...
class  Tolerance< long double >
 Long double specialization of Tolerance. More...
class  Tolerance< int >
 Integer specialization of Tolerance. More...
class  Tolerance< long long int >
 Long long integer specialization of Tolerance. More...
class  xy
 A simple two dimensional vector (plainvector) implementation. More...
class  BoundingBox
 A class to calculate or store the bounding box of plainvectors. More...
class  XMap
 Map of x-coordinates of an xy<>-map. More...
class  ConstXMap
 Constant (read only) version of XMap. More...
class  YMap
 Map of y-coordinates of an xy<>-map. More...
class  ConstYMap
 Constant (read only) version of YMap. More...
class  NormSquareMap
 Map of the normSquare() of an xy-map. More...

Functions

xy< T > lemon::xy::operator * (const T &u, const xy< T > &x)
 Returns a vector multiplied by a scalar.
std::istream & lemon::xy::operator>> (std::istream &is, xy< T > &z)
 Read a plainvector from a stream.
std::ostream & lemon::xy::operator<< (std::ostream &os, const xy< T > &z)
 Write a plainvector to a stream.
xy< T > lemon::xy::rot90 (const xy< T > &z)
 Rotate by 90 degrees.
xy< T > lemon::xy::rot270 (const xy< T > &z)
 Rotate by 270 degrees.


Function Documentation

xy< T > operator * const T &  u,
const xy< T > &  x
[related, inherited]
 

Returns a vector multiplied by a scalar

std::istream & operator>> std::istream &  is,
xy< T > &  z
[related, inherited]
 

Read a plainvector from a stream

std::ostream & operator<< std::ostream &  os,
const xy< T > &  z
[related, inherited]
 

Write a plainvector to a stream

xy< T > rot90 const xy< T > &  z  )  [related, inherited]
 

Returns its parameter rotated by 90 degrees in positive direction.

xy< T > rot270 const xy< T > &  z  )  [related, inherited]
 

Returns its parameter rotated by 90 degrees in negative direction.


Generated on Fri Feb 3 18:40:01 2006 for LEMON by  doxygen 1.4.6