|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.me.jstott.jcoord.ellipsoid.Ellipsoid
public abstract class Ellipsoid
This class is part of the Jcoord package. Visit the Jcoord website for more information.
Class to represent a reference ellipsoid.
(c) 2006 Jonathan Stott
Created on 02-Apr-2006
Constructor Summary | |
---|---|
Ellipsoid(double semiMajorAxis,
double semiMinorAxis)
Create a new ellipsoid with the given parameters. |
|
Ellipsoid(double semiMajorAxis,
double semiMinorAxis,
double eccentricitySquared)
Create a new ellipsoid with the given parameters. |
Method Summary | |
---|---|
double |
getEccentricitySquared()
Get the eccentricity squared. |
double |
getFlattening()
Get the flattening. |
double |
getSemiMajorAxis()
Get the semi major axis. |
double |
getSemiMinorAxis()
Get the semi minor axis. |
java.lang.String |
toString()
Get a String representation of the Ellipsoid |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Ellipsoid(double semiMajorAxis, double semiMinorAxis)
semiMajorAxis
- the semi major axis.semiMinorAxis
- the semi minor axis.public Ellipsoid(double semiMajorAxis, double semiMinorAxis, double eccentricitySquared) throws java.lang.IllegalArgumentException
semiMajorAxis
- the semi major axis.semiMinorAxis
- the semi minor axis.eccentricitySquared
- the eccentricity squared.
java.lang.IllegalArgumentException
- is both the semiMinorAxis and eccentricitySquared parameters are
Double.NaN.Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public double getEccentricitySquared()
public double getFlattening()
public double getSemiMajorAxis()
public double getSemiMinorAxis()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |