mirror of
https://github.com/mcneel/opennurbs.git
synced 2026-03-30 23:57:58 +08:00
402 lines
28 KiB
HTML
402 lines
28 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_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="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
|
|
 <span id="projectnumber">6.0</span>
|
|
</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-types">Public Types</a> |
|
|
<a href="#pub-static-methods">Static Public Member Functions</a> |
|
|
<a href="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="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="class_o_n___component_attributes.html#a771d8615898e996a98ab39510328b811">EdgeFlags</a> : unsigned int { <br />
|
|
  <a class="el" href="class_o_n___component_attributes.html#a771d8615898e996a98ab39510328b811a69060f8d22beca7de07380dbbf1a18ee">Open</a> = 1,
|
|
<a class="el" href="class_o_n___component_attributes.html#a771d8615898e996a98ab39510328b811add02384cd3e6225da38bfd98dd0a15f3">Closed</a> = 2,
|
|
<a class="el" href="class_o_n___component_attributes.html#a771d8615898e996a98ab39510328b811af527a9c0e116ce442d1d99cbbdaee9f5">Wire</a> = 4,
|
|
<a class="el" href="class_o_n___component_attributes.html#a771d8615898e996a98ab39510328b811a71c7ede5cb53d371be4cb4d26b4f720e">Boundary</a> = 8,
|
|
<br />
|
|
  <a class="el" href="class_o_n___component_attributes.html#a771d8615898e996a98ab39510328b811a190cd1fcadb8698f18758624092d97c1">Interior</a> = 16,
|
|
<a class="el" href="class_o_n___component_attributes.html#a771d8615898e996a98ab39510328b811aedfbbfcad1c474c8842a1c2292d6034e">Nonmanifold</a> = 32,
|
|
<a class="el" href="class_o_n___component_attributes.html#a771d8615898e996a98ab39510328b811af5aaf750ad49662c9c7bf4f97a3cb298">Oriented</a> = 64,
|
|
<a class="el" href="class_o_n___component_attributes.html#a771d8615898e996a98ab39510328b811aed9a656da1e8af769ece55f9d5ec144c">NotOriented</a> = 128,
|
|
<br />
|
|
  <a class="el" href="class_o_n___component_attributes.html#a771d8615898e996a98ab39510328b811ad8c457eb9144c86e72a23dfe41143ccc">Smooth</a> = 256,
|
|
<a class="el" href="class_o_n___component_attributes.html#a771d8615898e996a98ab39510328b811a30e6d2f2ce05fc24700799973ab11777">Crease</a> = 512,
|
|
<a class="el" href="class_o_n___component_attributes.html#a771d8615898e996a98ab39510328b811a7cd179c4cf9b847496cffbdd367b1f03">Dart</a> = 1024,
|
|
<a class="el" href="class_o_n___component_attributes.html#a771d8615898e996a98ab39510328b811aba968a764140d77eabb58aa024642b3d">Seam</a> = 2048,
|
|
<br />
|
|
  <a class="el" href="class_o_n___component_attributes.html#a771d8615898e996a98ab39510328b811a55433de96acbca3424b5b4d7d32fa827">Slit</a> = 4096,
|
|
<a class="el" href="class_o_n___component_attributes.html#a771d8615898e996a98ab39510328b811afb87049d435134dd5b02e640f9e2fd6a">Degenerate</a> = 4096,
|
|
<a class="el" href="class_o_n___component_attributes.html#a771d8615898e996a98ab39510328b811ac15d89f96adc524dcf63a5afc8220b4f">Damaged</a> = 32768,
|
|
<a class="el" href="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="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="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="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="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="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="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>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<div class="textblock"><dl class="section rcs"><dt>NoKeywords</dt><dd></dd></dl>
|
|
<p><br />
|
|
/ / Copyright (c) 1993-2015 Robert McNeel & Associates. All rights reserved. / OpenNURBS, Rhinoceros, and Rhino3D are registered trademarks of Robert / McNeel & Associates. / / THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT EXPRESS OR IMPLIED WARRANTY. / ALL IMPLIED WARRANTIES OF FITNESS FOR ANY PARTICULAR PURPOSE AND OF / MERCHANTABILITY ARE HEREBY DISCLAIMED. / <br />
|
|
/ For complete openNURBS copyright information see <a href="http://www.opennurbs.org">http://www.opennurbs.org</a>. / ////////////////////////////////////////////////////////////// </p>
|
|
</div><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="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="class_o_n___brep_edge.html">ON_BrepEdge</a>, and aggregate edge demographics in objects with topology like ON_SubD, <a class="el" href="class_o_n___mesh.html">ON_Mesh</a> and <a class="el" href="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>summary> The Open bit is set when an edge has distinct start and end vertices. /summary> summary> The Closed bit is set when an edge begins and ends at the same vertex. /summary> </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a771d8615898e996a98ab39510328b811add02384cd3e6225da38bfd98dd0a15f3"></a>Closed </td><td class="fielddoc"><p>summary> The Wire bit when an edge has no faces. /summary> </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a771d8615898e996a98ab39510328b811af527a9c0e116ce442d1d99cbbdaee9f5"></a>Wire </td><td class="fielddoc"><p>summary> The Boundary bit is set when an edge has one face. /summary> </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a771d8615898e996a98ab39510328b811a71c7ede5cb53d371be4cb4d26b4f720e"></a>Boundary </td><td class="fielddoc"><p>summary> The Interior bit is set when an edge has two distinct faces. /summary> </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a771d8615898e996a98ab39510328b811a190cd1fcadb8698f18758624092d97c1"></a>Interior </td><td class="fielddoc"><p>summary> The Nonmanifold bit is set when an edge has three or more faces. /summary> </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a771d8615898e996a98ab39510328b811aedfbbfcad1c474c8842a1c2292d6034e"></a>Nonmanifold </td><td class="fielddoc"><p>summary> The Oriented bit is set when an edge has two faces with compatible orientations. /summary> </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a771d8615898e996a98ab39510328b811af5aaf750ad49662c9c7bf4f97a3cb298"></a>Oriented </td><td class="fielddoc"><p>summary> The NotOriented bit is set when an edge has two faces with opposited orientations. /summary> </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a771d8615898e996a98ab39510328b811aed9a656da1e8af769ece55f9d5ec144c"></a>NotOriented </td><td class="fielddoc"><p>summary> The Smooth bit is set when an an edge has two faces with a guaranteed surface tangent continuity. /summary> </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a771d8615898e996a98ab39510328b811ad8c457eb9144c86e72a23dfe41143ccc"></a>Smooth </td><td class="fielddoc"><p>summary> The Crease bit is set when an edge has two faces with a possible surface tangent discontinuity /summary> </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a771d8615898e996a98ab39510328b811a30e6d2f2ce05fc24700799973ab11777"></a>Crease </td><td class="fielddoc"><p>summary> 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. /summary> </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a771d8615898e996a98ab39510328b811a7cd179c4cf9b847496cffbdd367b1f03"></a>Dart </td><td class="fielddoc"><p>summary> 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. /summary> example> Parametric surfaces that are cylinders are an example of a situation where seam edges occur. /example> </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a771d8615898e996a98ab39510328b811aba968a764140d77eabb58aa024642b3d"></a>Seam </td><td class="fielddoc"><p>summary> The Slit bit is set when edge has two faces that are identical and the edges is not a seam. /summary> </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a771d8615898e996a98ab39510328b811a55433de96acbca3424b5b4d7d32fa827"></a>Slit </td><td class="fielddoc"><p>summary> The Slit bit is set when an edge has zero length. /summary> </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a771d8615898e996a98ab39510328b811afb87049d435134dd5b02e640f9e2fd6a"></a>Degenerate </td><td class="fielddoc"><p>summary> The Damaged bit is set when an edge has a critical flaw like missing vertex information. /summary> </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a771d8615898e996a98ab39510328b811ac15d89f96adc524dcf63a5afc8220b4f"></a>Damaged </td><td class="fielddoc"><p>summary> Mask can be used to isolate EdgeFlags bits from an unsigned int bit field containing other information. /summary> example> Determine if two unsigned ints have identical EdgeFlags settings. code> unsigned int combined_flags1 = ...; unsigned int combined_flags2 = ...; unsigned int edge_flags1 = (ON_ComponentAttributes::EdgeFlags::Mask & combined_flags1); unsigned int edge_flags2 = (ON_ComponentAttributes::EdgeFlags::Mask & combined_flags2); if ( edge_flags1 == edge_flags1) { ... edges flags are identical ... } /code> /example> </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a771d8615898e996a98ab39510328b811a6677074f901796cb086657e0fb74fca1"></a>Mask </td><td class="fielddoc"></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="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. /returns> </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="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. /returns> </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="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="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. /returns> </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="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. /returns> </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><br />
|
|
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="class_o_n___component_attributes.html#abf9bbeda8527d0024c2fe7eb6f4ac046">ON_ComponentAttributes::IsSolid</a>(subd.AggregateEdgeComponentAttributes())</div><div class="line">{ <span class="comment"></span></div><div class="line"><span class="comment"> ///< subd is a solid</span></div><div class="line"><span class="comment"></span> ...</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="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="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="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="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="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="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="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 -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated on Thu Jan 25 2018 17:01:10 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>
|