tune
This commit is contained in:
@@ -646,10 +646,43 @@ Sum of <a class="xref" href="Hi.Cbtr.CubeTree.html#Hi_Cbtr_CubeTree_TrisCacheMb"
|
||||
|
||||
|
||||
|
||||
<a id="Hi_Cbtr_CubeTree_ContainsInfEdgeCuts_" data-uid="Hi.Cbtr.CubeTree.ContainsInfEdgeCuts*"></a>
|
||||
|
||||
<h3 id="Hi_Cbtr_CubeTree_ContainsInfEdgeCuts" data-uid="Hi.Cbtr.CubeTree.ContainsInfEdgeCuts">
|
||||
ContainsInfEdgeCuts()
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Checks if any existing node in the cube tree contains inf or -inf in its edge_cuts array.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public bool ContainsInfEdgeCuts()</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
|
||||
<dd><p>true if any node contains inf or -inf in edge_cuts, false otherwise.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="Hi_Cbtr_CubeTree_Diff_" data-uid="Hi.Cbtr.CubeTree.Diff*"></a>
|
||||
|
||||
<h3 id="Hi_Cbtr_CubeTree_Diff_Hi_Geom_NativeStl_System_Double_Hi_Coloring_RangeColorRule_System_IProgress_Hi_Common_NativeProgresses_IProgressReport__" data-uid="Hi.Cbtr.CubeTree.Diff(Hi.Geom.NativeStl,System.Double,Hi.Coloring.RangeColorRule,System.IProgress{Hi.Common.NativeProgresses.IProgressReport})">
|
||||
Diff(NativeStl, double, RangeColorRule, IProgress<IProgressReport>)
|
||||
<h3 id="Hi_Cbtr_CubeTree_Diff_Hi_Geom_NativeStl_System_Double_Hi_Coloring_RangeColorRule_System_IProgress_System_Object__" data-uid="Hi.Cbtr.CubeTree.Diff(Hi.Geom.NativeStl,System.Double,Hi.Coloring.RangeColorRule,System.IProgress{System.Object})">
|
||||
Diff(NativeStl, double, RangeColorRule, IProgress<object>)
|
||||
|
||||
</h3>
|
||||
|
||||
@@ -658,7 +691,7 @@ Sum of <a class="xref" href="Hi.Cbtr.CubeTree.html#Hi_Cbtr_CubeTree_TrisCacheMb"
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public ConcurrentBag<DiffAttachment> Diff(NativeStl idealGeom, double diffRadius, RangeColorRule diffRangeColorRule, IProgress<IProgressReport> progress = null)</code></pre>
|
||||
<pre><code class="lang-csharp hljs">public ConcurrentBag<DiffAttachment> Diff(NativeStl idealGeom, double diffRadius, RangeColorRule diffRangeColorRule, IProgress<object> progress = null)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
@@ -672,7 +705,7 @@ Sum of <a class="xref" href="Hi.Cbtr.CubeTree.html#Hi_Cbtr_CubeTree_TrisCacheMb"
|
||||
<dt><code>diffRangeColorRule</code> <a class="xref" href="Hi.Coloring.RangeColorRule.html">RangeColorRule</a></dt>
|
||||
<dd><p>The color rule for visualizing differences.</p>
|
||||
</dd>
|
||||
<dt><code>progress</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.iprogress-1">IProgress</a><<a class="xref" href="Hi.Common.NativeProgresses.IProgressReport.html">IProgressReport</a>></dt>
|
||||
<dt><code>progress</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.iprogress-1">IProgress</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a>></dt>
|
||||
<dd><p>Progress reporter for the operation.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
@@ -912,6 +945,41 @@ This function is usually used to compute the bounding box of elements.</p>
|
||||
|
||||
|
||||
|
||||
<a id="Hi_Cbtr_CubeTree_GetInfEdgeCutsInfo_" data-uid="Hi.Cbtr.CubeTree.GetInfEdgeCutsInfo*"></a>
|
||||
|
||||
<h3 id="Hi_Cbtr_CubeTree_GetInfEdgeCutsInfo" data-uid="Hi.Cbtr.CubeTree.GetInfEdgeCutsInfo">
|
||||
GetInfEdgeCutsInfo()
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Gets info for all nodes that contain inf or -inf in their edge_cuts array.
|
||||
Each node's box is grouped with its corresponding inf edge indices.
|
||||
This is useful for identifying and visualizing non-manifold geometry issues in the cube tree.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public List<CubeTree.InfNodeInfo> GetInfEdgeCutsInfo()</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="Hi.Cbtr.CubeTree.html">CubeTree</a>.<a class="xref" href="Hi.Cbtr.CubeTree.InfNodeInfo.html">InfNodeInfo</a>></dt>
|
||||
<dd><p>A list of node info, each containing a box and its inf edge indices.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="Hi_Cbtr_CubeTree_GetRgbTrisNativeArray_" data-uid="Hi.Cbtr.CubeTree.GetRgbTrisNativeArray*"></a>
|
||||
|
||||
<h3 id="Hi_Cbtr_CubeTree_GetRgbTrisNativeArray_System_Double_" data-uid="Hi.Cbtr.CubeTree.GetRgbTrisNativeArray(System.Double)">
|
||||
@@ -996,6 +1064,92 @@ A triangle take 15 double.</p>
|
||||
|
||||
|
||||
|
||||
<a id="Hi_Cbtr_CubeTree_NewWithDefectInfos_" data-uid="Hi.Cbtr.CubeTree.NewWithDefectInfos*"></a>
|
||||
|
||||
<h3 id="Hi_Cbtr_CubeTree_NewWithDefectInfos_Hi_Geom_NativeStl_System_Double_System_Threading_CancellationToken_System_IProgress_System_Object__" data-uid="Hi.Cbtr.CubeTree.NewWithDefectInfos(Hi.Geom.NativeStl,System.Double,System.Threading.CancellationToken,System.IProgress{System.Object})">
|
||||
NewWithDefectInfos(NativeStl, double, CancellationToken, IProgress<object>)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Creates a new CubeTree and collects defect node infos during construction.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public static (CubeTree cubeTree, List<CubeTree.DefectNodeInfo> defectInfos) NewWithDefectInfos(NativeStl stl, double preferredGridWidth, CancellationToken token, IProgress<object> progress)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>stl</code> <a class="xref" href="Hi.Geom.NativeStl.html">NativeStl</a></dt>
|
||||
<dd></dd>
|
||||
<dt><code>preferredGridWidth</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
|
||||
<dd></dd>
|
||||
<dt><code>token</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken">CancellationToken</a></dt>
|
||||
<dd></dd>
|
||||
<dt><code>progress</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.iprogress-1">IProgress</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a>></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt>(<a class="xref" href="Hi.Cbtr.CubeTree.html">CubeTree</a> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.valuetuple-hi.cbtr.cubetree,system.collections.generic.list-hi.cbtr.cubetree.defectnodeinfo--.cubetree">cubeTree</a>, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="Hi.Cbtr.CubeTree.html">CubeTree</a>.<a class="xref" href="Hi.Cbtr.CubeTree.DefectNodeInfo.html">DefectNodeInfo</a>> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.valuetuple-hi.cbtr.cubetree,system.collections.generic.list-hi.cbtr.cubetree.defectnodeinfo--.defectinfos">defectInfos</a>)</dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="Hi_Cbtr_CubeTree_NewWithDefectInfos_" data-uid="Hi.Cbtr.CubeTree.NewWithDefectInfos*"></a>
|
||||
|
||||
<h3 id="Hi_Cbtr_CubeTree_NewWithDefectInfos_Hi_Geom_Stl_System_Double_System_Threading_CancellationToken_System_IProgress_System_Object__" data-uid="Hi.Cbtr.CubeTree.NewWithDefectInfos(Hi.Geom.Stl,System.Double,System.Threading.CancellationToken,System.IProgress{System.Object})">
|
||||
NewWithDefectInfos(Stl, double, CancellationToken, IProgress<object>)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Creates a new CubeTree and collects defect node infos during construction.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public static (CubeTree cubeTree, List<CubeTree.DefectNodeInfo> defectInfos) NewWithDefectInfos(Stl stl, double preferredGridWidth, CancellationToken token, IProgress<object> progress)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>stl</code> <a class="xref" href="Hi.Geom.Stl.html">Stl</a></dt>
|
||||
<dd></dd>
|
||||
<dt><code>preferredGridWidth</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
|
||||
<dd></dd>
|
||||
<dt><code>token</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken">CancellationToken</a></dt>
|
||||
<dd></dd>
|
||||
<dt><code>progress</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.iprogress-1">IProgress</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a>></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt>(<a class="xref" href="Hi.Cbtr.CubeTree.html">CubeTree</a> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.valuetuple-hi.cbtr.cubetree,system.collections.generic.list-hi.cbtr.cubetree.defectnodeinfo--.cubetree">cubeTree</a>, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="Hi.Cbtr.CubeTree.html">CubeTree</a>.<a class="xref" href="Hi.Cbtr.CubeTree.DefectNodeInfo.html">DefectNodeInfo</a>> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.valuetuple-hi.cbtr.cubetree,system.collections.generic.list-hi.cbtr.cubetree.defectnodeinfo--.defectinfos">defectInfos</a>)</dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="Hi_Cbtr_CubeTree_RebuildAttach_" data-uid="Hi.Cbtr.CubeTree.RebuildAttach*"></a>
|
||||
|
||||
<h3 id="Hi_Cbtr_CubeTree_RebuildAttach_Hi_Cbtr_CbtrPickable_" data-uid="Hi.Cbtr.CubeTree.RebuildAttach(Hi.Cbtr.CbtrPickable)">
|
||||
|
||||
Reference in New Issue
Block a user