flatscape
Class FCanvas.Info

java.lang.Object
  |
  +--flatscape.FCanvas.Info
Enclosing class:
FCanvas

public class FCanvas.Info
extends java.lang.Object

Canvas information class to transfer the parameters of the canvas to other modules e.g. OpenMap map module.

See Also:
FCanvas.getCanvasInfo()

Field Summary
 double centerX_
          X position of the center of canvas in user coordinates.
 double centerY_
          Y position of the center of canvas in user coordinates.
 int height_
          Height in pixels of the canvas.
 double scale_
          Scaling factor.
 double theta_
          Rotation of the canvas around its center.
 int width_
          Width in pixels of the canvas.
 
Constructor Summary
FCanvas.Info(double centerX, double centerY, double theta, double scale, int width, int height)
           
 
Method Summary
 boolean equals(FCanvas.Info info)
          tests to see if two infos are the same, used by MapInfo to determine if any recalculations are needed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

centerX_

public double centerX_
X position of the center of canvas in user coordinates.


centerY_

public double centerY_
Y position of the center of canvas in user coordinates.


theta_

public double theta_
Rotation of the canvas around its center.


scale_

public double scale_
Scaling factor.


width_

public int width_
Width in pixels of the canvas.


height_

public int height_
Height in pixels of the canvas.

Constructor Detail

FCanvas.Info

public FCanvas.Info(double centerX,
                    double centerY,
                    double theta,
                    double scale,
                    int width,
                    int height)
Method Detail

equals

public boolean equals(FCanvas.Info info)
tests to see if two infos are the same, used by MapInfo to determine if any recalculations are needed.



Copyright (c) 2003 Rutgers, The State University of New Jersey