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

📄 hypercube.html

📁 一个java实现的R树
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>

<A NAME="HyperCube(rtree.Point, rtree.Point)"><!-- --></A><H3>
HyperCube</H3>
<PRE>
public <B>HyperCube</B>(<A HREF="../rtree/Point.html">Point</A>&nbsp;p1,                 <A HREF="../rtree/Point.html">Point</A>&nbsp;p2)</PRE>
<DL>
</DL>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>

<A NAME="getDimension()"><!-- --></A><H3>
getDimension</H3>
<PRE>
public int <B>getDimension</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getP1()"><!-- --></A><H3>
getP1</H3>
<PRE>
public <A HREF="../rtree/Point.html">Point</A> <B>getP1</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getP2()"><!-- --></A><H3>
getP2</H3>
<PRE>
public <A HREF="../rtree/Point.html">Point</A> <B>getP2</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="equals(rtree.HyperCube)"><!-- --></A><H3>
equals</H3>
<PRE>
public boolean <B>equals</B>(<A HREF="../rtree/HyperCube.html">HyperCube</A>&nbsp;h)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="intersection(rtree.HyperCube)"><!-- --></A><H3>
intersection</H3>
<PRE>
public boolean <B>intersection</B>(<A HREF="../rtree/HyperCube.html">HyperCube</A>&nbsp;h)</PRE>
<DL>
<DD>Tests to see whether <B>h</B> has any common points with this HyperCube. If <B>h</B> is inside this object (or vice versa), it returns true.<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>True if <B>h</B> and this HyperCube intersect, false otherwise.</DL>
</DD>
</DL>
<HR>

<A NAME="enclosure(rtree.HyperCube)"><!-- --></A><H3>
enclosure</H3>
<PRE>
public boolean <B>enclosure</B>(<A HREF="../rtree/HyperCube.html">HyperCube</A>&nbsp;h)</PRE>
<DL>
<DD>Tests to see whether <B>h</B> is inside this HyperCube. If <B>h</B> is exactly the same shape as this object, it is considered to be inside.<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>True if <B>h</B> is inside, false otherwise.</DL>
</DD>
</DL>
<HR>

<A NAME="enclosure(rtree.Point)"><!-- --></A><H3>
enclosure</H3>
<PRE>
public boolean <B>enclosure</B>(<A HREF="../rtree/Point.html">Point</A>&nbsp;p)</PRE>
<DL>
<DD>Tests to see whether <B>p</B> is inside this HyperCube. If <B>p</B> lies on the boundary of the HyperCube, it is considered to be inside the object.<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>True if <B>p</B> is inside, false otherwise.</DL>
</DD>
</DL>
<HR>

<A NAME="intersectingArea(rtree.HyperCube)"><!-- --></A><H3>
intersectingArea</H3>
<PRE>
public float <B>intersectingArea</B>(<A HREF="../rtree/HyperCube.html">HyperCube</A>&nbsp;h)</PRE>
<DL>
<DD>Returns the area of the intersecting region between this HyperCube and the argument.  Below, all possible situations are depicted.     -------   -------      ---------   ---------      ------         ------    |2      | |2      |    |2        | |1        |    |2     |       |1     |  --|--     | |     --|--  | ------  | | ------  |  --|------|--   --|------|-- |1 |  |    | |    |1 |  | ||1     | | ||2     | | |1 |      |  | |2 |      |  |  --|--     | |     --|--  | ------  | | ------  |  --|------|--   --|------|--     -------   -------      ---------   ---------      ------         ------<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>h</CODE> - Given HyperCube.<DT><B>Returns:</B><DD>Area of intersecting region.</DL>
</DD>
</DL>
<HR>

<A NAME="getUnionMbb(rtree.HyperCube[])"><!-- --></A><H3>
getUnionMbb</H3>
<PRE>
public static <A HREF="../rtree/HyperCube.html">HyperCube</A> <B>getUnionMbb</B>(<A HREF="../rtree/HyperCube.html">HyperCube</A>[]&nbsp;a)</PRE>
<DL>
<DD>Static impementation. Takes an array of HyperCubes and calculates the mbb of their union.<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>a</CODE> - The array of HyperCubes.<DT><B>Returns:</B><DD>The mbb of their union.</DL>
</DD>
</DL>
<HR>

<A NAME="getUnionMbb(rtree.HyperCube)"><!-- --></A><H3>
getUnionMbb</H3>
<PRE>
public <A HREF="../rtree/HyperCube.html">HyperCube</A> <B>getUnionMbb</B>(<A HREF="../rtree/HyperCube.html">HyperCube</A>&nbsp;h)</PRE>
<DL>
<DD>Return a new HyperCube representing the mbb of the union of this HyperCube and <B>h</B><DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>h</CODE> - The HyperCube that we want to union with this HyperCube.<DT><B>Returns:</B><DD>A HyperCube representing the mbb of their union.</DL>
</DD>
</DL>
<HR>

<A NAME="getArea()"><!-- --></A><H3>
getArea</H3>
<PRE>
public float <B>getArea</B>()</PRE>
<DL>
<DD>Returns the area of this HyperCube.<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>The area as a float.</DL>
</DD>
</DL>
<HR>

<A NAME="getMinDist(rtree.Point)"><!-- --></A><H3>
getMinDist</H3>
<PRE>
public float <B>getMinDist</B>(<A HREF="../rtree/Point.html">Point</A>&nbsp;p)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="clone()"><!-- --></A><H3>
clone</H3>
<PRE>
public java.lang.Object <B>clone</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Overrides:</B><DD>clone in class java.lang.Object</DL>
</DD>
</DL>
<HR>

<A NAME="toString()"><!-- --></A><H3>
toString</H3>
<PRE>
public java.lang.String <B>toString</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Overrides:</B><DD>toString in class java.lang.Object</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>

<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/HyperCube.html"><FONT ID="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../overview-tree.html"><FONT ID="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../deprecated-list.html"><FONT ID="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../index-all.html"><FONT ID="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../help-doc.html"><FONT ID="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;<A HREF="../rtree/Data.html"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../rtree/Index.html"><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>  &nbsp;
&nbsp;<A HREF="HyperCube.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY: &nbsp;INNER&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>
<!-- =========== END OF NAVBAR =========== -->

<HR>

</BODY>
</HTML>

⌨️ 快捷键说明

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