📄 abstractcs.html
字号:
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/referencing/cs/AbstractCS.html#formatWKT(org.geotools.referencing.wkt.Formatter)">formatWKT</A></B>(<A HREF="../../../../org/geotools/referencing/wkt/Formatter.html" title="class in org.geotools.referencing.wkt">Formatter</A> formatter)</CODE><BR> Format the inner part of a <A HREF="http://geoapi.sourceforge.net/snapshot/javadoc/org/opengis/referencing/doc-files/WKT.html"><cite>Well Known Text</cite> (WKT)</A> element. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> CoordinateSystemAxis</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/referencing/cs/AbstractCS.html#getAxis(int)">getAxis</A></B>(int dimension)</CODE><BR> Returns the axis for this coordinate system at the specified dimension.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/referencing/cs/AbstractCS.html#getDimension()">getDimension</A></B>()</CODE><BR> Returns the dimension of the coordinate system. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/referencing/cs/AbstractCS.html#hashCode()">hashCode</A></B>()</CODE><BR> Returns a hash value 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/AbstractCS.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/AbstractCS.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 is the specified unit is legal for the specified axis direction. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static CoordinateSystem</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/referencing/cs/AbstractCS.html#standard(org.opengis.referencing.cs.CoordinateSystem)">standard</A></B>(CoordinateSystem cs)</CODE><BR> Returns a coordinate system with "standard" axis order and units. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static Matrix</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/referencing/cs/AbstractCS.html#swapAndScaleAxis(org.opengis.referencing.cs.CoordinateSystem, org.opengis.referencing.cs.CoordinateSystem)">swapAndScaleAxis</A></B>(CoordinateSystem sourceCS, CoordinateSystem targetCS)</CODE><BR> Returns an affine transform between two coordinate systems. </TD></TR></TABLE> <A NAME="methods_inherited_from_class_AbstractIdentifiedObject"><!-- --></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/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#asSet(java.lang.Object[])">asSet</A>, <A HREF="../../../../org/geotools/referencing/AbstractIdentifiedObject.html#ensureAngularUnit(javax.units.Unit)">ensureAngularUnit</A>, <A HREF="../../../../org/geotools/referencing/AbstractIdentifiedObject.html#ensureLinearUnit(javax.units.Unit)">ensureLinearUnit</A>, <A HREF="../../../../org/geotools/referencing/AbstractIdentifiedObject.html#ensureNonNull(java.lang.String, java.lang.Object)">ensureNonNull</A>, <A HREF="../../../../org/geotools/referencing/AbstractIdentifiedObject.html#ensureNonNull(java.lang.String, java.lang.Object[], int)">ensureNonNull</A>, <A HREF="../../../../org/geotools/referencing/AbstractIdentifiedObject.html#ensureTimeUnit(javax.units.Unit)">ensureTimeUnit</A>, <A HREF="../../../../org/geotools/referencing/AbstractIdentifiedObject.html#equals(java.util.Collection, java.util.Collection, boolean)">equals</A>, <A HREF="../../../../org/geotools/referencing/AbstractIdentifiedObject.html#equals(org.opengis.referencing.IdentifiedObject[], org.opengis.referencing.IdentifiedObject[], boolean)">equals</A>, <A HREF="../../../../org/geotools/referencing/AbstractIdentifiedObject.html#equals(org.opengis.referencing.IdentifiedObject, org.opengis.referencing.IdentifiedObject, boolean)">equals</A>, <A HREF="../../../../org/geotools/referencing/AbstractIdentifiedObject.html#equals(java.lang.Object)">equals</A>, <A HREF="../../../../org/geotools/referencing/AbstractIdentifiedObject.html#getAlias()">getAlias</A>, <A HREF="../../../../org/geotools/referencing/AbstractIdentifiedObject.html#getIdentifier(org.opengis.metadata.citation.Citation)">getIdentifier</A>, <A HREF="../../../../org/geotools/referencing/AbstractIdentifiedObject.html#getIdentifier(org.opengis.referencing.IdentifiedObject, org.opengis.metadata.citation.Citation)">getIdentifier</A>, <A HREF="../../../../org/geotools/referencing/AbstractIdentifiedObject.html#getIdentifiers()">getIdentifiers</A>, <A HREF="../../../../org/geotools/referencing/AbstractIdentifiedObject.html#getName()">getName</A>, <A HREF="../../../../org/geotools/referencing/AbstractIdentifiedObject.html#getName(org.opengis.metadata.citation.Citation)">getName</A>, <A HREF="../../../../org/geotools/referencing/AbstractIdentifiedObject.html#getName(org.opengis.referencing.IdentifiedObject, org.opengis.metadata.citation.Citation)">getName</A>, <A HREF="../../../../org/geotools/referencing/AbstractIdentifiedObject.html#getProperties(org.opengis.referencing.IdentifiedObject)">getProperties</A>, <A HREF="../../../../org/geotools/referencing/AbstractIdentifiedObject.html#getProperties(org.opengis.referencing.IdentifiedObject, org.opengis.metadata.citation.Citation)">getProperties</A>, <A HREF="../../../../org/geotools/referencing/AbstractIdentifiedObject.html#getRemarks()">getRemarks</A>, <A HREF="../../../../org/geotools/referencing/AbstractIdentifiedObject.html#nameMatches(org.opengis.referencing.IdentifiedObject, java.lang.String)">nameMatches</A>, <A HREF="../../../../org/geotools/referencing/AbstractIdentifiedObject.html#nameMatches(java.lang.String)">nameMatches</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_Formattable"><!-- --></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/wkt/Formattable.html" title="class in org.geotools.referencing.wkt">Formattable</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../org/geotools/referencing/wkt/Formattable.html#toString()">toString</A>, <A HREF="../../../../org/geotools/referencing/wkt/Formattable.html#toWKT()">toWKT</A>, <A HREF="../../../../org/geotools/referencing/wkt/Formattable.html#toWKT(org.opengis.metadata.citation.Citation, int)">toWKT</A>, <A HREF="../../../../org/geotools/referencing/wkt/Formattable.html#toWKT(int)">toWKT</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_IdentifiedObject"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface IdentifiedObject</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>getAlias, getIdentifiers, getName, getRemarks, toWKT</CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="AbstractCS(org.opengis.referencing.cs.CoordinateSystem)"><!-- --></A><H3>AbstractCS</H3><PRE>public <B>AbstractCS</B>(CoordinateSystem cs)</PRE><DL><DD>Constructs a new coordinate system with the same values than the specified one. This copy constructor provides a way to wrap an arbitrary implementation into a Geotools one or a user-defined one (as a subclass), usually in order to leverage some implementation-specific API. This constructor performs a shallow copy, i.e. the properties are not cloned.<P><DT><B>Since:</B></DT> <DD>2.2</DD></DL><HR><A NAME="AbstractCS(java.lang.String, org.opengis.referencing.cs.CoordinateSystemAxis[])"><!-- --></A><H3>AbstractCS</H3><PRE>public <B>AbstractCS</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)</PRE><DL><DD>Constructs a coordinate system from a name.<P><DT><B>Parameters:</B><DD><CODE>name</CODE> - The coordinate system name.<DD><CODE>axis</CODE> - The set of axis.</DL><HR><A NAME="AbstractCS(java.util.Map, org.opengis.referencing.cs.CoordinateSystemAxis[])"><!-- --></A><H3>AbstractCS</H3><PRE>public <B>AbstractCS</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)</PRE><DL><DD>Constructs a coordinate system from a set of properties. 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>axis</CODE> - The set of axis.</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="isCompatibleDirection(org.opengis.referencing.cs.AxisDirection)"><!-- --></A><H3>isCompatibleDirection</H3><PRE>protected boolean <B>isCompatibleDirection</B>(AxisDirection direction)</PRE><DL><DD>Returns if the specified axis direction is allowed for this coordinate system. This method is invoked at construction time for checking argument validity. The default implementation returns for all axis directions. Subclasses will overrides this method in order to put more restrictions on allowed axis directions.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="isCompatibleUnit(org.opengis.referencing.cs.AxisDirection, javax.units.Unit)"><!-- --></A><H3>isCompatibleUnit</H3><PRE>protected boolean <B>isCompatibleUnit</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)</PRE><DL><DD>Returns is the specified unit is legal for the specified axis direction. This method is invoked at construction time for checking units compatibility. The default implementation returns in all cases. Subclasses can override this method and check for compatibility with <A HREF="http://jsr-108.sourceforge.net/javadoc/javax/units/SI.html#METER" title="class or interface in javax.units">meter</A> or <A HREF="http://jsr-108.sourceforge.net/javadoc/javax/units/NonSI.html#DEGREE_ANGLE" title="class or interface in javax.units">degree</A> units.<P><DD><DL></DL></DD><DD><DL><DT><B>Since:</B></DT> <DD>2.2</DD></DL></DD></DL><HR><A NAME="getDimension()"><!-- --></A><H3>getDimension</H3><PRE>public int <B>getDimension</B>()</PRE><DL><DD>Returns the dimension of the coordinate system. This is the number of axis.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>getDimension</CODE> in interface <CODE>CoordinateSystem</CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getAxis(int)"><!-- --></A><H3>getAxis</H3><PRE>public CoordinateSystemAxis <B>getAxis</B>(int dimension) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IndexOutOfBoundsException.html" title="class or interface in java.lang">IndexOutOfBoundsException</A></PRE><DL>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -