Examples of imageToWorldCoords()


Examples of jsky.coords.CoordinateConverter.imageToWorldCoords()

        cc.userToImageCoords(center, false);
        _imageX = center.x;
        _imageY = center.y;

        // get the center position in world coordinates
        cc.imageToWorldCoords(center, false);
        _centerPos = new WorldCoords(center, cc.getEquinox());
    }


    /**
 
View Full Code Here

Examples of jsky.coords.WorldCoordinateConverter.imageToWorldCoords()

     * @return an array containing the min and max radius values
     */
    public double[] getDefaultSearchRadius(WorldCoords centerPos, boolean useImageSize) {
        Point2D.Double p1 = new Point2D.Double(1., 1.);
        WorldCoordinateConverter wcs = getWCS();
        wcs.imageToWorldCoords(p1, false);
        double equinox = wcs.getEquinox();
        WorldCoords origin = new WorldCoords(p1, equinox);

        double maxRadius = centerPos.dist(origin);
        return new double[]{0., maxRadius};
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.