FieldAnalysis.withBooleanFieldFunction constructor
- required BooleanFieldFunction function,
- required ColormapRenderer renderer,
Creates a FieldAnalysis with a BooleanFieldFunction and a ColormapRenderer.
Regions in the function result that are true are rendered using the color associated with 1, if defined.
Regions in the function result that are false are rendered using the color associated with 0, if defined.
Mappings between colors and values other than 0 or 1 are ignored. If the color map does not contain a color mapped to 0 or 1, the displayed result will be transparent.
Regions where the function result has no data are transparent.
Parameters:
function— A BooleanFieldFunction to evaluate and visualize.renderer— A renderer that controls how the BooleanFieldFunction is visualized.