#include <string>
Go to the source code of this file.
|
namespace | codac |
| FixPoint of a separator The fixpoint of a separator is computed by calling the "::"separate function on a given box until the Hausdorff distance between two iterations is less than a given ratio. This operation can be seen as a contractor on the boundary of the solution set.
|
|
|
const std::string | codac::rgb2hex (rgb rgb_value, const char *prefix="#") |
| Represents an RGB value in a HTML standard.
|
|
rgb | codac::hsv2rgb (hsv hsv_value) |
| Converts HSV to RGB.
|
|
hsv | codac::rgb2hsv (rgb rgb_value) |
| Converts RGB to HSV.
|
|
rgb | codac::make_rgb (int r, int g, int b, int alpha=255) |
| Makes an RGV value from integers.
|
|
rgb | codac::make_rgb (float r, float g, float b, float alpha=1.) |
| Makes an RGV value from floats.
|
|
hsv | codac::make_hsv (int h, int s, int v, int alpha=100) |
| Makes an HSV value from integers.
|
|
hsv | codac::make_hsv (float h, float s, float v, float alpha=1.) |
| Makes an HSV value from floats.
|
|
Color features
- Date
- 2016
- Author
- Simon Rohou
- Copyright
- Copyright 2021 Codac Team
- License: This program is distributed under the terms of
- the GNU Lesser General Public License (LGPL).