📄 defaulttimecs.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!--NewPage--><HTML><HEAD><!-- Generated by javadoc (build 1.4.2_13) on Tue Jun 05 11:36:19 GMT-05:00 2007 --><META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><TITLE>DefaultTimeCS (Geotools 2.3.x 2.3.2 API)</TITLE><META NAME="keywords" CONTENT="org.geotools.referencing.cs.DefaultTimeCS class"><META NAME="keywords" CONTENT="DAYS"><META NAME="keywords" CONTENT="isCompatibleDirection()"><META NAME="keywords" CONTENT="isCompatibleUnit()"><META NAME="keywords" CONTENT="distance()"><LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"><SCRIPT type="text/javascript">function windowTitle(){ parent.document.title="DefaultTimeCS (Geotools 2.3.x 2.3.2 API)";}</SCRIPT></HEAD><BODY BGCOLOR="white" onload="windowTitle();"><!-- ========= START OF TOP NAVBAR ======= --><A NAME="navbar_top"><!-- --></A><A HREF="#skip-navbar_top" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_top_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/DefaultTimeCS.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../org/geotools/referencing/cs/DefaultSphericalCS.html" title="class in org.geotools.referencing.cs"><B>PREV CLASS</B></A> <A HREF="../../../../org/geotools/referencing/cs/DefaultUserDefinedCS.html" title="class in org.geotools.referencing.cs"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A> <A HREF="DefaultTimeCS.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT> <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_top"></A><!-- ========= END OF TOP NAVBAR ========= --><HR><!-- ======== START OF CLASS DATA ======== --><H2><FONT SIZE="-1">org.geotools.referencing.cs</FONT><BR>Class DefaultTimeCS</H2><PRE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> <IMG SRC="../../../../resources/inherit.gif" ALT="extended by"><A HREF="../../../../org/geotools/referencing/wkt/Formattable.html" title="class in org.geotools.referencing.wkt">Formattable</A> <IMG SRC="../../../../resources/inherit.gif" ALT="extended by"><A HREF="../../../../org/geotools/referencing/AbstractIdentifiedObject.html" title="class in org.geotools.referencing">AbstractIdentifiedObject</A> <IMG SRC="../../../../resources/inherit.gif" ALT="extended by"><A HREF="../../../../org/geotools/referencing/cs/AbstractCS.html" title="class in org.geotools.referencing.cs">AbstractCS</A> <IMG SRC="../../../../resources/inherit.gif" ALT="extended by"><B>DefaultTimeCS</B></PRE><DL><DT><B>All Implemented Interfaces:</B> <DD>CoordinateSystem, IdentifiedObject, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/Serializable.html" title="class or interface in java.io">Serializable</A>, TimeCS</DD></DL><HR><DL><DT>public class <B>DefaultTimeCS</B><DT>extends <A HREF="../../../../org/geotools/referencing/cs/AbstractCS.html" title="class in org.geotools.referencing.cs">AbstractCS</A><DT>implements TimeCS</DL><P>A one-dimensional coordinate system containing a single time axis, used to describe the temporal position of a point in the specified time units from a specified time origin. A shall have one <A HREF="../../../../org/geotools/referencing/cs/AbstractCS.html#getAxis(int)">axis</A>. <TABLE CELLPADDING='6' BORDER='1'> <TR BGCOLOR="#EEEEFF"><TH NOWRAP>Used with CRS type(s)</TH></TR> <TR><TD> <A HREF="../../../../org/geotools/referencing/crs/DefaultTemporalCRS.html" title="class in org.geotools.referencing.crs"><CODE>Temporal</CODE></A> </TD></TR></TABLE><P><P><DL><DT><B>Since:</B></DT> <DD>2.1</DD><DT><B>Author:</B></DT> <DD>Martin Desruisseaux</DD><DT><B>See Also:</B><DD><A HREF="../../../../serialized-form.html#org.geotools.referencing.cs.DefaultTimeCS">Serialized Form</A><DT><B>Module:</B></DT><DD><CODE><B>module/referencing</B></CODE> (<A HREF="http://maven.geotools.fr/repository/org/geotools/gt2-referencing/"><CODE>gt2-referencing.jar</CODE></A>) (<A HREF="http://maven.geotools.fr/reports/referencing/index.html">Maven report</A>) (<A HREF="http://svn.geotools.org/geotools/tags/2.3.2/module/referencing/src/org/geotools/referencing/cs/DefaultTimeCS.java">SVN head</A>)</DD></DL><HR><P><!-- ======== NESTED CLASS SUMMARY ======== --><!-- =========== FIELD SUMMARY =========== --><A NAME="field_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Field Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../../org/geotools/referencing/cs/DefaultTimeCS.html" title="class in org.geotools.referencing.cs">DefaultTimeCS</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/referencing/cs/DefaultTimeCS.html#DAYS">DAYS</A></B></CODE><BR> A one-dimensional temporal CS with <var><A HREF="../../../../org/geotools/referencing/cs/DefaultCoordinateSystemAxis.html#TIME">time</A></var>, axis in days.</TD></TR></TABLE> <A NAME="fields_inherited_from_class_AbstractIdentifiedObject"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Fields inherited from class <A HREF="../../../../org/geotools/referencing/AbstractIdentifiedObject.html" title="class in org.geotools.referencing">AbstractIdentifiedObject</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../org/geotools/referencing/AbstractIdentifiedObject.html#EMPTY_ALIAS_ARRAY">EMPTY_ALIAS_ARRAY</A>, <A HREF="../../../../org/geotools/referencing/AbstractIdentifiedObject.html#EMPTY_IDENTIFIER_ARRAY">EMPTY_IDENTIFIER_ARRAY</A>, <A HREF="../../../../org/geotools/referencing/AbstractIdentifiedObject.html#IDENTIFIER_COMPARATOR">IDENTIFIER_COMPARATOR</A>, <A HREF="../../../../org/geotools/referencing/AbstractIdentifiedObject.html#NAME_COMPARATOR">NAME_COMPARATOR</A>, <A HREF="../../../../org/geotools/referencing/AbstractIdentifiedObject.html#REMARKS_COMPARATOR">REMARKS_COMPARATOR</A></CODE></TD></TR></TABLE> <A NAME="fields_inherited_from_class_IdentifiedObject"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Fields inherited from interface IdentifiedObject</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>ALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEY</CODE></TD></TR></TABLE> <!-- ======== CONSTRUCTOR SUMMARY ======== --><A NAME="constructor_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Constructor Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../../org/geotools/referencing/cs/DefaultTimeCS.html#DefaultTimeCS(java.util.Map, org.opengis.referencing.cs.CoordinateSystemAxis)">DefaultTimeCS</A></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, CoordinateSystemAxis axis)</CODE><BR> Constructs a coordinate system from a set of properties. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../../org/geotools/referencing/cs/DefaultTimeCS.html#DefaultTimeCS(java.lang.String, org.opengis.referencing.cs.CoordinateSystemAxis)">DefaultTimeCS</A></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, CoordinateSystemAxis axis)</CODE><BR> Constructs a coordinate system from a name.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../../org/geotools/referencing/cs/DefaultTimeCS.html#DefaultTimeCS(org.opengis.referencing.cs.TimeCS)">DefaultTimeCS</A></B>(TimeCS cs)</CODE><BR> Constructs a new coordinate system with the same values than the specified one. </TD></TR></TABLE> <!-- ========== METHOD SUMMARY =========== --><A NAME="method_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Method Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/geotools/measure/Measure.html" title="class in org.geotools.measure">Measure</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/referencing/cs/DefaultTimeCS.html#distance(double[], double[])">distance</A></B>(double[] coord1, double[] coord2)</CODE><BR> Computes the time difference between two points.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/referencing/cs/DefaultTimeCS.html#isCompatibleDirection(org.opengis.referencing.cs.AxisDirection)">isCompatibleDirection</A></B>(AxisDirection direction)</CODE><BR> Returns if the specified axis direction is allowed for this coordinate system. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/referencing/cs/DefaultTimeCS.html#isCompatibleUnit(org.opengis.referencing.cs.AxisDirection, javax.units.Unit)">isCompatibleUnit</A></B>(AxisDirection direction, <A HREF="http://jsr-108.sourceforge.net/javadoc/javax/units/Unit.html" title="class or interface in javax.units">Unit</A> unit)</CODE><BR> Returns if the specified unit is compatible with <A HREF="http://jsr-108.sourceforge.net/javadoc/javax/units/SI.html#SECOND" title="class or interface in javax.units">seconds</A>. </TD></TR></TABLE> <A NAME="methods_inherited_from_class_AbstractCS"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class <A HREF="../../../../org/geotools/referencing/cs/AbstractCS.html" title="class in org.geotools.referencing.cs">AbstractCS</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../org/geotools/referencing/cs/AbstractCS.html#equals(org.geotools.referencing.AbstractIdentifiedObject, boolean)">equals</A>, <A HREF="../../../../org/geotools/referencing/cs/AbstractCS.html#formatWKT(org.geotools.referencing.wkt.Formatter)">formatWKT</A>, <A HREF="../../../../org/geotools/referencing/cs/AbstractCS.html#getAxis(int)">getAxis</A>, <A HREF="../../../../org/geotools/referencing/cs/AbstractCS.html#getDimension()">getDimension</A>, <A HREF="../../../../org/geotools/referencing/cs/AbstractCS.html#hashCode()">hashCode</A>, <A HREF="../../../../org/geotools/referencing/cs/AbstractCS.html#standard(org.opengis.referencing.cs.CoordinateSystem)">standard</A>, <A HREF="../../../../org/geotools/referencing/cs/AbstractCS.html#swapAndScaleAxis(org.opengis.referencing.cs.CoordinateSystem, org.opengis.referencing.cs.CoordinateSystem)">swapAndScaleAxis</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_AbstractIdentifiedObject"><!-- --></A>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -