📄 defaultellipsoid.html
字号:
<PRE>protected <B>DefaultEllipsoid</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A> properties, double semiMajorAxis, double semiMinorAxis, double inverseFlattening, boolean ivfDefinitive, <A HREF="http://jsr-108.sourceforge.net/javadoc/javax/units/Unit.html" title="class or interface in javax.units">Unit</A> unit)</PRE><DL><DD>Constructs a new ellipsoid using the specified axis length. The properties map is given unchanged to the <A HREF="../../../../org/geotools/referencing/AbstractIdentifiedObject.html#AbstractIdentifiedObject(java.util.Map)">super-class constructor</A>.<P><DT><B>Parameters:</B><DD><CODE>properties</CODE> - Set of properties. Should contains at least <code>"name"</code>.<DD><CODE>semiMajorAxis</CODE> - The equatorial radius.<DD><CODE>semiMinorAxis</CODE> - The polar radius.<DD><CODE>inverseFlattening</CODE> - The inverse of the flattening value.<DD><CODE>ivfDefinitive</CODE> - if the inverse flattening is definitive.<DD><CODE>unit</CODE> - The units of the semi-major and semi-minor axis values.<DT><B>See Also:</B><DD><A HREF="../../../../org/geotools/referencing/datum/DefaultEllipsoid.html#createEllipsoid(java.lang.String, double, double, javax.units.Unit)"><CODE>createEllipsoid(java.lang.String, double, double, javax.units.Unit)</CODE></A>, <A HREF="../../../../org/geotools/referencing/datum/DefaultEllipsoid.html#createFlattenedSphere(java.lang.String, double, double, javax.units.Unit)"><CODE>createFlattenedSphere(java.lang.String, double, double, javax.units.Unit)</CODE></A></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="createEllipsoid(java.lang.String, double, double, javax.units.Unit)"><!-- --></A><H3>createEllipsoid</H3><PRE>public static <A HREF="../../../../org/geotools/referencing/datum/DefaultEllipsoid.html" title="class in org.geotools.referencing.datum">DefaultEllipsoid</A> <B>createEllipsoid</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> name, double semiMajorAxis, double semiMinorAxis, <A HREF="http://jsr-108.sourceforge.net/javadoc/javax/units/Unit.html" title="class or interface in javax.units">Unit</A> unit)</PRE><DL><DD>Constructs a new ellipsoid using the specified axis length.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - The ellipsoid name.<DD><CODE>semiMajorAxis</CODE> - The equatorial radius.<DD><CODE>semiMinorAxis</CODE> - The polar radius.<DD><CODE>unit</CODE> - The units of the semi-major and semi-minor axis values.</DL></DD></DL><HR><A NAME="createEllipsoid(java.util.Map, double, double, javax.units.Unit)"><!-- --></A><H3>createEllipsoid</H3><PRE>public static <A HREF="../../../../org/geotools/referencing/datum/DefaultEllipsoid.html" title="class in org.geotools.referencing.datum">DefaultEllipsoid</A> <B>createEllipsoid</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A> properties, double semiMajorAxis, double semiMinorAxis, <A HREF="http://jsr-108.sourceforge.net/javadoc/javax/units/Unit.html" title="class or interface in javax.units">Unit</A> unit)</PRE><DL><DD>Constructs a new ellipsoid using the specified axis length. The properties map is given unchanged to the <A HREF="../../../../org/geotools/referencing/AbstractIdentifiedObject.html#AbstractIdentifiedObject(java.util.Map)">super-class constructor</A>.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>properties</CODE> - Set of properties. Should contains at least <code>"name"</code>.<DD><CODE>semiMajorAxis</CODE> - The equatorial radius.<DD><CODE>semiMinorAxis</CODE> - The polar radius.<DD><CODE>unit</CODE> - The units of the semi-major and semi-minor axis values.</DL></DD></DL><HR><A NAME="createFlattenedSphere(java.lang.String, double, double, javax.units.Unit)"><!-- --></A><H3>createFlattenedSphere</H3><PRE>public static <A HREF="../../../../org/geotools/referencing/datum/DefaultEllipsoid.html" title="class in org.geotools.referencing.datum">DefaultEllipsoid</A> <B>createFlattenedSphere</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> name, double semiMajorAxis, double inverseFlattening, <A HREF="http://jsr-108.sourceforge.net/javadoc/javax/units/Unit.html" title="class or interface in javax.units">Unit</A> unit)</PRE><DL><DD>Constructs a new ellipsoid using the specified axis length and inverse flattening value.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - The ellipsoid name.<DD><CODE>semiMajorAxis</CODE> - The equatorial radius.<DD><CODE>inverseFlattening</CODE> - The inverse flattening value.<DD><CODE>unit</CODE> - The units of the semi-major and semi-minor axis values.</DL></DD></DL><HR><A NAME="createFlattenedSphere(java.util.Map, double, double, javax.units.Unit)"><!-- --></A><H3>createFlattenedSphere</H3><PRE>public static <A HREF="../../../../org/geotools/referencing/datum/DefaultEllipsoid.html" title="class in org.geotools.referencing.datum">DefaultEllipsoid</A> <B>createFlattenedSphere</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A> properties, double semiMajorAxis, double inverseFlattening, <A HREF="http://jsr-108.sourceforge.net/javadoc/javax/units/Unit.html" title="class or interface in javax.units">Unit</A> unit)</PRE><DL><DD>Constructs a new ellipsoid using the specified axis length and inverse flattening value. The properties map is given unchanged to the <A HREF="../../../../org/geotools/referencing/AbstractIdentifiedObject.html#AbstractIdentifiedObject(java.util.Map)">super-class constructor</A>.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>properties</CODE> - Set of properties. Should contains at least <code>"name"</code>.<DD><CODE>semiMajorAxis</CODE> - The equatorial radius.<DD><CODE>inverseFlattening</CODE> - The inverse flattening value.<DD><CODE>unit</CODE> - The units of the semi-major and semi-minor axis values.</DL></DD></DL><HR><A NAME="wrap(org.opengis.referencing.datum.Ellipsoid)"><!-- --></A><H3>wrap</H3><PRE>public static <A HREF="../../../../org/geotools/referencing/datum/DefaultEllipsoid.html" title="class in org.geotools.referencing.datum">DefaultEllipsoid</A> <B>wrap</B>(Ellipsoid ellipsoid)</PRE><DL><DD>Wraps an arbitrary ellipsoid into a Geotools implementation. This method is usefull if <A HREF="../../../../org/geotools/referencing/datum/DefaultEllipsoid.html#orthodromicDistance(java.awt.geom.Point2D, java.awt.geom.Point2D)"><CODE>orthodromic distance computation</CODE></A> (for example) are desired. If the supplied ellipsoid is already an instance of or is , then it is returned unchanged.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getAxisUnit()"><!-- --></A><H3>getAxisUnit</H3><PRE>public <A HREF="http://jsr-108.sourceforge.net/javadoc/javax/units/Unit.html" title="class or interface in javax.units">Unit</A> <B>getAxisUnit</B>()</PRE><DL><DD>Returns the linear unit of the <A HREF="../../../../org/geotools/referencing/datum/DefaultEllipsoid.html#getSemiMajorAxis()">semi-major</A> and <A HREF="../../../../org/geotools/referencing/datum/DefaultEllipsoid.html#getSemiMinorAxis()">semi-minor</A> axis values.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>getAxisUnit</CODE> in interface <CODE>Ellipsoid</CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>The axis linear unit.</DL></DD></DL><HR><A NAME="getSemiMajorAxis()"><!-- --></A><H3>getSemiMajorAxis</H3><PRE>public double <B>getSemiMajorAxis</B>()</PRE><DL><DD>Length of the semi-major axis of the ellipsoid. This is the equatorial radius in <A HREF="../../../../org/geotools/referencing/datum/DefaultEllipsoid.html#getAxisUnit()">axis linear unit</A>.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>getSemiMajorAxis</CODE> in interface <CODE>Ellipsoid</CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>Length of semi-major axis.</DL></DD></DL><HR><A NAME="getSemiMinorAxis()"><!-- --></A><H3>getSemiMinorAxis</H3><PRE>public double <B>getSemiMinorAxis</B>()</PRE><DL><DD>Length of the semi-minor axis of the ellipsoid. This is the polar radius in <A HREF="../../../../org/geotools/referencing/datum/DefaultEllipsoid.html#getAxisUnit()">axis linear unit</A>.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>getSemiMinorAxis</CODE> in interface <CODE>Ellipsoid</CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>Length of semi-minor axis.</DL></DD></DL><HR><A NAME="getEccentricity()"><!-- --></A><H3>getEccentricity</H3><PRE>public double <B>getEccentricity</B>()</PRE><DL><DD>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
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -