Files
ViewDesignEngine/docs/api/html/iges__import_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

207 lines
13 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!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/brep/iges_import.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('iges__import_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="#namespaces">命名空间</a> &#124;
<a href="#enum-members">枚举</a> &#124;
<a href="#func-members">函数</a> </div>
<div class="headertitle">
<div class="title">iges_import.h 文件参考<div class="ingroups"><a class="el" href="group__brep.html">B-Rep 模块 (vde::brep)</a></div></div> </div>
</div><!--header-->
<div class="contents">
<p>IGES 文件导入(ANSI Y14.26M
<a href="#details">更多...</a></p>
<div class="textblock"><code>#include &quot;<a class="el" href="brep_8h_source.html">vde/brep/brep.h</a>&quot;</code><br />
<code>#include &lt;string&gt;</code><br />
<code>#include &lt;vector&gt;</code><br />
</div><div class="textblock"><div class="dynheader">
iges_import.h 的引用(Include)关系图:</div>
<div class="dyncontent">
<div class="center"><img src="iges__import_8h__incl.png" border="0" usemap="#ainclude_2vde_2brep_2iges__import_8h" alt=""/></div>
<map name="ainclude_2vde_2brep_2iges__import_8h" id="ainclude_2vde_2brep_2iges__import_8h">
<area shape="rect" title="IGES 文件导入(ANSI Y14.26M" alt="" coords="1040,5,1201,47"/>
<area shape="rect" href="brep_8h.html" title="边界表示(B&#45;Rep)核心数据结构" alt="" coords="844,95,968,121"/>
<area shape="rect" title=" " alt="" coords="908,572,971,599"/>
<area shape="rect" title=" " alt="" coords="1091,169,1150,196"/>
<area shape="rect" href="point_8h.html" title=" " alt="" coords="455,408,581,435"/>
<area shape="rect" href="aabb_8h.html" title=" " alt="" coords="253,326,380,353"/>
<area shape="rect" href="nurbs__curve_8h.html" title=" " alt="" coords="839,244,1027,271"/>
<area shape="rect" href="nurbs__surface_8h.html" title=" " alt="" coords="643,169,843,196"/>
<area shape="rect" href="halfedge__mesh_8h.html" title=" " alt="" coords="430,244,633,271"/>
<area shape="rect" title=" " alt="" coords="867,169,945,196"/>
<area shape="rect" href="math__types_8h.html" title=" " alt="" coords="111,483,269,524"/>
<area shape="rect" href="tolerance_8h.html" title=" " alt="" coords="385,490,582,517"/>
<area shape="rect" title=" " alt="" coords="252,572,344,599"/>
<area shape="rect" title=" " alt="" coords="5,572,132,599"/>
<area shape="rect" title=" " alt="" coords="156,572,227,599"/>
<area shape="rect" title=" " alt="" coords="452,572,515,599"/>
<area shape="rect" title=" " alt="" coords="369,572,427,599"/>
<area shape="rect" title=" " alt="" coords="345,408,430,435"/>
<area shape="rect" href="bspline__curve_8h.html" title=" " alt="" coords="758,319,902,360"/>
<area shape="rect" title=" " alt="" coords="758,244,814,271"/>
<area shape="rect" title=" " alt="" coords="515,326,582,353"/>
</map>
</div>
</div>
<p><a href="iges__import_8h_source.html">浏览源代码.</a></p>
<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_1brep"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacevde_1_1brep.html">vde::brep</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:ae78c281601ce520b37270713c86de162"><td class="memItemLeft" align="right" valign="top">enum class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacevde_1_1brep.html#ae78c281601ce520b37270713c86de162">vde::brep::IgesError</a> { <br />
&#160;&#160;<a class="el" href="namespacevde_1_1brep.html#ae78c281601ce520b37270713c86de162aa60852f204ed8028c1c58808b746d115">vde::brep::Ok</a> = 0
, <a class="el" href="namespacevde_1_1brep.html#ae78c281601ce520b37270713c86de162a2767828026039e8ba7b38973cbb701f2">vde::brep::FileNotFound</a>
, <a class="el" href="namespacevde_1_1brep.html#ae78c281601ce520b37270713c86de162ae41199faa7290c167f70f314c5e6c165">vde::brep::ParseError</a>
, <a class="el" href="namespacevde_1_1brep.html#ae78c281601ce520b37270713c86de162af2969996ddc8f288de37705af060ae63">vde::brep::InvalidSection</a>
, <br />
&#160;&#160;<a class="el" href="namespacevde_1_1brep.html#ae78c281601ce520b37270713c86de162a63f4678302ac9c2a2b595eaa821d8e73">vde::brep::UnsupportedEntity</a>
, <a class="el" href="namespacevde_1_1brep.html#ae78c281601ce520b37270713c86de162abe1779400b67a7fef4fa5bf93ec5e18f">vde::brep::MissingEntity</a>
, <a class="el" href="namespacevde_1_1brep.html#ae78c281601ce520b37270713c86de162a764a35d8475730750db2c0eb069d2443">vde::brep::EntityTypeError</a>
<br />
}</td></tr>
<tr class="memdesc:ae78c281601ce520b37270713c86de162"><td class="mdescLeft">&#160;</td><td class="mdescRight">IGES 导入错误码 <a href="namespacevde_1_1brep.html#ae78c281601ce520b37270713c86de162">更多...</a><br /></td></tr>
<tr class="separator:ae78c281601ce520b37270713c86de162"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
函数</h2></td></tr>
<tr class="memitem:adee90de5426184584b215cea82bbd1ac"><td class="memItemLeft" align="right" valign="top">std::vector&lt; BrepModel &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacevde_1_1brep.html#adee90de5426184584b215cea82bbd1ac">vde::brep::import_iges</a> (const std::string &amp;filepath)</td></tr>
<tr class="memdesc:adee90de5426184584b215cea82bbd1ac"><td class="mdescLeft">&#160;</td><td class="mdescRight">从文件导入 IGES <a href="namespacevde_1_1brep.html#adee90de5426184584b215cea82bbd1ac">更多...</a><br /></td></tr>
<tr class="separator:adee90de5426184584b215cea82bbd1ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a97aa899788ec303a7e61e2d6edd08175"><td class="memItemLeft" align="right" valign="top">std::vector&lt; BrepModel &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacevde_1_1brep.html#a97aa899788ec303a7e61e2d6edd08175">vde::brep::import_iges_from_string</a> (const std::string &amp;data)</td></tr>
<tr class="memdesc:a97aa899788ec303a7e61e2d6edd08175"><td class="mdescLeft">&#160;</td><td class="mdescRight">从字符串导入 IGES(用于测试) <a href="namespacevde_1_1brep.html#a97aa899788ec303a7e61e2d6edd08175">更多...</a><br /></td></tr>
<tr class="separator:a97aa899788ec303a7e61e2d6edd08175"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a34d58f6db9bfb1bb8abf46bb94eafc6f"><td class="memItemLeft" align="right" valign="top">IgesError&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacevde_1_1brep.html#a34d58f6db9bfb1bb8abf46bb94eafc6f">vde::brep::iges_last_error</a> ()</td></tr>
<tr class="memdesc:a34d58f6db9bfb1bb8abf46bb94eafc6f"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取最近一次 IGES 导入的错误码 <a href="namespacevde_1_1brep.html#a34d58f6db9bfb1bb8abf46bb94eafc6f">更多...</a><br /></td></tr>
<tr class="separator:a34d58f6db9bfb1bb8abf46bb94eafc6f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3f7d19410534ba8e0e97f089fbbcb9f1"><td class="memItemLeft" align="right" valign="top">const std::string &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacevde_1_1brep.html#a3f7d19410534ba8e0e97f089fbbcb9f1">vde::brep::iges_last_error_message</a> ()</td></tr>
<tr class="memdesc:a3f7d19410534ba8e0e97f089fbbcb9f1"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取最近一次 IGES 导入的可读错误描述 <a href="namespacevde_1_1brep.html#a3f7d19410534ba8e0e97f089fbbcb9f1">更多...</a><br /></td></tr>
<tr class="separator:a3f7d19410534ba8e0e97f089fbbcb9f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>IGES 文件导入(ANSI Y14.26M </p>
<p>解析 IGES 格式文件(.igs / .iges)并转换为 B-Rep 模型。</p>
<h2><a class="anchor" id="autotoc_md12"></a>
IGES 格式概述</h2>
<p>IGES (Initial Graphics Exchange Specification) 是一种旧式但广泛使用的 CAD 数据交换格式。 采用 80 字符固定宽度记录格式,分为 5 个区域:</p>
<ul>
<li><b>S (Start)</b>: 自由格式注释</li>
<li><b>G (Global)</b>: 参数分隔符、单位、精度等全局设置</li>
<li><b>D (Directory)</b>: 实体目录(类型、线型、颜色等属性)</li>
<li><b>P (Parameter)</b>: 实体参数数据</li>
<li><b>T (Terminate)</b>: 文件结束标记</li>
</ul>
<h2><a class="anchor" id="autotoc_md13"></a>
支持的实体类型</h2>
<p>主要支持几何和拓扑实体:</p><ul>
<li>Type 100: Circular Arc</li>
<li>Type 110: Line</li>
<li>Type 116: Point</li>
<li>Type 126: Rational B-Spline Curve</li>
<li>Type 128: Rational B-Spline Surface</li>
<li>Type 108: Plane</li>
<li>Type 186: Manifold Solid B-Rep Object</li>
<li>Type 502/504/508/510/514: B-Rep 拓扑(顶点/边/环/面/壳) </li>
</ul>
<p class="definition">在文件 <a class="el" href="iges__import_8h_source.html">iges_import.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_205e212456d522bdac4a39ff7c3170ca.html">brep</a></li><li class="navelem"><a class="el" href="iges__import_8h.html">iges_import.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>