📄 point3d.html
字号:
<P><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="Point3d(double, double, double)"><!-- --></A><H3>Point3d</H3><PRE>public <B>Point3d</B>(double x, double y, double z)</PRE><DL><DD>Constructs and initializes a Point3d from the specified xyz coordinates.<P><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - the x coordinate<DD><CODE>y</CODE> - the y coordinate<DD><CODE>z</CODE> - the z coordinate</DL></DL><HR><A NAME="Point3d(double[])"><!-- --></A><H3>Point3d</H3><PRE>public <B>Point3d</B>(double[] p)</PRE><DL><DD>Constructs and initializes a Point3d from the array of length 3.<P><DL><DT><B>Parameters:</B><DD><CODE>p</CODE> - the array of length 3 containing xyz in order</DL></DL><HR><A NAME="Point3d(javax.vecmath.Point3d)"><!-- --></A><H3>Point3d</H3><PRE>public <B>Point3d</B>(<A HREF="../../javax/vecmath/Point3d.html" title="class in javax.vecmath">Point3d</A> p1)</PRE><DL><DD>Constructs and initializes a Point3d from the specified Point3d.<P><DL><DT><B>Parameters:</B><DD><CODE>p1</CODE> - the Point3d containing the initialization x y z data</DL></DL><HR><A NAME="Point3d(javax.vecmath.Point3f)"><!-- --></A><H3>Point3d</H3><PRE>public <B>Point3d</B>(<A HREF="../../javax/vecmath/Point3f.html" title="class in javax.vecmath">Point3f</A> p1)</PRE><DL><DD>Constructs and initializes a Point3d from the specified Point3f.<P><DL><DT><B>Parameters:</B><DD><CODE>p1</CODE> - the Point3f containing the initialization x y z data</DL></DL><HR><A NAME="Point3d(javax.vecmath.Tuple3f)"><!-- --></A><H3>Point3d</H3><PRE>public <B>Point3d</B>(<A HREF="../../javax/vecmath/Tuple3f.html" title="class in javax.vecmath">Tuple3f</A> t1)</PRE><DL><DD>Constructs and initializes a Point3d from the specified Tuple3f.<P><DL><DT><B>Parameters:</B><DD><CODE>t1</CODE> - the Tuple3f containing the initialization x y z data</DL></DL><HR><A NAME="Point3d(javax.vecmath.Tuple3d)"><!-- --></A><H3>Point3d</H3><PRE>public <B>Point3d</B>(<A HREF="../../javax/vecmath/Tuple3d.html" title="class in javax.vecmath">Tuple3d</A> t1)</PRE><DL><DD>Constructs and initializes a Point3d from the specified Tuple3d.<P><DL><DT><B>Parameters:</B><DD><CODE>t1</CODE> - the Tuple3d containing the initialization x y z data</DL></DL><HR><A NAME="Point3d()"><!-- --></A><H3>Point3d</H3><PRE>public <B>Point3d</B>()</PRE><DL><DD>Constructs and initializes a Point3d to (0,0,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"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Method Detail</B></FONT></TH></TR></TABLE><A NAME="distanceSquared(javax.vecmath.Point3d)"><!-- --></A><H3>distanceSquared</H3><PRE>public final double <B>distanceSquared</B>(<A HREF="../../javax/vecmath/Point3d.html" title="class in javax.vecmath">Point3d</A> p1)</PRE><DL><DD>Returns the square of the distance between this point and point p1.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>p1</CODE> - the other point<DT><B>Returns:</B><DD>the square of the distance</DL></DD></DL><HR><A NAME="distance(javax.vecmath.Point3d)"><!-- --></A><H3>distance</H3><PRE>public final double <B>distance</B>(<A HREF="../../javax/vecmath/Point3d.html" title="class in javax.vecmath">Point3d</A> p1)</PRE><DL><DD>Returns the distance between this point and point p1.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>p1</CODE> - the other point<DT><B>Returns:</B><DD>the distance</DL></DD></DL><HR><A NAME="distanceL1(javax.vecmath.Point3d)"><!-- --></A><H3>distanceL1</H3><PRE>public final double <B>distanceL1</B>(<A HREF="../../javax/vecmath/Point3d.html" title="class in javax.vecmath">Point3d</A> p1)</PRE><DL><DD>Computes the L-1 (Manhattan) distance between this point and point p1. The L-1 distance is equal to: abs(x1-x2) + abs(y1-y2) + abs(z1-z2).<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>p1</CODE> - the other point<DT><B>Returns:</B><DD>the L-1 distance</DL></DD></DL><HR><A NAME="distanceLinf(javax.vecmath.Point3d)"><!-- --></A><H3>distanceLinf</H3><PRE>public final double <B>distanceLinf</B>(<A HREF="../../javax/vecmath/Point3d.html" title="class in javax.vecmath">Point3d</A> p1)</PRE><DL><DD>Computes the L-infinite distance between this point and point p1. The L-infinite distance is equal to MAX[abs(x1-x2), abs(y1-y2), abs(z1-z2)].<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>p1</CODE> - the other point<DT><B>Returns:</B><DD>the L-infinite distance</DL></DD></DL><HR><A NAME="project(javax.vecmath.Point4d)"><!-- --></A><H3>project</H3><PRE>public final void <B>project</B>(<A HREF="../../javax/vecmath/Point4d.html" title="class in javax.vecmath">Point4d</A> p1)</PRE><DL><DD>Multiplies each of the x,y,z components of the Point4d parameter by 1/w and places the projected values into this point.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>p1</CODE> - the source Point4d, which is not modified</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=2 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="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="../../javax/vecmath/Point2i.html" title="class in javax.vecmath"><B>PREV CLASS</B></A> <A HREF="../../javax/vecmath/Point3f.html" title="class in javax.vecmath"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../index.html?javax/vecmath/Point3d.html" target="_top"><B>FRAMES</B></A> <A HREF="Point3d.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="#fields_inherited_from_class_javax.vecmath.Tuple3d">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: FIELD | <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><font size="-1">Copyright (c) 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to <a href="../../LICENSE-SPEC.html">license terms</a>.</BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -