📄 plane.html
字号:
<var><strong>c</strong></var>+<var>cx</var>*<var>x</var>+<var>cy</var>*<var>y</var>.<P><DL></DL></DL><HR><A NAME="cx"><!-- --></A><H3>cx</H3><PRE>public double <B>cx</B></PRE><DL><DD>The <var>cx</var> coefficient for this plane. This coefficient appears in the place equation <var>c</var>+<var><strong>cx</strong></var>*<var>x</var>+<var>cy</var>*<var>y</var>.<P><DL></DL></DL><HR><A NAME="cy"><!-- --></A><H3>cy</H3><PRE>public double <B>cy</B></PRE><DL><DD>The <var>cy</var> coefficient for this plane. This coefficient appears in the place equation <var>c</var>+<var>cx</var>*<var>x</var>+<var><strong>cy</strong></var>*<var>y</var>.<P><DL></DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="Plane()"><!-- --></A><H3>Plane</H3><PRE>public <B>Plane</B>()</PRE><DL><DD>Construct a new plane. All coefficients are set to 0.<P></DL><!-- ============ 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="z(double, double)"><!-- --></A><H3>z</H3><PRE>public final double <B>z</B>(double x, double y)</PRE><DL><DD>Compute the <var>z</var> value for the specified (<var>x</var>,<var>y</var>) point. The <var>z</var> value is computed using the following equation: <blockquote><code> z(x,y) = c + cx*x + cy*y </code></blockquote><P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - The <var>x</var> value.<DD><CODE>y</CODE> - The <var>y</var> value.<DT><B>Returns:</B><DD>The <var>z</var> value.</DL></DD></DL><HR><A NAME="y(double, double)"><!-- --></A><H3>y</H3><PRE>public final double <B>y</B>(double x, double z)</PRE><DL><DD>Compute the <var>y</var> value for the specified (<var>x</var>,<var>z</var>) point. The <var>y</var> value is computed using the following equation: <blockquote><code> y(x,z) = (z - (c+cx*x)) / cy </code></blockquote><P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - The <var>x</var> value.<DD><CODE>z</CODE> - The <var>y</var> value.<DT><B>Returns:</B><DD>The <var>y</var> value.</DL></DD></DL><HR><A NAME="x(double, double)"><!-- --></A><H3>x</H3><PRE>public final double <B>x</B>(double y, double z)</PRE><DL><DD>Compute the <var>x</var> value for the specified (<var>y</var>,<var>z</var>) point. The <var>x</var> value is computed using the following equation: <blockquote><code> x(y,z) = (z - (c+cy*y)) / cx </code></blockquote><P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>y</CODE> - The <var>x</var> value.<DD><CODE>z</CODE> - The <var>y</var> value.<DT><B>Returns:</B><DD>The <var>x</var> value.</DL></DD></DL><HR><A NAME="setPlane(javax.vecmath.Point3d, javax.vecmath.Point3d, javax.vecmath.Point3d)"><!-- --></A><H3>setPlane</H3><PRE>public void <B>setPlane</B>(<A HREF="http://java.sun.com/products/java-media/3D/forDevelopers/j3dapi/javax/vecmath/Point3d.html" title="class or interface in javax.vecmath">Point3d</A> P1, <A HREF="http://java.sun.com/products/java-media/3D/forDevelopers/j3dapi/javax/vecmath/Point3d.html" title="class or interface in javax.vecmath">Point3d</A> P2, <A HREF="http://java.sun.com/products/java-media/3D/forDevelopers/j3dapi/javax/vecmath/Point3d.html" title="class or interface in javax.vecmath">Point3d</A> P3) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/ArithmeticException.html" title="class or interface in java.lang">ArithmeticException</A></PRE><DL><DD>Computes the plane's coefficients from the specified points. Three points are enough for determining exactly the plan, providing that the points are not colinear.<P><DD><DL></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/ArithmeticException.html" title="class or interface in java.lang">ArithmeticException</A></CODE> - If the three points are colinear.</DL></DD></DL><HR><A NAME="setPlane(double[], double[], double[])"><!-- --></A><H3>setPlane</H3><PRE>public void <B>setPlane</B>(double[] x, double[] y, double[] z) throws <A HREF="http://java.sun.com/products/java-media/3D/forDevelopers/j3dapi/javax/vecmath/MismatchedSizeException.html" title="class or interface in javax.vecmath">MismatchedSizeException</A></PRE><DL><DD>Compute the plane's coefficients from a set of points. This method use a linear regression in the least-square sense. Result is undertermined if all points are colinear.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - vector of <var>x</var> coordinates<DD><CODE>y</CODE> - vector of <var>y</var> coordinates<DD><CODE>z</CODE> - vector of <var>z</var> values<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/products/java-media/3D/forDevelopers/j3dapi/javax/vecmath/MismatchedSizeException.html" title="class or interface in javax.vecmath">MismatchedSizeException</A></CODE> - if <var>x</var>, <var>y</var> and <var>z</var> don't have the same length.</DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>toString</B>()</PRE><DL><DD>Returns a string representation of this plane. The string will contains the plane's equation, as below: <blockquote> <var>z</var>(<var>x</var>,<var>y</var>) = <A HREF="../../../org/geotools/math/Plane.html#c"><CODE>c</CODE></A> + <A HREF="../../../org/geotools/math/Plane.html#cx"><CODE>cx</CODE></A>*<var>x</var> + <A HREF="../../../org/geotools/math/Plane.html#cy"><CODE>cy</CODE></A>*<var>y</var> </blockquote><P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="equals(java.lang.Object)"><!-- --></A><H3>equals</H3><PRE>public boolean <B>equals</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)</PRE><DL><DD>Compare this plane with the specified object for equality.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="hashCode()"><!-- --></A><H3>hashCode</H3><PRE>public int <B>hashCode</B>()</PRE><DL><DD>Returns a hash code value for this plane.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="clone()"><!-- --></A><H3>clone</H3><PRE>public <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>clone</B>()</PRE><DL><DD>Returns a clone of this plane.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>clone</CODE> in interface <CODE>Cloneable</CODE></DL></DD><DD><DL></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/Plane.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/math/Line.html" title="class in org.geotools.math"><B>PREV CLASS</B></A> <A HREF="../../../org/geotools/math/Polynom.html" title="class in org.geotools.math"><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="Plane.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: NESTED | <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_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 + -