Class SvgEcd.Point

    • Field Detail

      • x

        public double x
        The "science coordinates", i.e. coordinates with respect to the center of the image, with the Y axis going up
      • y

        public double y
        The "science coordinates", i.e. coordinates with respect to the center of the image, with the Y axis going up
    • Constructor Detail

      • Point

        public Point​(double _x,
                     double _y)
    • Method Detail

      • setScale

        public static void setScale​(double _xRange,
                                    double _yRange)
      • svgCoord

        public double[] svgCoord()
        In SVG coordinates of the point (with respect to the top left corner, Y going down)
      • rawPoint

        public SvgEcd.Point rawPoint()
        Converts this Point with "science" coordinates to one with raw (svg) ones