Files
ViewDesignEngine/docs/api/html/bvh_8h.html
T
茂之钳 2f111edcd5
CI / Build & Test (push) Failing after 33s
CI / Release Build (push) Failing after 31s
Build & Test / build-and-test (push) Has been cancelled
Build & Test / python-bindings (push) Has been cancelled
docs: generated API documentation (483 pages)
2026-07-24 11:55:47 +00:00

174 lines
11 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>ViewDesignEngine: include/vde/spatial/bvh.h 文件参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">ViewDesignEngine
&#160;<span id="projectnumber">3.1.0</span>
</div>
<div id="projectbrief">高性能 CAD 计算几何引擎</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','搜索');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('bvh_8h.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="summary">
<a href="#nested-classes"></a> &#124;
<a href="#namespaces">命名空间</a> &#124;
<a href="#enum-members">枚举</a> </div>
<div class="headertitle">
<div class="title">bvh.h 文件参考<div class="ingroups"><a class="el" href="group__spatial.html">空间索引模块 (vde::spatial)</a></div></div> </div>
</div><!--header-->
<div class="contents">
<p>包围盒层次结构 (Bounding Volume Hierarchy)
<a href="#details">更多...</a></p>
<div class="textblock"><code>#include &lt;optional&gt;</code><br />
<code>#include &quot;<a class="el" href="spatial__index_8h_source.html">vde/spatial/spatial_index.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="aabb_8h_source.html">vde/core/aabb.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="triangle_8h_source.html">vde/core/triangle.h</a>&quot;</code><br />
</div><div class="textblock"><div class="dynheader">
bvh.h 的引用(Include)关系图:</div>
<div class="dyncontent">
<div class="center"><img src="bvh_8h__incl.png" border="0" usemap="#ainclude_2vde_2spatial_2bvh_8h" alt=""/></div>
<map name="ainclude_2vde_2spatial_2bvh_8h" id="ainclude_2vde_2spatial_2bvh_8h">
<area shape="rect" title="包围盒层次结构 (Bounding Volume Hierarchy)" alt="" coords="144,5,289,47"/>
<area shape="rect" title=" " alt="" coords="50,102,125,129"/>
<area shape="rect" href="spatial__index_8h.html" title="空间索引抽象基类" alt="" coords="200,95,343,136"/>
<area shape="rect" href="aabb_8h.html" title=" " alt="" coords="5,184,132,211"/>
<area shape="rect" href="triangle_8h.html" title=" " alt="" coords="453,184,597,211"/>
<area shape="rect" title=" " alt="" coords="249,423,312,449"/>
<area shape="rect" href="line_8h.html" title=" " alt="" coords="309,184,428,211"/>
<area shape="rect" title=" " alt="" coords="157,184,234,211"/>
<area shape="rect" href="point_8h.html" title=" " alt="" coords="344,259,471,285"/>
<area shape="rect" title=" " alt="" coords="99,423,158,449"/>
<area shape="rect" title=" " alt="" coords="106,259,191,285"/>
<area shape="rect" href="math__types_8h.html" title=" " alt="" coords="531,333,689,375"/>
<area shape="rect" href="tolerance_8h.html" title=" " alt="" coords="309,341,506,367"/>
<area shape="rect" title=" " alt="" coords="431,423,523,449"/>
<area shape="rect" title=" " alt="" coords="547,423,673,449"/>
<area shape="rect" title=" " alt="" coords="697,423,768,449"/>
<area shape="rect" title=" " alt="" coords="344,423,407,449"/>
<area shape="rect" title=" " alt="" coords="497,259,553,285"/>
</map>
</div>
</div>
<p><a href="bvh_8h_source.html">浏览源代码.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structvde_1_1spatial_1_1BVHBuildOptions.html">vde::spatial::BVHBuildOptions</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classvde_1_1spatial_1_1BVH.html" title="包围盒层次结构 — 三角形网格加速结构">BVH</a> 构建选项 <a href="structvde_1_1spatial_1_1BVHBuildOptions.html#details">更多...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvde_1_1spatial_1_1BVH.html">vde::spatial::BVH</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">包围盒层次结构 — 三角形网格加速结构 <a href="classvde_1_1spatial_1_1BVH.html#details">更多...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structvde_1_1spatial_1_1BVH_1_1HitResult.html">vde::spatial::BVH::HitResult</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">射线最近命中查询结果 <a href="structvde_1_1spatial_1_1BVH_1_1HitResult.html#details">更多...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
命名空间</h2></td></tr>
<tr class="memitem:namespacevde"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacevde.html">vde</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:namespacevde_1_1spatial"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacevde_1_1spatial.html">vde::spatial</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
枚举</h2></td></tr>
<tr class="memitem:a6deaf5da7638743215a4b4decc76f7ee"><td class="memItemLeft" align="right" valign="top">enum class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacevde_1_1spatial.html#a6deaf5da7638743215a4b4decc76f7ee">vde::spatial::BVHSplitStrategy</a> { <a class="el" href="namespacevde_1_1spatial.html#a6deaf5da7638743215a4b4decc76f7eeab1ca34f82e83c52b010f86955f264e05">vde::spatial::Middle</a>
, <a class="el" href="namespacevde_1_1spatial.html#a6deaf5da7638743215a4b4decc76f7eeaf5f286e73bda105e538310b3190f75c5">vde::spatial::Equal</a>
, <a class="el" href="namespacevde_1_1spatial.html#a6deaf5da7638743215a4b4decc76f7eea2c825725f1016edf12b60a8c3b9d8714">vde::spatial::SAH</a>
}</td></tr>
<tr class="memdesc:a6deaf5da7638743215a4b4decc76f7ee"><td class="mdescLeft">&#160;</td><td class="mdescRight">BVH 构建分裂策略 <a href="namespacevde_1_1spatial.html#a6deaf5da7638743215a4b4decc76f7ee">更多...</a><br /></td></tr>
<tr class="separator:a6deaf5da7638743215a4b4decc76f7ee"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>包围盒层次结构 (Bounding Volume Hierarchy) </p>
<p>基于二叉树的自适应空间划分结构,适用于三角形网格的快速 射线求交、范围查询与最近邻查询。</p>
<p>默认使用 SAH (Surface Area Heuristic) 启发式策略进行 自顶向下构建,在质量和构建时间之间取得较好平衡。 </p>
<p class="definition">在文件 <a class="el" href="bvh_8h_source.html">bvh.h</a> 中定义.</p>
</div></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_36dfe8171299c47a6036082559f11ede.html">vde</a></li><li class="navelem"><a class="el" href="dir_e152f56c51ece605f751581f25f04179.html">spatial</a></li><li class="navelem"><a class="el" href="bvh_8h.html">bvh.h</a></li>
<li class="footer">生成于 2026年 七月 24日 星期五 11:21:23 , 为 ViewDesignEngine使用 <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
</ul>
</div>
</body>
</html>