📄 jts.html
字号:
<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/JTS.html#toGeographic(com.vividsolutions.jts.geom.Envelope, org.opengis.referencing.crs.CoordinateReferenceSystem)">toGeographic</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, CoordinateReferenceSystem crs)</CODE><BR> Transforms the envelope from its current crs to WGS84 coordinate reference system. </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/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/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> 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/JTS.html#transform(com.vividsolutions.jts.geom.Envelope, 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> sourceEnvelope, <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> targetEnvelope, MathTransform transform, int npoints)</CODE><BR> Transforms the densified envelope using the specified 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/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> Transforms the envelope using the specified 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/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/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> 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 void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/geometry/jts/JTS.html#xform(org.opengis.referencing.operation.MathTransform, double[], double[])">xform</A></B>(MathTransform transform, double[] src, double[] dest)</CODE><BR> Like a transform but eXtreme! </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="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>Transforms the envelope using the specified math transform.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>envelope</CODE> - The envelope to transform.<DD><CODE>transform</CODE> - The transform to use.<DT><B>Returns:</B><DD>The transformed Envelope<DT><B>Throws:</B><DD><CODE>TransformException</CODE> - if at least one coordinate can't be transformed.</DL></DD></DL><HR><A NAME="transform(com.vividsolutions.jts.geom.Envelope, 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> sourceEnvelope, <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> targetEnvelope, MathTransform transform, int npoints) throws TransformException</PRE><DL><DD>Transforms the densified envelope using the specified math transform. The envelope is densified (extra points put around the outside edge) to provide a better new envelope for high deformed situations. <p> If an optional target envelope is provided, this envelope will be <A HREF="http://www.jump-project.org/docs/jts/1.7/api/com/vividsolutions/jts/geom/Envelope.html#expandToInclude(com.vividsolutions.jts.geom.Coordinate)" title="class or interface in com.vividsolutions.jts.geom">expanded</A> with the transformation result. It will <strong>not</strong> be <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">nullified</A> before the expansion.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>sourceEnvelope</CODE> - The envelope to transform.<DD><CODE>targetEnvelope</CODE> - An envelope to expand with the transformation result, or for returning an new envelope.<DD><CODE>transform</CODE> - The transform to use.<DD><CODE>npoints</CODE> - Densification of each side of the rectange.<DT><B>Returns:</B><DD> if it was non-null, or a new envelope otherwise. In all case, the returned envelope fully contains the transformed envelope.<DT><B>Throws:</B><DD><CODE>TransformException</CODE> - if a coordinate can't be transformed.</DL></DD></DL><HR><A NAME="transform(com.vividsolutions.jts.geom.Geometry, 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/Geometry.html" title="class or interface in com.vividsolutions.jts.geom">Geometry</A> <B>transform</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) throws MismatchedDimensionException, TransformException</PRE><DL><DD>Transforms the geometry using the default transformer.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>geom</CODE> - The geom to transform<DD><CODE>transform</CODE> - the transform to use during the transformation.<DT><B>Returns:</B><DD>the transformed geometry. It will be a new geometry.<DT><B>Throws:</B><DD><CODE>MismatchedDimensionException</CODE> - if the geometry doesn't have the expected dimension for the specified transform.<DD><CODE>TransformException</CODE> - if a point can't be transformed.</DL></DD></DL><HR><A NAME="transform(com.vividsolutions.jts.geom.Coordinate, com.vividsolutions.jts.geom.Coordinate, 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/Coordinate.html" title="class or interface in com.vividsolutions.jts.geom">Coordinate</A> <B>transform</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) throws TransformException</PRE><DL><DD>Transforms the coordinate using the provided math transform.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>source</CODE> - the source coordinate that will be transformed<DD><CODE>dest</CODE> - the coordinate that will be set. May be null or the source coordinate (or new coordinate of course).<DT><B>Returns:</B><DD>the destination coordinate if not null or a new Coordinate.<DT><B>Throws:</B><DD><CODE>TransformException</CODE> - if the coordinate can't be transformed.</DL></DD></DL><HR><A NAME="toGeographic(com.vividsolutions.jts.geom.Envelope, org.opengis.referencing.crs.CoordinateReferenceSystem)"><!-- --></A><H3>toGeographic</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>toGeographic</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, CoordinateReferenceSystem crs) throws TransformException</PRE><DL><DD>Transforms the envelope from its current crs to WGS84 coordinate reference system. If the specified envelope is already in WGS84, then it is returned unchanged.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -