Files | |
file | color.h |
Tools to manage RGB colors. | |
file | dim2.h |
A simple two dimensional vector and a bounding box implementation. | |
file | polynomial.h |
A simple class implementing polynomials. | |
file | random.h |
Mersenne Twister random number generator. | |
file | refptr.h |
A reference counted pointer implementation. | |
file | tolerance.h |
A basic tool to handle the anomalies of calculation with floating point numbers. | |
file | bezier.h |
Classes to compute with Bezier curves. | |
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 | Palette |
Map int s to different Colors. More... | |
class | Point |
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 a dim2::Point<>-map. More... | |
class | ConstXMap |
Constant (read only) version of XMap. More... | |
class | YMap |
Map of y-coordinates of a dim2::Point<>-map. More... | |
class | ConstYMap |
Constant (read only) version of YMap. More... | |
class | NormSquareMap |
Map of the normSquare() of an Point-map. More... | |
class | Polynomial |
Simple polinomial class. More... | |
class | Random |
Mersenne Twister random number generator. 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< unsigned int > |
Unsigned integer specialization of Tolerance. More... | |
Functions | |
Color | distantColor (const Color &c) |
Returns a visible distinct Color. | |
Color | distantBW (const Color &c) |
Returns black for light colors and white for the dark ones. | |
Point< T > | makePoint (const T &x, const T &y) |
Return an Point. | |
Point< T > | operator * (const T &u, const Point< T > &x) |
Return a vector multiplied by a scalar. | |
std::istream & | operator>> (std::istream &is, Point< T > &z) |
Read a plainvector from a stream. | |
std::ostream & | operator<< (std::ostream &os, const Point< T > &z) |
Write a plainvector to a stream. | |
Point< T > | rot90 (const Point< T > &z) |
Rotate by 90 degrees. | |
Point< T > | rot180 (const Point< T > &z) |
Rotate by 180 degrees. | |
Point< T > | rot270 (const Point< T > &z) |
Rotate by 270 degrees. | |
bool | operator== (const Polynomial< U > &u, const Polynomial< V > &v) |
Equality comparison. | |
bool | operator!= (const Polynomial< U > &u, const Polynomial< V > &v) |
Non-equality comparison. | |
Polynomial< U > | operator+ (const Polynomial< U > &u, const Polynomial< V > &v) |
| |
Polynomial< U > | operator- (const Polynomial< U > &u, const Polynomial< V > &v) |
| |
Polynomial< U > | operator * (const Polynomial< U > &u, const Polynomial< V > &v) |
| |
Polynomial< U > | operator+ (const Polynomial< U > &u, const V &v) |
| |
Polynomial< U > | operator+ (const V &v, const Polynomial< U > &u) |
| |
Polynomial< U > | operator- (const Polynomial< U > &u, const V &v) |
| |
Polynomial< U > | operator- (const Polynomial< U > &u) |
| |
Polynomial< U > | operator- (const V &v, const Polynomial< U > &u) |
| |
Polynomial< U > | operator * (const Polynomial< U > &u, const V &v) |
| |
Polynomial< U > | operator * (const V &v, const Polynomial< U > &u) |
| |
Polynomial< U > | operator/ (const Polynomial< U > &u, const V &v) |
| |
Variables | |
const Color | WHITE |
White color constant. | |
const Color | BLACK |
Black color constant. | |
const Color | RED |
Red color constant. | |
const Color | GREEN |
Green color constant. | |
const Color | BLUE |
Blue color constant. | |
const Color | YELLOW |
Yellow color constant. | |
const Color | MAGENTA |
Magenta color constant. | |
const Color | CYAN |
Cyan color constant. | |
const Color | GREY |
Grey color constant. | |
const Color | DARK_RED |
Dark red color constant. | |
const Color | DARK_GREEN |
Dark green color constant. | |
const Color | DARK_BLUE |
Drak blue color constant. | |
const Color | DARK_YELLOW |
Dark yellow color constant. | |
const Color | DARK_MAGENTA |
Dark magenta color constant. | |
const Color | DARK_CYAN |
Dark cyan color constant. |
Color lemon::distantColor | ( | const Color & | c | ) | [inline] |
Returns a Color which is as different from the given parameter as it is possible.
Point< T > makePoint | ( | const T & | x, | |
const T & | y | |||
) | [related, inherited] |
Return an Point
Point< T > operator * | ( | const T & | u, | |
const Point< T > & | x | |||
) | [related, inherited] |
Return a vector multiplied by a scalar
std::istream & operator>> | ( | std::istream & | is, | |
Point< T > & | z | |||
) | [related, inherited] |
Read a plainvector from a stream
std::ostream & operator<< | ( | std::ostream & | os, | |
const Point< T > & | z | |||
) | [related, inherited] |
Write a plainvector to a stream
Point< T > rot90 | ( | const Point< T > & | z | ) | [related, inherited] |
Returns its parameter rotated by 90 degrees in positive direction.
Point< T > rot180 | ( | const Point< T > & | z | ) | [related, inherited] |
Returns its parameter rotated by 180 degrees.
Point< T > rot270 | ( | const Point< T > & | z | ) | [related, inherited] |
Returns its parameter rotated by 90 degrees in negative direction.
bool operator== | ( | const Polynomial< U > & | u, | |
const Polynomial< V > & | v | |||
) | [related, inherited] |
bool operator!= | ( | const Polynomial< U > & | u, | |
const Polynomial< V > & | v | |||
) | [related, inherited] |