NASA World Wind

gov.nasa.worldwind.examples.analytics
Interface AnalyticSurface.GridPointAttributes

Enclosing class:
AnalyticSurface

public static interface AnalyticSurface.GridPointAttributes

GridPointAttributes defines the properties associated with a single grid point of an AnalyticSurface.


Method Summary
 java.awt.Color getColor()
          Returns the Color associated with a grid point.
 double getOpacity()
          Returns the opacity associated with a grid point.
 double getValue()
          Returns the scalar value associated with a grid point.
 

Method Detail

getColor

java.awt.Color getColor()
Returns the Color associated with a grid point. By default, AnalyticSurface interprets this Color as the RGB components of a grid point's RGBA color, ignoring the alpha channel.

Returns:
the grid point's RGB color components.

getOpacity

double getOpacity()
Returns the opacity associated with a grid point. By default, AnalyticSurface interprets this opacity as the Alpha component of a grid point's RGBA color, overriding the alpha component in getColor() if one exists.

Returns:
the grid point's Alpha color component.

getValue

double getValue()
Returns the scalar value associated with a grid point. By default, AnalyticSurface interprets this value as the grid point's height relative to the AnalyticSurface's base altitude, both in meters.

Returns:
the grid point's scalar value.

NASA World Wind