projectivetransform.html

来自「Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理」· HTML 代码 · 共 917 行 · 第 1/4 页

HTML
917
字号
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!--NewPage--><HTML><HEAD><!-- Generated by javadoc (build 1.4.2_13) on Tue Jun 05 11:36:20 GMT-05:00 2007 --><META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><TITLE>ProjectiveTransform (Geotools 2.3.x 2.3.2 API)</TITLE><META NAME="keywords" CONTENT="org.geotools.referencing.operation.transform.ProjectiveTransform class"><META NAME="keywords" CONTENT="create()"><META NAME="keywords" CONTENT="createScale()"><META NAME="keywords" CONTENT="createTranslation()"><META NAME="keywords" CONTENT="createSelectMatrix()"><META NAME="keywords" CONTENT="getParameterDescriptors()"><META NAME="keywords" CONTENT="getParameterValues()"><META NAME="keywords" CONTENT="transform()"><META NAME="keywords" CONTENT="derivative()"><META NAME="keywords" CONTENT="getMatrix()"><META NAME="keywords" CONTENT="getSourceDimensions()"><META NAME="keywords" CONTENT="getTargetDimensions()"><META NAME="keywords" CONTENT="isIdentity()"><META NAME="keywords" CONTENT="inverse()"><META NAME="keywords" CONTENT="hashCode()"><META NAME="keywords" CONTENT="equals()"><LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style"><SCRIPT type="text/javascript">function windowTitle(){    parent.document.title="ProjectiveTransform (Geotools 2.3.x 2.3.2 API)";}</SCRIPT></HEAD><BODY BGCOLOR="white" onload="windowTitle();"><!-- ========= START OF TOP NAVBAR ======= --><A NAME="navbar_top"><!-- --></A><A HREF="#skip-navbar_top" 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_top_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/ProjectiveTransform.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/referencing/operation/transform/PassThroughTransform.html" title="class in org.geotools.referencing.operation.transform"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../../org/geotools/referencing/operation/transform/ProjectiveTransform.ProviderAffine.html" title="class in org.geotools.referencing.operation.transform"><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="ProjectiveTransform.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;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_top"></A><!-- ========= END OF TOP NAVBAR ========= --><HR><!-- ======== START OF CLASS DATA ======== --><H2><FONT SIZE="-1">org.geotools.referencing.operation.transform</FONT><BR>Class ProjectiveTransform</H2><PRE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>  <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><A HREF="../../../../../org/geotools/referencing/wkt/Formattable.html" title="class in org.geotools.referencing.wkt">Formattable</A>      <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><A HREF="../../../../../org/geotools/referencing/operation/transform/AbstractMathTransform.html" title="class in org.geotools.referencing.operation.transform">AbstractMathTransform</A>          <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><B>ProjectiveTransform</B></PRE><DL><DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../org/geotools/referencing/operation/LinearTransform.html" title="interface in org.geotools.referencing.operation">LinearTransform</A>, MathTransform, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/Serializable.html" title="class or interface in java.io">Serializable</A></DD></DL><DL><DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../../org/geotools/referencing/operation/transform/GeocentricTranslation.html" title="class in org.geotools.referencing.operation.transform">GeocentricTranslation</A></DD></DL><HR><DL><DT>public class <B>ProjectiveTransform</B><DT>extends <A HREF="../../../../../org/geotools/referencing/operation/transform/AbstractMathTransform.html" title="class in org.geotools.referencing.operation.transform">AbstractMathTransform</A><DT>implements <A HREF="../../../../../org/geotools/referencing/operation/LinearTransform.html" title="interface in org.geotools.referencing.operation">LinearTransform</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/Serializable.html" title="class or interface in java.io">Serializable</A></DL><P>A usually affine, or otherwise a projective transform. A projective transform is capable of mapping an arbitrary quadrilateral into another arbitrary quadrilateral, while preserving the straightness of lines. In the special case where the transform is affine, the parallelism of lines in the source is preserved in the output. <p> Such a coordinate transformation can be represented by a square <A HREF="../../../../../org/geotools/referencing/operation/matrix/GeneralMatrix.html" title="class in org.geotools.referencing.operation.matrix">matrix</A> of an arbitrary size. Point coordinates must have a dimension equals to <code>Matrix.getNumCol()-1</code>. For example, for square matrix of size 4&times;4, coordinate points are three-dimensional. The transformed points <code>(x',y',z')</code> are computed as below (note that this computation is similar to <A HREF="http://java.sun.com/products/java-media/jai/forDevelopers/jai-apidocs/javax/media/jai/PerspectiveTransform.html" title="class or interface in javax.media.jai"><CODE>PerspectiveTransform</CODE></A> in <cite>Java Advanced Imaging</cite>): <blockquote><pre> [ u ]     [ m<sub>00</sub>  m<sub>01</sub>  m<sub>02</sub>  m<sub>03</sub> ] [ x ] [ v ]  =  [ m<sub>10</sub>  m<sub>11</sub>  m<sub>12</sub>  m<sub>13</sub> ] [ y ] [ w ]     [ m<sub>20</sub>  m<sub>21</sub>  m<sub>22</sub>  m<sub>23</sub> ] [ z ] [ t ]     [ m<sub>30</sub>  m<sub>31</sub>  m<sub>32</sub>  m<sub>33</sub> ] [ 1 ]   x' = u/t   y' = v/t   y' = w/t </pre></blockquote> In the special case of an affine transform, the last row contains only zero values except in the last column, which contains 1.<P><P><DL><DT><B>Since:</B></DT>  <DD>2.0</DD><DT><B>Author:</B></DT>  <DD>Martin Desruisseaux, Simone Giannecchini</DD><DT><B>See Also:</B><DD><A HREF="http://java.sun.com/products/java-media/jai/forDevelopers/jai-apidocs/javax/media/jai/PerspectiveTransform.html" title="class or interface in javax.media.jai"><CODE>PerspectiveTransform</CODE></A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/AffineTransform.html" title="class or interface in java.awt.geom"><CODE>AffineTransform</CODE></A>, <A HREF="http://mathworld.wolfram.com/AffineTransformation.html">Affine transformation on MathWorld</A>, <A HREF="../../../../../serialized-form.html#org.geotools.referencing.operation.transform.ProjectiveTransform">Serialized Form</A><DT><B>Module:</B></DT><DD><CODE><B>module/referencing</B></CODE> &nbsp; (<A HREF="http://maven.geotools.fr/repository/org/geotools/gt2-referencing/"><CODE>gt2-referencing.jar</CODE></A>) (<A HREF="http://maven.geotools.fr/reports/referencing/index.html">Maven report</A>) (<A HREF="http://svn.geotools.org/geotools/tags/2.3.2/module/referencing/src/org/geotools/referencing/operation/transform/ProjectiveTransform.java">SVN head</A>)</DD></DL><HR><P><!-- ======== NESTED CLASS SUMMARY ======== --><A NAME="nested_class_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Nested Class Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;class</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/referencing/operation/transform/ProjectiveTransform.ProviderAffine.html" title="class in org.geotools.referencing.operation.transform">ProjectiveTransform.ProviderAffine</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The provider for the "<cite>Affine general parametric transformation</cite>" (EPSG 9624). </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;class</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/referencing/operation/transform/ProjectiveTransform.ProviderLongitudeRotation.html" title="class in org.geotools.referencing.operation.transform">ProjectiveTransform.ProviderLongitudeRotation</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The provider for the "<cite>Longitude rotation</cite>" (EPSG 9601).</TD></TR></TABLE>&nbsp;<A NAME="nested_classes_inherited_from_class_org.geotools.referencing.operation.transform.AbstractMathTransform"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Nested classes inherited from class <A HREF="../../../../../org/geotools/referencing/operation/transform/AbstractMathTransform.html" title="class in org.geotools.referencing.operation.transform">AbstractMathTransform</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../../org/geotools/referencing/operation/transform/AbstractMathTransform.Inverse.html" title="class in org.geotools.referencing.operation.transform">AbstractMathTransform.Inverse</A></CODE></TD></TR></TABLE>&nbsp;<!-- =========== FIELD SUMMARY =========== --><A NAME="field_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Field Summary</B></FONT></TD></TR></TABLE>&nbsp;<A NAME="fields_inherited_from_class_LinearTransform"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Fields inherited from interface <A HREF="../../../../../org/geotools/referencing/operation/LinearTransform.html" title="interface in org.geotools.referencing.operation">LinearTransform</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../../org/geotools/referencing/operation/LinearTransform.html#EPS">EPS</A></CODE></TD></TR></TABLE>&nbsp;<!-- ======== CONSTRUCTOR SUMMARY ======== --><A NAME="constructor_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Constructor Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected </CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/referencing/operation/transform/ProjectiveTransform.html#ProjectiveTransform(org.opengis.referencing.operation.Matrix)">ProjectiveTransform</A></B>(Matrix&nbsp;matrix)</CODE>

⌨️ 快捷键说明

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