|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.lip6.sma.simulacion.app.map.CellCoordinateConversion
public class CellCoordinateConversion
TODO:
| Field Summary | |
|---|---|
private double |
mXscaleCell2Absolute
X coordinate scale factor from cells to absolute coordinate |
private double |
mYscaleCell2Absolute
Y coordinate scale factor from cells to absolute coordinate |
| Constructor Summary | |
|---|---|
CellCoordinateConversion(Configuration inConfig)
Constructor. |
|
| Method Summary | |
|---|---|
Point |
absolute2Cell(Point inPoint)
Method to convert absolute point coordinates to a cell coordinate. |
Point |
cell2Absolute(Point inPoint)
Method to convert cell point coordinates to absolute coordinate. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private double mXscaleCell2Absolute
private double mYscaleCell2Absolute
| Constructor Detail |
|---|
public CellCoordinateConversion(Configuration inConfig)
inConfig - The configuration file of the running Simulacion
application.| Method Detail |
|---|
public Point absolute2Cell(Point inPoint)
inPoint - Point in absolute coordinate
public Point cell2Absolute(Point inPoint)
inPoint - Point in cell coordinate
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||