Changes in this commit seem to be the result of some "auto reformat" tool execution. The Java - GeoAPI - GeoTools import ordering is altered, imports used only in Javadoc are lost and the encoding of non-ASCII characters is broken. This commit has been reverted, except for the removal of really unused imports which are kept removed.
Command line:
svn diff --extensions "--unified --ignore-space-change --ignore-all-space --ignore-eol-style" -r10795:10796 https://svn.osgeo.org/geotools/trunk/modules/library/referencing/src/main/java/org/geotools/referencing/datum/DefaultEllipsoid.java
Revision 10795 | Revision 10796 |
---|---|
/*
* Geotools 2 - OpenSource mapping toolkit
* (C) 2003, Geotools Project Managment Committee (PMC)
* (C) 2001, Institut de Recherche pour le Développement
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public |
/*
* Geotools 2 - OpenSource mapping toolkit
* (C) 2003, Geotools Project Managment Committee (PMC)
* (C) 2001, Institut de Recherche pour le D�veloppement
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public |
package org.geotools.referencing.datum; // J2SE extensions import java.util.Map; import java.util.Collections; import java.awt.geom.Point2D; import javax.units.SI; import javax.units.Unit; // Geotools dependencies import org.geotools.referencing.IdentifiedObject; import org.geotools.referencing.wkt.Formatter; import org.geotools.resources.XMath; import org.geotools.resources.Utilities; import org.geotools.resources.cts.Resources; import org.geotools.resources.cts.ResourceKeys; import org.geotools.geometry.GeneralDirectPosition; import org.geotools.measure.CoordinateFormat; /** |
package org.geotools.referencing.datum; // J2SE extensions import java.awt.geom.Point2D; import java.util.Collections; import java.util.Map; import javax.units.SI; import javax.units.Unit; import org.geotools.geometry.GeneralDirectPosition; import org.geotools.measure.CoordinateFormat; import org.geotools.referencing.IdentifiedObject; import org.geotools.referencing.wkt.Formatter; import org.geotools.resources.Utilities; import org.geotools.resources.XMath; import org.geotools.resources.cts.ResourceKeys; import org.geotools.resources.cts.Resources; /** |
/**
* The ratio of the distance between the center and a focus of the ellipse
* to the length of its semimajor axis. The eccentricity can alternately be
* computed from the equation: <code>e=sqrt(2f-f²)</code>.
*/
public double getEccentricity() {
final double f = 1-getSemiMinorAxis()/getSemiMajorAxis(); |
/**
* The ratio of the distance between the center and a focus of the ellipse
* to the length of its semimajor axis. The eccentricity can alternately be
* computed from the equation: <code>e=sqrt(2f-f�)</code>.
*/
public double getEccentricity() {
final double f = 1-getSemiMinorAxis()/getSemiMajorAxis(); |