Package edu.wisc.game.svg
Class SvgEcd.Point
java.lang.Object
edu.wisc.game.svg.SvgEcd.Point
- All Implemented Interfaces:
Cloneable
- Enclosing class:
SvgEcd
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
x
public double xThe "science coordinates", i.e. coordinates with respect to the center of the image, with the Y axis going up -
y
public double yThe "science coordinates", i.e. coordinates with respect to the center of the image, with the Y axis going up
-
-
Constructor Details
-
Point
public Point(double _x, double _y)
-
-
Method Details
-
setScale
public static void setScale(double _xRange, double _yRange) -
copy
-
svgCoord
public double[] svgCoord()In SVG coordinates of the point (with respect to the top left corner, Y going down) -
rawPoint
Converts this Point with "science" coordinates to one with raw (svg) ones
-