📄 jts.html
字号:
<P><DD>Transforms the Envelope using the specified MathTransform.<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(org.geotools.geometry.JTS.ReferencedEnvelope, org.opengis.referencing.crs.CoordinateReferenceSystem, boolean)"><!-- --></A><H3>transform</H3><PRE>public static <A HREF="../../../org/geotools/geometry/JTS.ReferencedEnvelope.html" title="class in org.geotools.geometry">JTS.ReferencedEnvelope</A> <B>transform</B>(<A HREF="../../../org/geotools/geometry/JTS.ReferencedEnvelope.html" title="class in org.geotools.geometry">JTS.ReferencedEnvelope</A> envelope, CoordinateReferenceSystem crs, boolean lenient) throws TransformException, OperationNotFoundException, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/NoSuchElementException.html" title="class or interface in java.util">NoSuchElementException</A>, FactoryException</PRE><DL><DD><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><P><DD>Transforms the referenced envelope using the specified coordinate reference system.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>envelope</CODE> - the envelope to transform.<DD><CODE>crs</CODE> - The target coordinate reference system.<DD><CODE>lenient</CODE> - if datum shift should be applied even if there is insuffisient information. Otherwise (if ), an exception is thrown in such case.<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.<DD><CODE>OperationNotFoundException</CODE><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/NoSuchElementException.html" title="class or interface in java.util">NoSuchElementException</A></CODE><DD><CODE>FactoryException</CODE></DL></DD></DL><HR><A NAME="createGeometryTransformer()"><!-- --></A><H3>createGeometryTransformer</H3><PRE>public static <A HREF="../../../org/geotools/geometry/jts/GeometryCoordinateSequenceTransformer.html" title="class in org.geotools.geometry.jts">GeometryCoordinateSequenceTransformer</A> <B>createGeometryTransformer</B>()</PRE><DL><DD><B>Deprecated.</B> <DD>Creates a GeometryCoordinateSequenceTransformer. This basic transformer transforms the vertices and assumes that the underlying data structure is an array of Coordinate objects.<P><DD><DL></DL></DD></DL><HR><A NAME="createPreciseGeometryTransformer(double)"><!-- --></A><H3>createPreciseGeometryTransformer</H3><PRE>public static <A HREF="../../../org/geotools/geometry/jts/GeometryCoordinateSequenceTransformer.html" title="class in org.geotools.geometry.jts">GeometryCoordinateSequenceTransformer</A> <B>createPreciseGeometryTransformer</B>(double flatness)</PRE><DL><DD><B>Deprecated.</B> <DD>Creates a GeometryCoordinateSequenceTransformer. This transformer is more accurate than the basic geometry transformer. It assumes that the underlying data structure is an array of Coordinate objects.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>flatness</CODE> - The error in the transform is linked to the "flattening", the higher the flattening, the bigger the error, but also, the lesser the number of points that will be used to represent the resulting coordinate sequence.</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><B>Deprecated.</B> <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="preciseTransform(com.vividsolutions.jts.geom.Geometry, double, org.opengis.referencing.operation.MathTransform)"><!-- --></A><H3>preciseTransform</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>preciseTransform</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, double flatness, MathTransform transform) throws MismatchedDimensionException, TransformException</PRE><DL><DD><B>Deprecated.</B> <DD>Transforms the geometry using the Precise transformer.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>geom</CODE> - The geom to transform<DD><CODE>flatness</CODE> - the "flatness" of the new geometry. Higher is more accurate but has more vertices.<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><B>Deprecated.</B> <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> env, CoordinateReferenceSystem crs) throws OperationNotFoundException, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/NoSuchElementException.html" title="class or interface in java.util">NoSuchElementException</A>, FactoryException, TransformException</PRE><DL><DD><B>Deprecated.</B> <I>This method suffers from the same precision problem than <A HREF="../../../org/geotools/geometry/JTS.html#transform(com.vividsolutions.jts.geom.Envelope, org.opengis.referencing.operation.MathTransform)"><CODE>transform(Envelope,MathTransform)</CODE></A>. Consider using <A HREF="../../../org/geotools/geometry/jts/JTS.html#toGeographic(com.vividsolutions.jts.geom.Envelope, org.opengis.referencing.crs.CoordinateReferenceSystem)"><CODE>JTS.toGeographic(com.vividsolutions.jts.geom.Envelope, org.opengis.referencing.crs.CoordinateReferenceSystem)</CODE></A> instead.</I><P><DD>Transforms the envelope from its current crs to WGS84 coordinate system.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>env</CODE> - The envelope to transform.<DD><CODE>crs</CODE> - The CRS the envelope is currently in.<DT><B>Returns:</B><DD>The envelope transformed to be in WGS84 CRS.<DT><B>Throws:</B><DD><CODE>OperationNotFoundException</CODE><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/NoSuchElementException.html" title="class or interface in java.util">NoSuchElementException</A></CODE><DD><CODE>FactoryException</CODE><DD><CODE>TransformException</CODE></DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" 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_bottom_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/JTS.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/geometry/Geometry.html" title="class in org.geotools.geometry"><B>PREV CLASS</B></A> <A HREF="../../../org/geotools/geometry/JTS.ReferencedEnvelope.html" title="class in org.geotools.geometry"><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="JTS.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: <A HREF="#nested_class_summary">NESTED</A> | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR>Copyright © 1996-2007 <a href="http://www.geotools.org">Geotools</a>. All Rights Reserved.</BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -