Class PiecewiseFunction

java.lang.Object
org.apache.sedona.viz.core.ColoringRule
org.apache.sedona.viz.extension.coloringRule.PiecewiseFunction
All Implemented Interfaces:
Serializable

public class PiecewiseFunction extends ColoringRule
The Class PiecewiseFunction.
See Also:
  • Constructor Details

    • PiecewiseFunction

      public PiecewiseFunction()
  • Method Details

    • EncodeToRGB

      public Integer EncodeToRGB(Double normalizedCount, GlobalParameter globalParameter)
      Description copied from class: ColoringRule
      Encode to RGB.
      Specified by:
      EncodeToRGB in class ColoringRule
      Parameters:
      normalizedCount - the normalized count
      globalParameter - the global parameter
      Returns:
      the integer