lineartransform1d.html
来自「Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理」· HTML 代码 · 共 836 行 · 第 1/3 页
HTML
836 行
<!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>LinearTransform1D (Geotools 2.3.x 2.3.2 API)</TITLE><META NAME="keywords" CONTENT="org.geotools.referencing.operation.transform.LinearTransform1D class"><META NAME="keywords" CONTENT="IDENTITY"><META NAME="keywords" CONTENT="scale"><META NAME="keywords" CONTENT="offset"><META NAME="keywords" CONTENT="create()"><META NAME="keywords" CONTENT="getParameterDescriptors()"><META NAME="keywords" CONTENT="getParameterValues()"><META NAME="keywords" CONTENT="getSourceDimensions()"><META NAME="keywords" CONTENT="getTargetDimensions()"><META NAME="keywords" CONTENT="getMatrix()"><META NAME="keywords" CONTENT="inverse()"><META NAME="keywords" CONTENT="isIdentity()"><META NAME="keywords" CONTENT="derivative()"><META NAME="keywords" CONTENT="transform()"><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="LinearTransform1D (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> </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/LinearTransform1D.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/referencing/operation/transform/IdentityTransform.html" title="class in org.geotools.referencing.operation.transform"><B>PREV CLASS</B></A> <A HREF="../../../../../org/geotools/referencing/operation/transform/LocalizationGrid.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> <A HREF="LinearTransform1D.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_classes_inherited_from_class_org.geotools.referencing.operation.transform.AbstractMathTransform">NESTED</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <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 LinearTransform1D</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>LinearTransform1D</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, MathTransform1D, <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><HR><DL><DT>public class <B>LinearTransform1D</B><DT>extends <A HREF="../../../../../org/geotools/referencing/operation/transform/AbstractMathTransform.html" title="class in org.geotools.referencing.operation.transform">AbstractMathTransform</A><DT>implements MathTransform1D, <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 one dimensional, linear transform. Input values <var>x</var> are converted into output values <var>y</var> using the following equation: <p align="center"><var>y</var> = <A HREF="../../../../../org/geotools/referencing/operation/transform/LinearTransform1D.html#offset">offset</A> + <A HREF="../../../../../org/geotools/referencing/operation/transform/LinearTransform1D.html#scale">scale</A>×<var>x</var></p> This class is the same as a 2×2 affine transform. However, this specialized class is faster. It is defined there because extensively used by <A HREF="../../../../../org/geotools/coverage/grid/GridCoverage2D.html" title="class in org.geotools.coverage.grid"><CODE>GridCoverage2D</CODE></A>.<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="../../../../../org/geotools/referencing/operation/transform/LogarithmicTransform1D.html" title="class in org.geotools.referencing.operation.transform"><CODE>LogarithmicTransform1D</CODE></A>, <A HREF="../../../../../org/geotools/referencing/operation/transform/ExponentialTransform1D.html" title="class in org.geotools.referencing.operation.transform"><CODE>ExponentialTransform1D</CODE></A>, <A HREF="../../../../../serialized-form.html#org.geotools.referencing.operation.transform.LinearTransform1D">Serialized Form</A><DT><B>Module:</B></DT><DD><CODE><B>module/referencing</B></CODE> (<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/LinearTransform1D.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></TABLE> <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> <!-- =========== 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><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../../../org/geotools/referencing/operation/transform/LinearTransform1D.html" title="class in org.geotools.referencing.operation.transform">LinearTransform1D</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/referencing/operation/transform/LinearTransform1D.html#IDENTITY">IDENTITY</A></B></CODE><BR> The identity transform.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> double</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/referencing/operation/transform/LinearTransform1D.html#offset">offset</A></B></CODE><BR> The value to add to input values.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> double</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/referencing/operation/transform/LinearTransform1D.html#scale">scale</A></B></CODE><BR> The value which is multiplied to input values.</TD></TR></TABLE> <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> <!-- ======== 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/LinearTransform1D.html#LinearTransform1D(double, double)">LinearTransform1D</A></B>(double scale, double offset)</CODE><BR> Constructs a new linear transform. </TD></TR></TABLE> <!-- ========== METHOD SUMMARY =========== --><A NAME="method_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Method Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../../../org/geotools/referencing/operation/transform/LinearTransform1D.html" title="class in org.geotools.referencing.operation.transform">LinearTransform1D</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/referencing/operation/transform/LinearTransform1D.html#create(double, double)">create</A></B>(double scale, double offset)</CODE><BR> Constructs a new linear transform.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> Matrix</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/referencing/operation/transform/LinearTransform1D.html#derivative(org.opengis.spatialschema.geometry.DirectPosition)">derivative</A></B>(DirectPosition point)</CODE><BR> Gets the derivative of this transform at a point. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> double</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/referencing/operation/transform/LinearTransform1D.html#derivative(double)">derivative</A></B>(double value)</CODE><BR> Gets the derivative of this function at a value.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/referencing/operation/transform/LinearTransform1D.html#equals(java.lang.Object)">equals</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> object)</CODE><BR> Compares the specified object with this math transform for equality.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> Matrix</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/referencing/operation/transform/LinearTransform1D.html#getMatrix()">getMatrix</A></B>()</CODE><BR> Returns this transform as an affine transform matrix.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> ParameterDescriptorGroup</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/referencing/operation/transform/LinearTransform1D.html#getParameterDescriptors()">getParameterDescriptors</A></B>()</CODE><BR>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?