mirror of
https://github.com/mcneel/opennurbs.git
synced 2026-04-19 21:06:01 +08:00
189 lines
13 KiB
HTML
189 lines
13 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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.8.14"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>openNURBS SDK Help: ON_MeshTopologyFace Struct Reference</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="../../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">openNURBS SDK Help
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.14 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
|
/* @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&dn=gpl-2.0.txt GPL-v2 */
|
|
$(function() {
|
|
initMenu('../../',true,false,'search.php','Search');
|
|
$(document).ready(function() { init_search(); });
|
|
});
|
|
/* @license-end */</script>
|
|
<div id="main-nav"></div>
|
|
<!-- 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><!-- top -->
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#pub-methods">Public Member Functions</a> |
|
|
<a href="#pub-attribs">Public Attributes</a> |
|
|
<a href="../../d0/dd3/struct_o_n___mesh_topology_face-members.html">List of all members</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">ON_MeshTopologyFace Struct Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p><code>#include <<a class="el" href="../../db/df7/opennurbs__mesh_8h_source.html">opennurbs_mesh.h</a>></code></p>
|
|
<table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
|
|
Public Member Functions</h2></td></tr>
|
|
<tr class="memitem:aa834a81c6136b8f6aef2d051661668e4"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/dd9/struct_o_n___mesh_topology_face.html#aa834a81c6136b8f6aef2d051661668e4">IsQuad</a> () const</td></tr>
|
|
<tr class="separator:aa834a81c6136b8f6aef2d051661668e4"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ad9870f25d99e68b97a4d80665197a827"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/dd9/struct_o_n___mesh_topology_face.html#ad9870f25d99e68b97a4d80665197a827">IsTriangle</a> () const</td></tr>
|
|
<tr class="separator:ad9870f25d99e68b97a4d80665197a827"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab79f89c92864173d3645558b0ee48eca"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/dd9/struct_o_n___mesh_topology_face.html#ab79f89c92864173d3645558b0ee48eca">IsValid</a> () const</td></tr>
|
|
<tr class="separator:ab79f89c92864173d3645558b0ee48eca"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
|
|
Public Attributes</h2></td></tr>
|
|
<tr class="memitem:a5ec879869d159cb3df486335da0b49ab"><td class="memItemLeft" align="right" valign="top">char </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/dd9/struct_o_n___mesh_topology_face.html#a5ec879869d159cb3df486335da0b49ab">m_reve</a> [4]</td></tr>
|
|
<tr class="separator:a5ec879869d159cb3df486335da0b49ab"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ac8e608bdba3fec88c18c57b9a8a65e62"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/dd9/struct_o_n___mesh_topology_face.html#ac8e608bdba3fec88c18c57b9a8a65e62">m_topei</a> [4]</td></tr>
|
|
<tr class="separator:ac8e608bdba3fec88c18c57b9a8a65e62"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<h2 class="groupheader">Member Function Documentation</h2>
|
|
<a id="aa834a81c6136b8f6aef2d051661668e4"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aa834a81c6136b8f6aef2d051661668e4">◆ </a></span>IsQuad()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool ON_MeshTopologyFace::IsQuad </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Description: A topological mesh face is a valid quad if m_topei[0], m_topei[1], m_topei[2], and m_topei[3] are distinct edges. Returns: True if face is a quad. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ad9870f25d99e68b97a4d80665197a827"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ad9870f25d99e68b97a4d80665197a827">◆ </a></span>IsTriangle()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool ON_MeshTopologyFace::IsTriangle </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Description: A topological mesh face is a valid triangle if m_topei[0], m_topei[1], m_topei[2] are distinct edges and m_topei[3]=m_topei[2]. Returns: True if face is a triangle. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ab79f89c92864173d3645558b0ee48eca"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ab79f89c92864173d3645558b0ee48eca">◆ </a></span>IsValid()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool ON_MeshTopologyFace::IsValid </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Description: A topological mesh face is valid if m_topei[0], m_topei[1], and m_topei[2] are mutually distinct, and m_topei[3] is either equal to m_topei[2] or mutually distinct from the first three indices. Returns: True if face is valid. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Member Data Documentation</h2>
|
|
<a id="a5ec879869d159cb3df486335da0b49ab"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a5ec879869d159cb3df486335da0b49ab">◆ </a></span>m_reve</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">char ON_MeshTopologyFace::m_reve[4]</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>If m_reve[i] is 0, then the orientation of the edge matches the orientation of the face. If m_reve[i] is 1, then the orientation of the edge is opposite that of the face. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ac8e608bdba3fec88c18c57b9a8a65e62"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ac8e608bdba3fec88c18c57b9a8a65e62">◆ </a></span>m_topei</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int ON_MeshTopologyFace::m_topei[4]</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>m_topei[] = indices of the topological edges that bound the face. If m_topei[2] = m_topei[3], then the face is a triangle, otherwise the face is a quad.</p>
|
|
<p>NOTE WELL: The topological edge with index m_topei[k] ENDS at the vertex corresponding to <a class="el" href="../../de/d91/class_o_n___mesh_face.html#a48215097327f42857c4761bebb6252e1" title="vertex index - vi[2]==vi[3] for tirangles ">ON_MeshFace.vi</a>[k]. So, ...</p>
|
|
<p>If the face is a quad, (<a class="el" href="../../de/d91/class_o_n___mesh_face.html#a48215097327f42857c4761bebb6252e1" title="vertex index - vi[2]==vi[3] for tirangles ">ON_MeshFace.vi</a>[2]!=<a class="el" href="../../de/d91/class_o_n___mesh_face.html#a48215097327f42857c4761bebb6252e1" title="vertex index - vi[2]==vi[3] for tirangles ">ON_MeshFace.vi</a>[3]), the topological edge with index m_topei[0] STARTS at <a class="el" href="../../de/d91/class_o_n___mesh_face.html#a48215097327f42857c4761bebb6252e1" title="vertex index - vi[2]==vi[3] for tirangles ">ON_MeshFace.vi</a>[3] and ENDS at <a class="el" href="../../de/d91/class_o_n___mesh_face.html#a48215097327f42857c4761bebb6252e1" title="vertex index - vi[2]==vi[3] for tirangles ">ON_MeshFace.vi</a>[0], the topological edge with index m_topei[1] STARTS at <a class="el" href="../../de/d91/class_o_n___mesh_face.html#a48215097327f42857c4761bebb6252e1" title="vertex index - vi[2]==vi[3] for tirangles ">ON_MeshFace.vi</a>[0] and ENDS at <a class="el" href="../../de/d91/class_o_n___mesh_face.html#a48215097327f42857c4761bebb6252e1" title="vertex index - vi[2]==vi[3] for tirangles ">ON_MeshFace.vi</a>[1], the topological edge with index m_topei[2] STARTS at <a class="el" href="../../de/d91/class_o_n___mesh_face.html#a48215097327f42857c4761bebb6252e1" title="vertex index - vi[2]==vi[3] for tirangles ">ON_MeshFace.vi</a>[1] and ENDS at <a class="el" href="../../de/d91/class_o_n___mesh_face.html#a48215097327f42857c4761bebb6252e1" title="vertex index - vi[2]==vi[3] for tirangles ">ON_MeshFace.vi</a>[2], and the topological edge with index m_topei[3] STARTS at <a class="el" href="../../de/d91/class_o_n___mesh_face.html#a48215097327f42857c4761bebb6252e1" title="vertex index - vi[2]==vi[3] for tirangles ">ON_MeshFace.vi</a>[2] and ENDS at <a class="el" href="../../de/d91/class_o_n___mesh_face.html#a48215097327f42857c4761bebb6252e1" title="vertex index - vi[2]==vi[3] for tirangles ">ON_MeshFace.vi</a>[3],</p>
|
|
<p>If the face is a triangle, (<a class="el" href="../../de/d91/class_o_n___mesh_face.html#a48215097327f42857c4761bebb6252e1" title="vertex index - vi[2]==vi[3] for tirangles ">ON_MeshFace.vi</a>[2]==<a class="el" href="../../de/d91/class_o_n___mesh_face.html#a48215097327f42857c4761bebb6252e1" title="vertex index - vi[2]==vi[3] for tirangles ">ON_MeshFace.vi</a>[3]), the topological edge with index m_topei[0] STARTS at <a class="el" href="../../de/d91/class_o_n___mesh_face.html#a48215097327f42857c4761bebb6252e1" title="vertex index - vi[2]==vi[3] for tirangles ">ON_MeshFace.vi</a>[2] and ENDS at <a class="el" href="../../de/d91/class_o_n___mesh_face.html#a48215097327f42857c4761bebb6252e1" title="vertex index - vi[2]==vi[3] for tirangles ">ON_MeshFace.vi</a>[0], the topological edge with index m_topei[1] STARTS at <a class="el" href="../../de/d91/class_o_n___mesh_face.html#a48215097327f42857c4761bebb6252e1" title="vertex index - vi[2]==vi[3] for tirangles ">ON_MeshFace.vi</a>[0] and ENDS at <a class="el" href="../../de/d91/class_o_n___mesh_face.html#a48215097327f42857c4761bebb6252e1" title="vertex index - vi[2]==vi[3] for tirangles ">ON_MeshFace.vi</a>[1], the topological edge with index m_topei[2] STARTS at <a class="el" href="../../de/d91/class_o_n___mesh_face.html#a48215097327f42857c4761bebb6252e1" title="vertex index - vi[2]==vi[3] for tirangles ">ON_MeshFace.vi</a>[1] and ENDS at <a class="el" href="../../de/d91/class_o_n___mesh_face.html#a48215097327f42857c4761bebb6252e1" title="vertex index - vi[2]==vi[3] for tirangles ">ON_MeshFace.vi</a>[2]. </p>
|
|
|
|
</div>
|
|
</div>
|
|
</div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated on Fri Jan 26 2018 12:38:22 for openNURBS SDK Help by  <a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
|
</a> 1.8.14
|
|
</small></address>
|
|
</body>
|
|
</html>
|