mirror of
https://github.com/mcneel/opennurbs.git
synced 2026-03-30 15:36:52 +08:00
400 lines
29 KiB
HTML
400 lines
29 KiB
HTML
<!-- HTML header for doxygen 1.8.13-->
|
|
<!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.13"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>openNURBS SDK Help: ON_ComponentAttributes Class Reference</title>
|
|
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
|
<!-- <script type="text/javascript" src="../../jquery.js"></script> -->
|
|
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
|
|
<script type="text/javascript" src="../../dynsections.js"></script>
|
|
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
|
|
<link href="../../customdoxygen.css" rel="stylesheet" type="text/css"/>
|
|
<!-- bootstrap -->
|
|
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
|
|
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
|
|
<!-- smartmenus -->
|
|
<link href="../../jquery.smartmenus.bootstrap.css" rel="stylesheet">
|
|
<script type="text/javascript" src="../../jquery.smartmenus.js"></script>
|
|
<script type="text/javascript" src="../../jquery.smartmenus.bootstrap.js"></script>
|
|
</head>
|
|
<body>
|
|
<!-- <div class="version-banner">
|
|
Go back to the <a href="/">main site</a>...
|
|
</div> -->
|
|
<div class="container">
|
|
<!-- navbar -->
|
|
<nav class="navbar navbar-default">
|
|
<div class="container-fluid">
|
|
<a class="navbar-brand" href="#">openNURBS SDK Help</a>
|
|
<div class="navbar-collapse collapse" id="main-nav-placeholder">
|
|
<!-- <p class="navbar-text navbar-right">v6.0</p> -->
|
|
<ul class="nav navbar-nav navbar-right">
|
|
<li class="dropdown">
|
|
<a class="dropdown-toggle" href="#">v6.0 <span class="caret"></span></a>
|
|
<ul class="dropdown-menu">
|
|
<li><a href="#">Latest (6.x)</a></li>
|
|
<li class="disabled"><a href="#">WIP (7.x)</a></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<div class="page-content">
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.13 -->
|
|
<script type="text/javascript" src="../../menudata.js"></script>
|
|
<script type="text/javascript" src="../../menu.js"></script>
|
|
<script type="text/javascript">
|
|
$(function() {
|
|
initMenu('../../',false,false,'search.php','Search');
|
|
});
|
|
</script>
|
|
<div id="main-nav"></div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#pub-types">Public Types</a> |
|
|
<a href="#pub-static-methods">Static Public Member Functions</a> |
|
|
<a href="../../d2/d25/class_o_n___component_attributes-members.html">List of all members</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">ON_ComponentAttributes Class Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p><code>#include <<a class="el" href="../../d5/d77/opennurbs__topology_8h_source.html">opennurbs_topology.h</a>></code></p>
|
|
<table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
|
|
Public Types</h2></td></tr>
|
|
<tr class="memitem:a771d8615898e996a98ab39510328b811"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/dd7/class_o_n___component_attributes.html#a771d8615898e996a98ab39510328b811">EdgeFlags</a> : unsigned int { <br />
|
|
  <a class="el" href="../../d1/dd7/class_o_n___component_attributes.html#a771d8615898e996a98ab39510328b811a69060f8d22beca7de07380dbbf1a18ee">Open</a> = 1,
|
|
<a class="el" href="../../d1/dd7/class_o_n___component_attributes.html#a771d8615898e996a98ab39510328b811add02384cd3e6225da38bfd98dd0a15f3">Closed</a> = 2,
|
|
<a class="el" href="../../d1/dd7/class_o_n___component_attributes.html#a771d8615898e996a98ab39510328b811af527a9c0e116ce442d1d99cbbdaee9f5">Wire</a> = 4,
|
|
<a class="el" href="../../d1/dd7/class_o_n___component_attributes.html#a771d8615898e996a98ab39510328b811a71c7ede5cb53d371be4cb4d26b4f720e">Boundary</a> = 8,
|
|
<br />
|
|
  <a class="el" href="../../d1/dd7/class_o_n___component_attributes.html#a771d8615898e996a98ab39510328b811a190cd1fcadb8698f18758624092d97c1">Interior</a> = 16,
|
|
<a class="el" href="../../d1/dd7/class_o_n___component_attributes.html#a771d8615898e996a98ab39510328b811aedfbbfcad1c474c8842a1c2292d6034e">Nonmanifold</a> = 32,
|
|
<a class="el" href="../../d1/dd7/class_o_n___component_attributes.html#a771d8615898e996a98ab39510328b811af5aaf750ad49662c9c7bf4f97a3cb298">Oriented</a> = 64,
|
|
<a class="el" href="../../d1/dd7/class_o_n___component_attributes.html#a771d8615898e996a98ab39510328b811aed9a656da1e8af769ece55f9d5ec144c">NotOriented</a> = 128,
|
|
<br />
|
|
  <a class="el" href="../../d1/dd7/class_o_n___component_attributes.html#a771d8615898e996a98ab39510328b811ad8c457eb9144c86e72a23dfe41143ccc">Smooth</a> = 256,
|
|
<a class="el" href="../../d1/dd7/class_o_n___component_attributes.html#a771d8615898e996a98ab39510328b811a30e6d2f2ce05fc24700799973ab11777">Crease</a> = 512,
|
|
<a class="el" href="../../d1/dd7/class_o_n___component_attributes.html#a771d8615898e996a98ab39510328b811a7cd179c4cf9b847496cffbdd367b1f03">Dart</a> = 1024,
|
|
<a class="el" href="../../d1/dd7/class_o_n___component_attributes.html#a771d8615898e996a98ab39510328b811aba968a764140d77eabb58aa024642b3d">Seam</a> = 2048,
|
|
<br />
|
|
  <a class="el" href="../../d1/dd7/class_o_n___component_attributes.html#a771d8615898e996a98ab39510328b811a55433de96acbca3424b5b4d7d32fa827">Slit</a> = 4096,
|
|
<a class="el" href="../../d1/dd7/class_o_n___component_attributes.html#a771d8615898e996a98ab39510328b811afb87049d435134dd5b02e640f9e2fd6a">Degenerate</a> = 4096,
|
|
<a class="el" href="../../d1/dd7/class_o_n___component_attributes.html#a771d8615898e996a98ab39510328b811ac15d89f96adc524dcf63a5afc8220b4f">Damaged</a> = 32768,
|
|
<a class="el" href="../../d1/dd7/class_o_n___component_attributes.html#a771d8615898e996a98ab39510328b811a6677074f901796cb086657e0fb74fca1">Mask</a> = 0xFFFF
|
|
<br />
|
|
}</td></tr>
|
|
<tr class="separator:a771d8615898e996a98ab39510328b811"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
|
|
Static Public Member Functions</h2></td></tr>
|
|
<tr class="memitem:a30896a00e0c9eb3c2a4801328cfed3cc"><td class="memItemLeft" align="right" valign="top">static bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/dd7/class_o_n___component_attributes.html#a30896a00e0c9eb3c2a4801328cfed3cc">HasBoundary</a> (unsigned int aggregate_edge_component_attributes)</td></tr>
|
|
<tr class="memdesc:a30896a00e0c9eb3c2a4801328cfed3cc"><td class="mdescLeft"> </td><td class="mdescRight">Inspects aggregate edge demographics to determine if there is a boundary edge. <a href="#a30896a00e0c9eb3c2a4801328cfed3cc">More...</a><br /></td></tr>
|
|
<tr class="separator:a30896a00e0c9eb3c2a4801328cfed3cc"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a606aceae303adec1a123a256d01ff517"><td class="memItemLeft" align="right" valign="top">static bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/dd7/class_o_n___component_attributes.html#a606aceae303adec1a123a256d01ff517">IsManifold</a> (unsigned int aggregate_edge_component_attributes)</td></tr>
|
|
<tr class="memdesc:a606aceae303adec1a123a256d01ff517"><td class="mdescLeft"> </td><td class="mdescRight">Inspects aggregate edge demographics to determine if the object is a manifold, possibly with boundary. Face orientation is ignored. <a href="#a606aceae303adec1a123a256d01ff517">More...</a><br /></td></tr>
|
|
<tr class="separator:a606aceae303adec1a123a256d01ff517"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:acb50ad81db5c534d91f833da6d843dd6"><td class="memItemLeft" align="right" valign="top">static bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/dd7/class_o_n___component_attributes.html#acb50ad81db5c534d91f833da6d843dd6">IsNotManifold</a> (unsigned int aggregate_edge_component_attributes)</td></tr>
|
|
<tr class="memdesc:acb50ad81db5c534d91f833da6d843dd6"><td class="mdescLeft"> </td><td class="mdescRight">Inspects aggregate edge demographics to determine if the object is a not manifold. <a href="#acb50ad81db5c534d91f833da6d843dd6">More...</a><br /></td></tr>
|
|
<tr class="separator:acb50ad81db5c534d91f833da6d843dd6"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a13a3ad73775139042a184caebed6cdcc"><td class="memItemLeft" align="right" valign="top">static bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/dd7/class_o_n___component_attributes.html#a13a3ad73775139042a184caebed6cdcc">IsNotOriented</a> (unsigned int aggregate_edge_component_attributes)</td></tr>
|
|
<tr class="memdesc:a13a3ad73775139042a184caebed6cdcc"><td class="mdescLeft"> </td><td class="mdescRight">Inspects aggregate edge demographics to determine if the faces have a compatible orientations. <a href="#a13a3ad73775139042a184caebed6cdcc">More...</a><br /></td></tr>
|
|
<tr class="separator:a13a3ad73775139042a184caebed6cdcc"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a290713973b8eb0c07ee712a9e739a30a"><td class="memItemLeft" align="right" valign="top">static bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/dd7/class_o_n___component_attributes.html#a290713973b8eb0c07ee712a9e739a30a">IsOriented</a> (unsigned int aggregate_edge_component_attributes)</td></tr>
|
|
<tr class="memdesc:a290713973b8eb0c07ee712a9e739a30a"><td class="mdescLeft"> </td><td class="mdescRight">Inspects aggregate edge demographics to determine if the faces have a compatible orientations. <a href="#a290713973b8eb0c07ee712a9e739a30a">More...</a><br /></td></tr>
|
|
<tr class="separator:a290713973b8eb0c07ee712a9e739a30a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:abf9bbeda8527d0024c2fe7eb6f4ac046"><td class="memItemLeft" align="right" valign="top">static bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/dd7/class_o_n___component_attributes.html#abf9bbeda8527d0024c2fe7eb6f4ac046">IsSolid</a> (unsigned int aggregate_edge_component_attributes)</td></tr>
|
|
<tr class="memdesc:abf9bbeda8527d0024c2fe7eb6f4ac046"><td class="mdescLeft"> </td><td class="mdescRight">Inspects aggregate edge demographics to determine if every edge has exactly two faces and all the faces have a compatible orientations. <a href="#abf9bbeda8527d0024c2fe7eb6f4ac046">More...</a><br /></td></tr>
|
|
<tr class="separator:abf9bbeda8527d0024c2fe7eb6f4ac046"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<h2 class="groupheader">Member Enumeration Documentation</h2>
|
|
<a id="a771d8615898e996a98ab39510328b811"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a771d8615898e996a98ab39510328b811">◆ </a></span>EdgeFlags</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">enum <a class="el" href="../../d1/dd7/class_o_n___component_attributes.html#a771d8615898e996a98ab39510328b811">ON_ComponentAttributes::EdgeFlags</a> : unsigned int</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p></p>
|
|
<p>ON_EdgeAttributeFlags are used to report attributes of single edge objects, like ON_SubDEdge and <a class="el" href="../../dd/de8/class_o_n___brep_edge.html" title="Brep edge information is stored in ON_BrepEdge classes. ON_Brep.m_E[] is an array of all the edges in...">ON_BrepEdge</a>, and aggregate edge demographics in objects with topology like ON_SubD, <a class="el" href="../../df/d11/class_o_n___mesh.html">ON_Mesh</a> and <a class="el" href="../../d9/d96/class_o_n___brep.html">ON_Brep</a>.</p>
|
|
<dl class="section see"><dt>See also</dt><dd>ON_BrepEdge::ComponentAttributes, ON_SubDEdge::ComponentAttributes, ON_Brep::AggregateEdgeComponentAttributes, ON_Mesh::AggregateEdgeComponentAttributes, ON_SubD::AggregateEdgeComponentAttributes</dd></dl>
|
|
<table class="fieldtable">
|
|
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a771d8615898e996a98ab39510328b811a69060f8d22beca7de07380dbbf1a18ee"></a>Open </td><td class="fielddoc"><p>The Open bit is set when an edge has distinct start and end vertices. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a771d8615898e996a98ab39510328b811add02384cd3e6225da38bfd98dd0a15f3"></a>Closed </td><td class="fielddoc"><p>The Closed bit is set when an edge begins and ends at the same vertex. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a771d8615898e996a98ab39510328b811af527a9c0e116ce442d1d99cbbdaee9f5"></a>Wire </td><td class="fielddoc"><p>The Wire bit when an edge has no faces. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a771d8615898e996a98ab39510328b811a71c7ede5cb53d371be4cb4d26b4f720e"></a>Boundary </td><td class="fielddoc"><p>The Boundary bit is set when an edge has one face. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a771d8615898e996a98ab39510328b811a190cd1fcadb8698f18758624092d97c1"></a>Interior </td><td class="fielddoc"><p>The Interior bit is set when an edge has two distinct faces. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a771d8615898e996a98ab39510328b811aedfbbfcad1c474c8842a1c2292d6034e"></a>Nonmanifold </td><td class="fielddoc"><p>The Nonmanifold bit is set when an edge has three or more faces. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a771d8615898e996a98ab39510328b811af5aaf750ad49662c9c7bf4f97a3cb298"></a>Oriented </td><td class="fielddoc"><p>The Oriented bit is set when an edge has two faces with compatible orientations. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a771d8615898e996a98ab39510328b811aed9a656da1e8af769ece55f9d5ec144c"></a>NotOriented </td><td class="fielddoc"><p>The NotOriented bit is set when an edge has two faces with opposited orientations. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a771d8615898e996a98ab39510328b811ad8c457eb9144c86e72a23dfe41143ccc"></a>Smooth </td><td class="fielddoc"><p>The Smooth bit is set when an an edge has two faces with a guaranteed surface tangent continuity. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a771d8615898e996a98ab39510328b811a30e6d2f2ce05fc24700799973ab11777"></a>Crease </td><td class="fielddoc"><p>The Crease bit is set when an edge has two faces with a possible surface tangent discontinuity </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a771d8615898e996a98ab39510328b811a7cd179c4cf9b847496cffbdd367b1f03"></a>Dart </td><td class="fielddoc"><p>The Dart bit is set when an edge has two faces with a possible surface tangent discontinuity at one end and guaranteed surface tangent space continuity at the other end. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a771d8615898e996a98ab39510328b811aba968a764140d77eabb58aa024642b3d"></a>Seam </td><td class="fielddoc"><p>The Seam bit is set when an edge has two faces that are identical and the edge is on the parametric boundary of the face's surface. </p>
|
|
<p>Parametric surfaces that are cylinders are an example of a situation where seam edges occur. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a771d8615898e996a98ab39510328b811a55433de96acbca3424b5b4d7d32fa827"></a>Slit </td><td class="fielddoc"><p>The Slit bit is set when edge has two faces that are identical and the edges is not a seam. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a771d8615898e996a98ab39510328b811afb87049d435134dd5b02e640f9e2fd6a"></a>Degenerate </td><td class="fielddoc"><p>The Slit bit is set when an edge has zero length. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a771d8615898e996a98ab39510328b811ac15d89f96adc524dcf63a5afc8220b4f"></a>Damaged </td><td class="fielddoc"><p>The Damaged bit is set when an edge has a critical flaw like missing vertex information. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a771d8615898e996a98ab39510328b811a6677074f901796cb086657e0fb74fca1"></a>Mask </td><td class="fielddoc"><p>Mask can be used to isolate EdgeFlags bits from an unsigned int bit field containing other information. </p>
|
|
<p>Determine if two unsigned ints have identical EdgeFlags settings. </p><div class="fragment"><div class="line"><span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> combined_flags1 = ...;</div><div class="line"><span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> combined_flags2 = ...;</div><div class="line"><span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> edge_flags1 = (ON_ComponentAttributes::EdgeFlags::Mask &amp; combined_flags1);</div><div class="line"><span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> edge_flags2 = (ON_ComponentAttributes::EdgeFlags::Mask &amp; combined_flags2);</div><div class="line"><span class="keywordflow">if</span> ( edge_flags1 == edge_flags1)</div><div class="line">{</div><div class="line"> ... edges flags are identical ...</div><div class="line">}</div></div><!-- fragment --> </td></tr>
|
|
</table>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Member Function Documentation</h2>
|
|
<a id="a30896a00e0c9eb3c2a4801328cfed3cc"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a30896a00e0c9eb3c2a4801328cfed3cc">◆ </a></span>HasBoundary()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">static bool ON_ComponentAttributes::HasBoundary </td>
|
|
<td>(</td>
|
|
<td class="paramtype">unsigned int </td>
|
|
<td class="paramname"><em>aggregate_edge_component_attributes</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">static</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Inspects aggregate edge demographics to determine if there is a boundary edge. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">aggregate_edge_component_attributes</td><td>Value made by bitwise or of <a class="el" href="../../d1/dd7/class_o_n___component_attributes.html#a771d8615898e996a98ab39510328b811">ON_ComponentAttributes::EdgeFlags</a> values for every edge in the object. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>True if there is at least one edge that has exactly one face. Otherwise, false is returned. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a606aceae303adec1a123a256d01ff517"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a606aceae303adec1a123a256d01ff517">◆ </a></span>IsManifold()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">static bool ON_ComponentAttributes::IsManifold </td>
|
|
<td>(</td>
|
|
<td class="paramtype">unsigned int </td>
|
|
<td class="paramname"><em>aggregate_edge_component_attributes</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">static</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Inspects aggregate edge demographics to determine if the object is a manifold, possibly with boundary. Face orientation is ignored. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">aggregate_edge_component_attributes</td><td>Value made by bitwise or of <a class="el" href="../../d1/dd7/class_o_n___component_attributes.html#a771d8615898e996a98ab39510328b811">ON_ComponentAttributes::EdgeFlags</a> values for every edge in the object. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>If every edge has one or two faces, then true is returned. If bAllowBoundaryEdges is true and every edge has one or two faces, then true is returned. Otherwise, false is returned. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="acb50ad81db5c534d91f833da6d843dd6"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#acb50ad81db5c534d91f833da6d843dd6">◆ </a></span>IsNotManifold()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">static bool ON_ComponentAttributes::IsNotManifold </td>
|
|
<td>(</td>
|
|
<td class="paramtype">unsigned int </td>
|
|
<td class="paramname"><em>aggregate_edge_component_attributes</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">static</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Inspects aggregate edge demographics to determine if the object is a not manifold. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">aggregate_edge_component_attributes</td><td>Value made by bitwise or of <a class="el" href="../../d1/dd7/class_o_n___component_attributes.html#a771d8615898e996a98ab39510328b811">ON_ComponentAttributes::EdgeFlags</a> values for every edge in the object. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>True if there is at least one edge with 3 or more faces or at least one wire edge.</dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a13a3ad73775139042a184caebed6cdcc"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a13a3ad73775139042a184caebed6cdcc">◆ </a></span>IsNotOriented()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">static bool ON_ComponentAttributes::IsNotOriented </td>
|
|
<td>(</td>
|
|
<td class="paramtype">unsigned int </td>
|
|
<td class="paramname"><em>aggregate_edge_component_attributes</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">static</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Inspects aggregate edge demographics to determine if the faces have a compatible orientations. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">aggregate_edge_component_attributes</td><td>Value made by bitwise or of <a class="el" href="../../d1/dd7/class_o_n___component_attributes.html#a771d8615898e996a98ab39510328b811">ON_ComponentAttributes::EdgeFlags</a> values for every edge in the object. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>If there is an edge edge with exactly two faces and those faces have incompatible orientations, then true is returned. Otherwise, false is returned. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a290713973b8eb0c07ee712a9e739a30a"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a290713973b8eb0c07ee712a9e739a30a">◆ </a></span>IsOriented()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">static bool ON_ComponentAttributes::IsOriented </td>
|
|
<td>(</td>
|
|
<td class="paramtype">unsigned int </td>
|
|
<td class="paramname"><em>aggregate_edge_component_attributes</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">static</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Inspects aggregate edge demographics to determine if the faces have a compatible orientations. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">aggregate_edge_demographics</td><td>Value made by bitwise or of <a class="el" href="../../d1/dd7/class_o_n___component_attributes.html#a771d8615898e996a98ab39510328b811">ON_ComponentAttributes::EdgeFlags</a> values for every edge in the object. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>If for every edge edge with exactly two faces, those two faces have compatible orientations, then true is returned. Otherwise, false is returned. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="abf9bbeda8527d0024c2fe7eb6f4ac046"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#abf9bbeda8527d0024c2fe7eb6f4ac046">◆ </a></span>IsSolid()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">static bool ON_ComponentAttributes::IsSolid </td>
|
|
<td>(</td>
|
|
<td class="paramtype">unsigned int </td>
|
|
<td class="paramname"><em>aggregate_edge_component_attributes</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">static</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Inspects aggregate edge demographics to determine if every edge has exactly two faces and all the faces have a compatible orientations. </p>
|
|
<p>This sample shows how to determine if an ON_SubD is a solid. </p><div class="fragment"><div class="line">ON_SubD subd = ...;</div><div class="line"><span class="keywordflow">if</span> (<a class="code" href="../../d1/dd7/class_o_n___component_attributes.html#abf9bbeda8527d0024c2fe7eb6f4ac046">ON_ComponentAttributes::IsSolid</a>(subd.AggregateEdgeComponentAttributes())</div><div class="line">{</div><div class="line"> <span class="comment">// subd is a solid</span></div><div class="line"> ...</div><div class="line">}</div></div><!-- fragment --> <dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">aggregate_edge_component_attributes</td><td>Value made by bitwise or of <a class="el" href="../../d1/dd7/class_o_n___component_attributes.html#a771d8615898e996a98ab39510328b811">ON_ComponentAttributes::EdgeFlags</a> values for every edge in the object. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>True if every edge has exactly two faces.</dd></dl>
|
|
<dl class="section see"><dt>See also</dt><dd>ON_Brep::EdgeDemographics, ON_SUbD::EdgeDemographics, ON_Mesh::EdgeDemographics, <a class="el" href="../../d1/dd7/class_o_n___component_attributes.html#abf9bbeda8527d0024c2fe7eb6f4ac046" title="Inspects aggregate edge demographics to determine if every edge has exactly two faces and all the fac...">ON_ComponentAttributes::IsSolid</a>, ON_ComponentAttributes::IsNotSolid, <a class="el" href="../../d1/dd7/class_o_n___component_attributes.html#a30896a00e0c9eb3c2a4801328cfed3cc" title="Inspects aggregate edge demographics to determine if there is a boundary edge. ">ON_ComponentAttributes::HasBoundary</a>, <a class="el" href="../../d1/dd7/class_o_n___component_attributes.html#a290713973b8eb0c07ee712a9e739a30a" title="Inspects aggregate edge demographics to determine if the faces have a compatible orientations. ">ON_ComponentAttributes::IsOriented</a>, <a class="el" href="../../d1/dd7/class_o_n___component_attributes.html#a13a3ad73775139042a184caebed6cdcc" title="Inspects aggregate edge demographics to determine if the faces have a compatible orientations. ">ON_ComponentAttributes::IsNotOriented</a>, <a class="el" href="../../d1/dd7/class_o_n___component_attributes.html#a606aceae303adec1a123a256d01ff517" title="Inspects aggregate edge demographics to determine if the object is a manifold, possibly with boundary...">ON_ComponentAttributes::IsManifold</a>, <a class="el" href="../../d1/dd7/class_o_n___component_attributes.html#acb50ad81db5c534d91f833da6d843dd6" title="Inspects aggregate edge demographics to determine if the object is a not manifold. ">ON_ComponentAttributes::IsNotManifold</a></dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
</div><!-- contents -->
|
|
<!-- HTML footer for doxygen 1.8.13-->
|
|
<!-- start footer part -->
|
|
</div> <!-- page-content -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated on Sat Feb 3 2018 11:08:29 for openNURBS SDK Help by <a href="http://www.doxygen.org/index.html">
|
|
<!-- <img class="footer" src="../../doxygen.png" alt="doxygen"/> -->
|
|
Doxygen
|
|
</a> 1.8.13
|
|
</small></address>
|
|
</div> <!-- container -->
|
|
<!-- doxy-boot -->
|
|
<script type="text/javascript" src="../../doxy-boot.js"></script>
|
|
</body>
|
|
</html>
|