Package org.openstreetmap.josm.data.projection

Examples of org.openstreetmap.josm.data.projection.ProjectionConfigurationException


    private static final double EPSILON = 1e-11;

    @Override
    public void initialize(ProjParameters params) throws ProjectionConfigurationException {
        if (params.lat_0 == null)
            throw new ProjectionConfigurationException(tr("Parameter ''{0}'' required.", "lat_0"));
        ellps = params.ellps;
        initialize(params.lat_0);
    }
View Full Code Here


    @Override
    public void initialize(ProjParameters params) throws ProjectionConfigurationException {
        ellps = params.ellps;
        e = ellps.e;
        if (params.lat_0 == null)
            throw new ProjectionConfigurationException(tr("Parameter ''{0}'' required.", "lat_0"));
        if (params.lat_1 != null && params.lat_2 != null) {
            initialize2SP(params.lat_0, params.lat_1, params.lat_2);
        } else {
            initialize1SP(params.lat_0);
        }
View Full Code Here

TOP

Related Classes of org.openstreetmap.josm.data.projection.ProjectionConfigurationException

Copyright © 2018 www.massapicom. 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.