|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mars_sim.msp.ui.standard.tool.map.MapUtils
public class MapUtils
Static class for map utilities.
| Method Summary | |
|---|---|
static int |
getPixelDistance(double distance,
java.lang.String mapType)
|
static IntPoint |
getRectPosition(Coordinates coords,
Coordinates mapCenter,
java.lang.String mapType)
Gets a coordinate x, y position on the map image. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static IntPoint getRectPosition(Coordinates coords,
Coordinates mapCenter,
java.lang.String mapType)
coords - location of unitmapType - the type of map.
public static int getPixelDistance(double distance,
java.lang.String mapType)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||