⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 jts.html

📁 Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理信息系统。Geotools提供了OGC(Open Geospatial Consortium)规范的一个实现来作为他们的
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<CODE>static&nbsp;<A HREF="http://www.jump-project.org/docs/jts/1.7/api/com/vividsolutions/jts/geom/Coordinate.html" title="class or interface in com.vividsolutions.jts.geom">Coordinate</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/geometry/JTS.html#transform(com.vividsolutions.jts.geom.Coordinate, com.vividsolutions.jts.geom.Coordinate, org.opengis.referencing.operation.MathTransform)">transform</A></B>(<A HREF="http://www.jump-project.org/docs/jts/1.7/api/com/vividsolutions/jts/geom/Coordinate.html" title="class or interface in com.vividsolutions.jts.geom">Coordinate</A>&nbsp;source,          <A HREF="http://www.jump-project.org/docs/jts/1.7/api/com/vividsolutions/jts/geom/Coordinate.html" title="class or interface in com.vividsolutions.jts.geom">Coordinate</A>&nbsp;dest,          MathTransform&nbsp;transform)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Transforms the coordinate using the provided math transform.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="http://www.jump-project.org/docs/jts/1.7/api/com/vividsolutions/jts/geom/Envelope.html" title="class or interface in com.vividsolutions.jts.geom">Envelope</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/geometry/JTS.html#transform(com.vividsolutions.jts.geom.Envelope, org.opengis.referencing.operation.MathTransform)">transform</A></B>(<A HREF="http://www.jump-project.org/docs/jts/1.7/api/com/vividsolutions/jts/geom/Envelope.html" title="class or interface in com.vividsolutions.jts.geom">Envelope</A>&nbsp;envelope,          MathTransform&nbsp;transform)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>This implementation gives unaccurate results for transformations more complicated             than scales and translations. It should transform at least the four corners (it             currently transforms only 2 corners), preferably more. Consider using             <A HREF="../../../org/geotools/geometry/jts/JTS.html#transform(com.vividsolutions.jts.geom.Envelope, org.opengis.referencing.operation.MathTransform)"><CODE>JTS.transform(Envelope,MathTransform)</CODE></A> instead,             which transform a densified envelope.</I></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="http://www.jump-project.org/docs/jts/1.7/api/com/vividsolutions/jts/geom/Envelope.html" title="class or interface in com.vividsolutions.jts.geom">Envelope</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/geometry/JTS.html#transform(com.vividsolutions.jts.geom.Envelope, org.opengis.referencing.operation.MathTransform, int)">transform</A></B>(<A HREF="http://www.jump-project.org/docs/jts/1.7/api/com/vividsolutions/jts/geom/Envelope.html" title="class or interface in com.vividsolutions.jts.geom">Envelope</A>&nbsp;envelope,          MathTransform&nbsp;transform,          int&nbsp;npoints)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I><A HREF="../../../org/geotools/geometry/jts/JTS.html" title="class in org.geotools.geometry.jts"><CODE>JTS</CODE></A> should provides a slightly more efficient             implementation.</I></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="http://www.jump-project.org/docs/jts/1.7/api/com/vividsolutions/jts/geom/Geometry.html" title="class or interface in com.vividsolutions.jts.geom">Geometry</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/geometry/JTS.html#transform(com.vividsolutions.jts.geom.Geometry, org.opengis.referencing.operation.MathTransform)">transform</A></B>(<A HREF="http://www.jump-project.org/docs/jts/1.7/api/com/vividsolutions/jts/geom/Geometry.html" title="class or interface in com.vividsolutions.jts.geom">Geometry</A>&nbsp;geom,          MathTransform&nbsp;transform)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Transforms the geometry using the default transformer.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../org/geotools/geometry/JTS.ReferencedEnvelope.html" title="class in org.geotools.geometry">JTS.ReferencedEnvelope</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/geometry/JTS.html#transform(org.geotools.geometry.JTS.ReferencedEnvelope, org.opengis.referencing.crs.CoordinateReferenceSystem, boolean)">transform</A></B>(<A HREF="../../../org/geotools/geometry/JTS.ReferencedEnvelope.html" title="class in org.geotools.geometry">JTS.ReferencedEnvelope</A>&nbsp;envelope,          CoordinateReferenceSystem&nbsp;crs,          boolean&nbsp;lenient)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>Moved to <A HREF="../../../org/geotools/geometry/jts/ReferencedEnvelope.html#transform(org.opengis.referencing.crs.CoordinateReferenceSystem, boolean)"><CODE>ReferencedEnvelope.transform(org.opengis.referencing.crs.CoordinateReferenceSystem, boolean)</CODE></A>,             as a class member.</I></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/geometry/JTS.html#xform(org.opengis.referencing.operation.MathTransform, double[], double[], int)">xform</A></B>(MathTransform&nbsp;mt,      double[]&nbsp;src,      double[]&nbsp;dest,      int&nbsp;dimensions)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Like a transform but eXtreme!  </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/geometry/JTS.html#xform(org.opengis.referencing.operation.MathTransform, double[], double[], int, float)">xform</A></B>(MathTransform&nbsp;mt,      double[]&nbsp;src,      double[]&nbsp;dest,      int&nbsp;dimensions,      float&nbsp;failureThreshold)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>This implementation do not copies last coordinate correctly transformed as the             javadoc said. Consider using <A HREF="../../../org/geotools/geometry/jts/JTS.html" title="class in org.geotools.geometry.jts"><CODE>JTS</CODE></A> instead.</I></TD></TR></TABLE>&nbsp;<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#equals(java.lang.Object)" title="class or interface in java.lang">equals</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#hashCode()" title="class or interface in java.lang">hashCode</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#toString()" title="class or interface in java.lang">toString</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>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><!-- ============ 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="empty()"><!-- --></A><H3>empty</H3><PRE>public static <A HREF="http://www.jump-project.org/docs/jts/1.7/api/com/vividsolutions/jts/geom/Envelope.html" title="class or interface in com.vividsolutions.jts.geom">Envelope</A> <B>empty</B>()</PRE><DL><DD><B>Deprecated.</B>&nbsp;<I>JTS 1.5 source code inspection show that  already invokes             <A HREF="http://www.jump-project.org/docs/jts/1.7/api/com/vividsolutions/jts/geom/Envelope.html#setToNull()" title="class or interface in com.vividsolutions.jts.geom"><CODE>Envelope.setToNull()</CODE></A>, so this method actually seems to add overhead.</I><P><DD>Returns a new, empty envelope.<P><DD><DL></DL></DD></DL><HR><A NAME="create(com.vividsolutions.jts.geom.Envelope, org.opengis.referencing.crs.CoordinateReferenceSystem)"><!-- --></A><H3>create</H3><PRE>public static <A HREF="../../../org/geotools/geometry/JTS.ReferencedEnvelope.html" title="class in org.geotools.geometry">JTS.ReferencedEnvelope</A> <B>create</B>(<A HREF="http://www.jump-project.org/docs/jts/1.7/api/com/vividsolutions/jts/geom/Envelope.html" title="class or interface in com.vividsolutions.jts.geom">Envelope</A>&nbsp;env,                                            CoordinateReferenceSystem&nbsp;crs)</PRE><DL><DD><B>Deprecated.</B>&nbsp;<I><A HREF="../../../org/geotools/geometry/jts/ReferencedEnvelope.html" title="class in org.geotools.geometry.jts"><CODE>ReferencedEnvelope</CODE></A> provides more constructors,             and not all of them are listed in this  factory.</I><P><DD>Creates a new envelope with the specified coordinate reference system.<P><DD><DL></DL></DD></DL><HR><A NAME="transform(com.vividsolutions.jts.geom.Envelope, org.opengis.referencing.operation.MathTransform, int)"><!-- --></A><H3>transform</H3><PRE>public static <A HREF="http://www.jump-project.org/docs/jts/1.7/api/com/vividsolutions/jts/geom/Envelope.html" title="class or interface in com.vividsolutions.jts.geom">Envelope</A> <B>transform</B>(<A HREF="http://www.jump-project.org/docs/jts/1.7/api/com/vividsolutions/jts/geom/Envelope.html" title="class or interface in com.vividsolutions.jts.geom">Envelope</A>&nbsp;envelope,                                 MathTransform&nbsp;transform,                                 int&nbsp;npoints)                          throws TransformException</PRE><DL><DD><B>Deprecated.</B>&nbsp;<I><A HREF="../../../org/geotools/geometry/jts/JTS.html" title="class in org.geotools.geometry.jts"><CODE>JTS</CODE></A> should provides a slightly more efficient             implementation.</I><P><DD>Transforms the Envelope using the specified MathTransform. The envelope is densified (extra points put around the outside edge) to provide  a 'better' new envelope for high deformed situations.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>envelope</CODE> - the envelope to transform.<DD><CODE>transform</CODE> - the transform to use.<DD><CODE>npoints</CODE> - densification of each side of the rectange.<DT><B>Returns:</B><DD>the transformed envelope.<DT><B>Throws:</B><DD><CODE>TransformException</CODE> - if a coordinate can't be transformed.</DL></DD></DL><HR><A NAME="xform(org.opengis.referencing.operation.MathTransform, double[], double[], int)"><!-- --></A><H3>xform</H3><PRE>public static void <B>xform</B>(MathTransform&nbsp;mt,                         double[]&nbsp;src,                         double[]&nbsp;dest,                         int&nbsp;dimensions)                  throws TransformException</PRE><DL><DD><B>Deprecated.</B>&nbsp;<DD>Like a transform but eXtreme!  Transforms an array of coordinate using the provided math transform.   Each Coordinate is transformed seperately. In case of a transform exception then the new value of the coordinate is the last coordinate correctly transformed.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>mt</CODE> - The math transform to apply.<DD><CODE>src</CODE> - The source coordinates.<DD><CODE>dest</CODE> - The destination array for transformed coordinates.<DT><B>Throws:</B><DD><CODE>TransformException</CODE> - if this method failed to transform any of the points.</DL></DD></DL><HR><A NAME="xform(org.opengis.referencing.operation.MathTransform, double[], double[], int, float)"><!-- --></A><H3>xform</H3><PRE>public static void <B>xform</B>(MathTransform&nbsp;mt,                         double[]&nbsp;src,                         double[]&nbsp;dest,                         int&nbsp;dimensions,                         float&nbsp;failureThreshold)                  throws TransformException</PRE><DL><DD><B>Deprecated.</B>&nbsp;<I>This implementation do not copies last coordinate correctly transformed as the             javadoc said. Consider using <A HREF="../../../org/geotools/geometry/jts/JTS.html" title="class in org.geotools.geometry.jts"><CODE>JTS</CODE></A> instead.</I><P><DD>Like a transform but eXtreme!  Transforms an array of coordinate using the provided math transform.   Each Coordinate is transformed seperately. In case of a transform exception then the new value of the coordinate is the last coordinate correctly transformed.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>mt</CODE> - The math transform to apply.<DD><CODE>src</CODE> - The source coordinates.<DD><CODE>dest</CODE> - The destination array for transformed coordinates.<DD><CODE>failureThreshold</CODE> - Ignored for now.<DT><B>Throws:</B><DD><CODE>TransformException</CODE> - if this method failed to transform any of the points.</DL></DD></DL><HR><A NAME="transform(com.vividsolutions.jts.geom.Envelope, org.opengis.referencing.operation.MathTransform)"><!-- --></A><H3>transform</H3><PRE>public static <A HREF="http://www.jump-project.org/docs/jts/1.7/api/com/vividsolutions/jts/geom/Envelope.html" title="class or interface in com.vividsolutions.jts.geom">Envelope</A> <B>transform</B>(<A HREF="http://www.jump-project.org/docs/jts/1.7/api/com/vividsolutions/jts/geom/Envelope.html" title="class or interface in com.vividsolutions.jts.geom">Envelope</A>&nbsp;envelope,                                 MathTransform&nbsp;transform)                          throws TransformException</PRE><DL><DD><B>Deprecated.</B>&nbsp;<I>This implementation gives unaccurate results for transformations more complicated             than scales and translations. It should transform at least the four corners (it             currently transforms only 2 corners), preferably more. Consider using             <A HREF="../../../org/geotools/geometry/jts/JTS.html#transform(com.vividsolutions.jts.geom.Envelope, org.opengis.referencing.operation.MathTransform)"><CODE>JTS.transform(Envelope,MathTransform)</CODE></A> instead,             which transform a densified envelope.</I>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -