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

📄 intersect.html

📁 JAVA多媒体开发类库说明
💻 HTML
📖 第 1 页 / 共 4 页
字号:
            <A HREF="../../../../../../javax/vecmath/Point3f.html" title="class in javax.vecmath">Point3f</A>&nbsp;pnt,            double[]&nbsp;dist)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Return true if point intersects with ray and the distance, from the origin of ray to the intersection point, is stored in dist[0].</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../com/sun/j3d/utils/behaviors/picking/Intersect.html#rayAndQuad(javax.media.j3d.PickRay, javax.vecmath.Point3d[], int, double[])">rayAndQuad</A></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)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Determines if the <code>PickRay</code> and quadrilateral objects intersect.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../com/sun/j3d/utils/behaviors/picking/Intersect.html#rayAndTriangle(javax.media.j3d.PickRay, javax.vecmath.Point3d[], int, double[])">rayAndTriangle</A></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)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Return true if triangle intersects with ray and the distance, from the origin of ray to the intersection point, is stored in dist[0].</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../com/sun/j3d/utils/behaviors/picking/Intersect.html#rayAndTriangle(javax.media.j3d.PickRay, javax.vecmath.Point3f[], int, double[])">rayAndTriangle</A></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)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Return true if triangle intersects with ray and the distance, from the origin of ray to the intersection point, is stored in dist[0].</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../com/sun/j3d/utils/behaviors/picking/Intersect.html#segmentAndLine(javax.media.j3d.PickSegment, javax.vecmath.Point3d[], int, double[])">segmentAndLine</A></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)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Determines if the <code>PickSegment</code> and Line objects intersect.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../com/sun/j3d/utils/behaviors/picking/Intersect.html#segmentAndLine(javax.media.j3d.PickSegment, javax.vecmath.Point3f[], int, double[])">segmentAndLine</A></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)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Return true if line intersects with segment and the distance, from the start of segment to the intersection point, is stored in dist[0].</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../com/sun/j3d/utils/behaviors/picking/Intersect.html#segmentAndPoint(javax.media.j3d.PickSegment, javax.vecmath.Point3d, double[])">segmentAndPoint</A></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;pnt,                double[]&nbsp;dist)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Determines if the <code>PickSegment</code> and <code>Point3d</code> objects intersect.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../com/sun/j3d/utils/behaviors/picking/Intersect.html#segmentAndPoint(javax.media.j3d.PickSegment, javax.vecmath.Point3f, double[])">segmentAndPoint</A></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;pnt,                double[]&nbsp;dist)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Return true if point intersects with segment and the distance, from the start of segment to the intersection point, is stored in dist[0].</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../com/sun/j3d/utils/behaviors/picking/Intersect.html#segmentAndQuad(javax.media.j3d.PickSegment, javax.vecmath.Point3d[], int, double[])">segmentAndQuad</A></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)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Caluates the intersection between a <code>PickSegment</code> object and a quadrilateral.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../com/sun/j3d/utils/behaviors/picking/Intersect.html#segmentAndQuad(javax.media.j3d.PickSegment, javax.vecmath.Point3f[], int, double[])">segmentAndQuad</A></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)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Return true if quad intersects with segment and the distance, from the start of segment to the intersection point, is stored in dist[0].</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../com/sun/j3d/utils/behaviors/picking/Intersect.html#segmentAndTriangle(javax.media.j3d.PickSegment, javax.vecmath.Point3d[], int, double[])">segmentAndTriangle</A></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)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Caluates the intersection between a <code>PickSegment</code> object and a triangle.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../com/sun/j3d/utils/behaviors/picking/Intersect.html#segmentAndTriangle(javax.media.j3d.PickSegment, javax.vecmath.Point3f[], int, double[])">segmentAndTriangle</A></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)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Return true if triangle intersects with segment and the distance, from the start of segment to the intersection point, is stored in dist[0].</TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD></TR></TABLE>&nbsp;<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="Intersect()"><!-- --></A><H3>Intersect</H3><PRE>public <B>Intersect</B>()</PRE><DL><DD><B>Deprecated.</B>&nbsp;</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="rayAndQuad(javax.media.j3d.PickRay, javax.vecmath.Point3d[], int, double[])"><!-- --></A><H3>rayAndQuad</H3><PRE>public static boolean <B>rayAndQuad</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 quadrilateral objects intersect. The quadrilateral is defined as <code>coordinates[index]</code> to <code>coordinates[index+3]</code>.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>ray</CODE> - The ray to use in the intersection test.<DD><CODE>coordinates</CODE> - An array holding the quadrilateral data.<DD><CODE>index</CODE> - An array index that designates the starting position  in the array of the quadrilateral to test.<DD><CODE>dist</CODE> - On return dist[0] will be set to 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 quad,  <code>false</code> if the ray does not intersect the object.</DL></DD></DL><HR><A NAME="rayAndTriangle(javax.media.j3d.PickRay, javax.vecmath.Point3d[], int, double[])"><!-- --></A><H3>rayAndTriangle</H3><PRE>public static boolean <B>rayAndTriangle</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>

⌨️ 快捷键说明

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