|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectes.ucm.look.locationProvider.map.Mapa
public class Mapa
Maps INS coordinates to MAP coordinates.
Field Summary | |
---|---|
static float |
NORTH
Orientation factor. |
static float |
SCALE
Scale factor |
Constructor Summary | |
---|---|
Mapa()
|
Method Summary | |
---|---|
static void |
initialize()
Initialize all the variables |
static float[] |
toMapCS(float[] csEarth)
Convert to map coordination system Return the distance move in pixel in the frame system of the current building with specified offset angle |
static int[] |
toMapScale(float[] meter)
Convert the vector from meter to pixels |
static int[] |
toMapScale(float x,
float y)
Convert the vector from meter to pixels |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static float NORTH
public static float SCALE
Constructor Detail |
---|
public Mapa()
Method Detail |
---|
public static void initialize()
public static float[] toMapCS(float[] csEarth)
north
- the distance toward north in metereast
- the distance toward east in meter
public static int[] toMapScale(float[] meter)
meter
- The vector in meter
public static int[] toMapScale(float x, float y)
x
- the x coordination point right in metery
- the y coordination point bottom in meter
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |