-
Notifications
You must be signed in to change notification settings - Fork 1
Ramp_open_rgb
mtbeek32 edited this page Feb 1, 2024
·
7 revisions
Rescale functions ramp_open_rgb
- ramp_open_rgb(startvalue, uptovalue, domainunit)
ramp_open_rgb(startvalue, uptovalue, domainunit) ramps rgb values, starting with the startvalue argument up to the uptovalue argument.
The uptovalue argument itself is not part of the resulting attribute.
The number of values is defined by the cardinality of the domain unit argument.
- parameters startvalue and uptovalue with value type uint32 (often configured with the rgb function)
- unit domainunit with value type from group CanBeDomainUnit
7.031
attribute<uint32> BrushColor (City) := ramp_open_rgb(rgb(255,255,0), rgb(0,255,0), City);
BrushColor |
---|
rgb(255, 255, 0) |
rgb(218, 255, 0) |
rgb(182, 255, 0) |
rgb(145, 255, 0) |
rgb(109, 255, 0) |
rgb( 72, 255, 0) |
rgb( 36, 255, 0) |
domain City, nr of rows = 7
GeoDMS ©Object Vision BV. Source code distributed under GNU GPL-3. Documentation distributed under CC BY-SA 4.0.