org.gscg.common.gui.images
Class LatLonToSmallMap
java.lang.Object
org.gscg.common.gui.images.LatLonToSmallMap
- public final class LatLonToSmallMap
- extends java.lang.Object
(c) copyright 2004 Delft
University of Technology , the Netherlands.
Copyright (c) 2003-2005 Delft University of Technology, Jaffalaan 5, 2628 BX
Delft, the Netherlands. All rights reserved.
See for project information
www.simulation.tudelft.nl .
The source code and binary code of this software is proprietary information
of Delft University of Technology.
- Since:
- 1.1.0
- Version:
- $Revision: 1.1 $ $Date: 2005/06/16 12:33:55 $
- Author:
- Stijn-Pieter
van Houten
Constructor Summary |
protected |
LatLonToSmallMap()
constructs a new LatLonToSmallMap |
Method Summary |
static nl.tudelft.simulation.language.d3.DirectedPoint |
getSmallMapLocation(double lat,
double lon,
double mapWidth,
double mapHeight)
Method getSmallMapLocation returns a point reflecting the small map
location for a player gui. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LatLonToSmallMap
protected LatLonToSmallMap()
- constructs a new LatLonToSmallMap
getSmallMapLocation
public static nl.tudelft.simulation.language.d3.DirectedPoint getSmallMapLocation(double lat,
double lon,
double mapWidth,
double mapHeight)
- Method getSmallMapLocation returns a point reflecting the small map
location for a player gui.
- Parameters:
lat
- the latititudelon
- the longitudemapWidth
- the width of the mapmapHeight
- the height of the map
- Returns:
- returns a small map location
Copyright © 2002-2005 Delft University of Technology, the Netherlands. All Rights Reserved.