org.mars_sim.msp.mapdata
Interface MapData

All Known Implementing Classes:
SurfaceMapData, TopoMapData

public interface MapData

An interface for map data.


Method Summary
 Image getMapImage(double centerPhi, double centerTheta)
          Generates and returns a map image with the given parameters.
 Color getRGBColor(double phi, double theta)
          Gets the RGB map color at a given location.
 

Method Detail

getMapImage

Image getMapImage(double centerPhi,
                  double centerTheta)
Generates and returns a map image with the given parameters.

Parameters:
centerPhi - the phi center location of the map.
centerTheta - the theta center location of the map.
Returns:
The map image.

getRGBColor

Color getRGBColor(double phi,
                  double theta)
Gets the RGB map color at a given location.

Parameters:
phi - the phi location.
theta - the theta location.
Returns:
the RGB map color.


Copyright © 2009-2013. All Rights Reserved.