fix bug of cubetree init SAT and triangles-tip-cube-corner margin case.
This commit is contained in:
@@ -394,6 +394,120 @@ The text is changed by replacing tag and value to empty string.</p>
|
||||
|
||||
|
||||
|
||||
<a id="Hi_NcParsers_SoftNcUtil_HasFlagInArray_" data-uid="Hi.NcParsers.SoftNcUtil.HasFlagInArray*"></a>
|
||||
|
||||
<h3 id="Hi_NcParsers_SoftNcUtil_HasFlagInArray_System_Text_Json_Nodes_JsonObject_System_String_" data-uid="Hi.NcParsers.SoftNcUtil.HasFlagInArray(System.Text.Json.Nodes.JsonObject,System.String)">
|
||||
HasFlagInArray(JsonObject, string)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Checks if a specific flag string exists in the <code>Parsing.Flags</code> JsonArray.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public static bool HasFlagInArray(this JsonObject parsing, string flag)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>parsing</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.text.json.nodes.jsonobject">JsonObject</a></dt>
|
||||
<dd></dd>
|
||||
<dt><code>flag</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
<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></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="Hi_NcParsers_SoftNcUtil_ParseDouble_" data-uid="Hi.NcParsers.SoftNcUtil.ParseDouble*"></a>
|
||||
|
||||
<h3 id="Hi_NcParsers_SoftNcUtil_ParseDouble_System_Text_Json_Nodes_JsonNode_" data-uid="Hi.NcParsers.SoftNcUtil.ParseDouble(System.Text.Json.Nodes.JsonNode)">
|
||||
ParseDouble(JsonNode)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Parses a double from a JsonNode that may be a number or a string.
|
||||
Extends <a class="xref" href="Hi.Common.JsonUtil.html#Hi_Common_JsonUtil_GetDouble_System_Text_Json_Nodes_JsonNode_">GetDouble(JsonNode)</a> with string parsing support
|
||||
(needed for values from <a class="xref" href="Hi.NcParsers.ParsingSyntaxs.ParameterizedFlagSyntax.html">ParameterizedFlagSyntax</a>
|
||||
which stores values as strings like “180”).
|
||||
Returns 0 if null or unparseable.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public static double ParseDouble(this JsonNode node)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>node</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.text.json.nodes.jsonnode">JsonNode</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="Hi_NcParsers_SoftNcUtil_RemoveFlagFromArray_" data-uid="Hi.NcParsers.SoftNcUtil.RemoveFlagFromArray*"></a>
|
||||
|
||||
<h3 id="Hi_NcParsers_SoftNcUtil_RemoveFlagFromArray_System_Text_Json_Nodes_JsonObject_System_String_" data-uid="Hi.NcParsers.SoftNcUtil.RemoveFlagFromArray(System.Text.Json.Nodes.JsonObject,System.String)">
|
||||
RemoveFlagFromArray(JsonObject, string)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Removes a specific flag string from the <code>Parsing.Flags</code> JsonArray.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public static void RemoveFlagFromArray(this JsonObject parsing, string flag)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>parsing</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.text.json.nodes.jsonobject">JsonObject</a></dt>
|
||||
<dd></dd>
|
||||
<dt><code>flag</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="Hi_NcParsers_SoftNcUtil_SetAndTrimUnparsedText_" data-uid="Hi.NcParsers.SoftNcUtil.SetAndTrimUnparsedText*"></a>
|
||||
|
||||
<h3 id="Hi_NcParsers_SoftNcUtil_SetAndTrimUnparsedText_System_Text_Json_Nodes_JsonObject_System_String_" data-uid="Hi.NcParsers.SoftNcUtil.SetAndTrimUnparsedText(System.Text.Json.Nodes.JsonObject,System.String)">
|
||||
|
||||
Reference in New Issue
Block a user