📄 jts.html
字号:
<CODE>static <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> 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> dest, MathTransform transform)</CODE><BR> <B>Deprecated.</B> 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 <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> envelope, MathTransform transform)</CODE><BR> <B>Deprecated.</B> <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 <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> envelope, MathTransform transform, int npoints)</CODE><BR> <B>Deprecated.</B> <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 <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> geom, MathTransform transform)</CODE><BR> <B>Deprecated.</B> 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 <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> envelope, CoordinateReferenceSystem crs, boolean lenient)</CODE><BR> <B>Deprecated.</B> <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 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 mt, double[] src, double[] dest, int dimensions)</CODE><BR> <B>Deprecated.</B> Like a transform but eXtreme! </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static 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 mt, double[] src, double[] dest, int dimensions, float failureThreshold)</CODE><BR> <B>Deprecated.</B> <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> <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> <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> <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> env, CoordinateReferenceSystem crs)</PRE><DL><DD><B>Deprecated.</B> <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> envelope, MathTransform transform, int npoints) throws TransformException</PRE><DL><DD><B>Deprecated.</B> <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 mt, double[] src, double[] dest, int dimensions) throws TransformException</PRE><DL><DD><B>Deprecated.</B> <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 mt, double[] src, double[] dest, int dimensions, float failureThreshold) throws TransformException</PRE><DL><DD><B>Deprecated.</B> <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> envelope, MathTransform transform) throws TransformException</PRE><DL><DD><B>Deprecated.</B> <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 + -