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

📄 jts.html

📁 Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理信息系统。Geotools提供了OGC(Open Geospatial Consortium)规范的一个实现来作为他们的
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<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>&nbsp;envelope,                                               CoordinateReferenceSystem&nbsp;crs,                                               boolean&nbsp;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>&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><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>&nbsp;<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&nbsp;flatness)</PRE><DL><DD><B>Deprecated.</B>&nbsp;<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>&nbsp;geom,                                 MathTransform&nbsp;transform)                          throws MismatchedDimensionException,                                 TransformException</PRE><DL><DD><B>Deprecated.</B>&nbsp;<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>&nbsp;geom,                                        double&nbsp;flatness,                                        MathTransform&nbsp;transform)                                 throws MismatchedDimensionException,                                        TransformException</PRE><DL><DD><B>Deprecated.</B>&nbsp;<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>&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)                            throws TransformException</PRE><DL><DD><B>Deprecated.</B>&nbsp;<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>&nbsp;env,                                    CoordinateReferenceSystem&nbsp;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>&nbsp;<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>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/JTS.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../org/geotools/geometry/Geometry.html" title="class in org.geotools.geometry"><B>PREV CLASS</B></A>&nbsp;&nbsp;<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>  &nbsp;&nbsp;<A HREF="JTS.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<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:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR>Copyright &copy; 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 + -