public abstract class AbstractVrmlColor extends java.lang.Object implements IVrmlColor
ColorSpace downloaded Dec 31, 2002 from: http://www.codeguru.com/dialog/ColorSpace.shtml
Author of convert routine: "This article was contributed by Rajiv Ramachandran."
The rest of this file is my code (KSW). Converted Oct 2005 from C++ to Java (KSW).
Converts RGB values to numbers between 0.0 and 1.0, for example:
White: 255 255 255 = 1.0 1.0 1.0
Black: 0 0 0 = 0.0 0.0 0.0
MaxColorArraySize
Constructor and Description |
---|
AbstractVrmlColor() |
Modifier and Type | Method and Description |
---|---|
RGBTypeInt |
convertHSVtoRGB(HSVType hsv)
Convert from HSV to RGB color model.
|
void |
testVrmlColor()
Test VrmlColor.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
fillColorArray
public RGBTypeInt convertHSVtoRGB(HSVType hsv)
convertHSVtoRGB
in interface IVrmlColor
hsv
- HSV colors.public void testVrmlColor()