Class CIEColor

java.lang.Object
com.revrobotics.CIEColor

public class CIEColor extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
    CIEColor(double x, double y, double z)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    Get the X component of the color
    double
    Get the Y component of the color
    double
    Get the x calculated coordinate of the CIE 19313 color space
    double
    Get the y calculated coordinate of the CIE 19313 color space
    double
    Get the Z component of the color

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CIEColor

      public CIEColor(double x, double y, double z)
  • Method Details

    • getX

      public double getX()
      Get the X component of the color
      Returns:
      CIE X
    • getY

      public double getY()
      Get the Y component of the color
      Returns:
      CIE Y
    • getZ

      public double getZ()
      Get the Z component of the color
      Returns:
      CIE Z
    • getYx

      public double getYx()
      Get the x calculated coordinate of the CIE 19313 color space

      https://en.wikipedia.org/wiki/CIE_1931_color_space

      Returns:
      CIE Yx
    • getYy

      public double getYy()
      Get the y calculated coordinate of the CIE 19313 color space

      https://en.wikipedia.org/wiki/CIE_1931_color_space

      Returns:
      CIE Yy