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

📄 intersect.html

📁 JAVA多媒体开发类库说明
💻 HTML
📖 第 1 页 / 共 4 页
字号:
<DT><B>Returns:</B><DD><code>true</code> if the PickPoint and Point3d objects  intersect, <code>false</code> if the do not intersect.</DL></DD></DL><HR><A NAME="pointAndPoint(javax.media.j3d.PickPoint, javax.vecmath.Point3f)"><!-- --></A><H3>pointAndPoint</H3><PRE>public static boolean <B>pointAndPoint</B>(<A HREF="../../../../../../javax/media/j3d/PickPoint.html" title="class in javax.media.j3d">PickPoint</A>&nbsp;point,                                    <A HREF="../../../../../../javax/vecmath/Point3f.html" title="class in javax.vecmath">Point3f</A>&nbsp;pnt)</PRE><DL><DD><B>Deprecated.</B>&nbsp;<DD>Return true if pnt intersects with point.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>point</CODE> - The point that is used in intersection test.<DD><CODE>pnt</CODE> - The point that is used in intersection test.<DT><B>Returns:</B><DD>true if point intersects pnt, else return false.</DL></DD></DL><HR><A NAME="rayAndLine(javax.media.j3d.PickRay, javax.vecmath.Point3d[], int, double[])"><!-- --></A><H3>rayAndLine</H3><PRE>public static boolean <B>rayAndLine</B>(<A HREF="../../../../../../javax/media/j3d/PickRay.html" title="class in javax.media.j3d">PickRay</A>&nbsp;ray,                                 <A HREF="../../../../../../javax/vecmath/Point3d.html" title="class in javax.vecmath">Point3d</A>[]&nbsp;coordinates,                                 int&nbsp;index,                                 double[]&nbsp;dist)</PRE><DL><DD><B>Deprecated.</B>&nbsp;<DD>Determines if the <code>PickRay</code> and Line objects intersect.   The line is defined as <code>coordinates[index]</code> to <code>coordinates[index+1]</code>.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>ray</CODE> - The ray that is used in the intersection test.<DD><CODE>coordinates</CODE> - An array holding the line data.<DD><CODE>dist</CODE> - On return dist[0] contains the distance between ray's origin and the point of intersection, if it exists. The dist array should be allocated by the user.<DT><B>Returns:</B><DD><code>true</code> if the ray intersects the line,  <code>false</code> if the ray does not intersect the object.</DL></DD></DL><HR><A NAME="rayAndLine(javax.media.j3d.PickRay, javax.vecmath.Point3f[], int, double[])"><!-- --></A><H3>rayAndLine</H3><PRE>public static boolean <B>rayAndLine</B>(<A HREF="../../../../../../javax/media/j3d/PickRay.html" title="class in javax.media.j3d">PickRay</A>&nbsp;ray,                                 <A HREF="../../../../../../javax/vecmath/Point3f.html" title="class in javax.vecmath">Point3f</A>[]&nbsp;coordinates,                                 int&nbsp;index,                                 double[]&nbsp;dist)</PRE><DL><DD><B>Deprecated.</B>&nbsp;<DD>Return true if line intersects with ray and the distance, from the origin of ray to the intersection point, is stored in dist[0]. The line is defined by coordinates[index] to coordinates[index+1]<P><DD><DL><DT><B>Parameters:</B><DD><CODE>ray</CODE> - The ray that is used in intersection test.<DD><CODE>coordinates</CODE> - an array of vertices.<DD><CODE>index</CODE> - the vertex index<DD><CODE>dist</CODE> - On return dist[0] contains the distance between ray's origin and the point intersection, if exist.<DT><B>Returns:</B><DD>true if ray intersects line, else return false.</DL></DD></DL><HR><A NAME="segmentAndLine(javax.media.j3d.PickSegment, javax.vecmath.Point3d[], int, double[])"><!-- --></A><H3>segmentAndLine</H3><PRE>public static boolean <B>segmentAndLine</B>(<A HREF="../../../../../../javax/media/j3d/PickSegment.html" title="class in javax.media.j3d">PickSegment</A>&nbsp;segment,                                     <A HREF="../../../../../../javax/vecmath/Point3d.html" title="class in javax.vecmath">Point3d</A>[]&nbsp;coordinates,                                     int&nbsp;index,                                     double[]&nbsp;dist)</PRE><DL><DD><B>Deprecated.</B>&nbsp;<DD>Determines if the <code>PickSegment</code> and Line objects intersect. The line is defined as <code>coordinates[index]</code> to <code>coordinates[index+1]</code>.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>segment</CODE> - The segment that is used in the intersection test.<DD><CODE>coordinates</CODE> - An array holding the line data.<DD><CODE>dist</CODE> - On return dist[0] contains the distance between segment's origin and the point of intersection, if it exists. The dist array should be allocated by the user.<DT><B>Returns:</B><DD><code>true</code> if the segment intersects the line,  <code>false</code> if the segment does not intersect the object.</DL></DD></DL><HR><A NAME="segmentAndLine(javax.media.j3d.PickSegment, javax.vecmath.Point3f[], int, double[])"><!-- --></A><H3>segmentAndLine</H3><PRE>public static boolean <B>segmentAndLine</B>(<A HREF="../../../../../../javax/media/j3d/PickSegment.html" title="class in javax.media.j3d">PickSegment</A>&nbsp;segment,                                     <A HREF="../../../../../../javax/vecmath/Point3f.html" title="class in javax.vecmath">Point3f</A>[]&nbsp;coordinates,                                     int&nbsp;index,                                     double[]&nbsp;dist)</PRE><DL><DD><B>Deprecated.</B>&nbsp;<DD>Return true if line intersects with segment and the distance, from the start of segment to the intersection point, is stored in dist[0]. The line is defined by coordinates[index] to coordinates[index+1]<P><DD><DL><DT><B>Parameters:</B><DD><CODE>segment</CODE> - The segment that is used in intersection test.<DD><CODE>coordinates</CODE> - an array of vertices.<DD><CODE>index</CODE> - the vertex index<DD><CODE>dist</CODE> - On return dist[0] contains the distance between segment's start and the point  intersection, if exist.<DT><B>Returns:</B><DD>true if segment intersects line, else return false.</DL></DD></DL><HR><A NAME="pointAndLine(javax.media.j3d.PickPoint, javax.vecmath.Point3d[], int)"><!-- --></A><H3>pointAndLine</H3><PRE>public static boolean <B>pointAndLine</B>(<A HREF="../../../../../../javax/media/j3d/PickPoint.html" title="class in javax.media.j3d">PickPoint</A>&nbsp;point,                                   <A HREF="../../../../../../javax/vecmath/Point3d.html" title="class in javax.vecmath">Point3d</A>[]&nbsp;coordinates,                                   int&nbsp;index)</PRE><DL><DD><B>Deprecated.</B>&nbsp;<DD>Determines if the <code>PickPoint</code> and Line objects intersect. The line is defined as <code>coordinates[index]</code> to <code>coordinates[index+1]</code>.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>point</CODE> - The point that is used in the intersection test.<DD><CODE>coordinates</CODE> - An array holding the line data.<DT><B>Returns:</B><DD><code>true</code> if the the point intersects the line,  <code>false</code> if the the point does not intersect the object.</DL></DD></DL><HR><A NAME="pointAndLine(javax.media.j3d.PickPoint, javax.vecmath.Point3f[], int)"><!-- --></A><H3>pointAndLine</H3><PRE>public static boolean <B>pointAndLine</B>(<A HREF="../../../../../../javax/media/j3d/PickPoint.html" title="class in javax.media.j3d">PickPoint</A>&nbsp;point,                                   <A HREF="../../../../../../javax/vecmath/Point3f.html" title="class in javax.vecmath">Point3f</A>[]&nbsp;coordinates,                                   int&nbsp;index)</PRE><DL><DD><B>Deprecated.</B>&nbsp;<DD>Return true if line intersects with point. The line is defined by coordinates[index] to coordinates[index+1]<P><DD><DL><DT><B>Parameters:</B><DD><CODE>point</CODE> - The point that is used in intersection test.<DD><CODE>coordinates</CODE> - an array of vertices.<DD><CODE>index</CODE> - the vertex index<DT><B>Returns:</B><DD>true if point intersects line, else return false.</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>&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="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;PREV CLASS&nbsp;&nbsp;<A HREF="../../../../../../com/sun/j3d/utils/behaviors/picking/PickingCallback.html" title="interface in com.sun.j3d.utils.behaviors.picking"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../../../../index.html?com/sun/j3d/utils/behaviors/picking/Intersect.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="Intersect.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;NESTED&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_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 + -