This commit is contained in:
2025-07-25 16:27:29 +08:00
parent 38b27cd481
commit b5cad3c171
1114 changed files with 68009 additions and 23981 deletions
@@ -104,7 +104,7 @@ The data contains in a <a class="xref" href="Hi.Geom.Box3d.html">Box3d</a> is <a
<div class="markdown conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public class Box3d : IExpandToBox3d, IEquatable&lt;Box3d&gt;, IStlSource, IGetStl, IMakeXmlSource, IBinaryIo, IWriteBin, IDuplicate</code></pre>
<pre><code class="lang-csharp hljs">public class Box3d : IExpandToBox3d, IEquatable&lt;Box3d&gt;, IStlSource, IGetStl, IMakeXmlSource, IBinaryIo, IWriteBin, IDuplicate, IFormattable</code></pre>
</div>
@@ -129,6 +129,7 @@ The data contains in a <a class="xref" href="Hi.Geom.Box3d.html">Box3d</a> is <a
<div><a class="xref" href="Hi.Common.IBinaryIo.html">IBinaryIo</a></div>
<div><a class="xref" href="Hi.Common.IWriteBin.html">IWriteBin</a></div>
<div><a class="xref" href="Hi.Common.IDuplicate.html">IDuplicate</a></div>
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.iformattable">IFormattable</a></div>
</dd>
</dl>
@@ -157,10 +158,10 @@ The data contains in a <a class="xref" href="Hi.Geom.Box3d.html">Box3d</a> is <a
<a class="xref" href="Hi.Common.BinIoUtil.html#Hi_Common_BinIoUtil_ToBytes_Hi_Common_IWriteBin_">BinIoUtil.ToBytes(IWriteBin)</a>
</div>
<div>
<a class="xref" href="Hi.Common.XmlUtils.XmlUtil.html#Hi_Common_XmlUtils_XmlUtil_MakeXmlSourceFile_Hi_Common_XmlUtils_IMakeXmlSource_System_String_">XmlUtil.MakeXmlSourceFile(IMakeXmlSource, string)</a>
<a class="xref" href="Hi.Common.XmlUtils.XmlUtil.html#Hi_Common_XmlUtils_XmlUtil_MakeXmlSourceFile_Hi_Common_XmlUtils_IMakeXmlSource_System_String_System_Boolean_">XmlUtil.MakeXmlSourceFile(IMakeXmlSource, string, bool)</a>
</div>
<div>
<a class="xref" href="Hi.Common.XmlUtils.XmlUtil.html#Hi_Common_XmlUtils_XmlUtil_MakeXmlSourceWithRebaseFile_Hi_Common_XmlUtils_IMakeXmlSource_System_String_System_String_">XmlUtil.MakeXmlSourceWithRebaseFile(IMakeXmlSource, string, string)</a>
<a class="xref" href="Hi.Common.XmlUtils.XmlUtil.html#Hi_Common_XmlUtils_XmlUtil_MakeXmlSourceWithRebaseFile_Hi_Common_XmlUtils_IMakeXmlSource_System_String_System_String_System_Boolean_">XmlUtil.MakeXmlSourceWithRebaseFile(IMakeXmlSource, string, string, bool)</a>
</div>
<div>
<a class="xref" href="Hi.Common.XmlUtils.XmlUtil.html#Hi_Common_XmlUtils_XmlUtil_SaveToByteArrayAsync_Hi_Common_XmlUtils_IMakeXmlSource_System_String_">XmlUtil.SaveToByteArrayAsync(IMakeXmlSource, string)</a>
@@ -174,6 +175,9 @@ The data contains in a <a class="xref" href="Hi.Geom.Box3d.html">Box3d</a> is <a
<div>
<a class="xref" href="Hi.Common.InvokeUtil.html#Hi_Common_InvokeUtil_SelfInvoke__2___0_System_Func___0___1__">InvokeUtil.SelfInvoke&lt;TSrc, TDst&gt;(TSrc, Func&lt;TSrc, TDst&gt;)</a>
</div>
<div>
<a class="xref" href="Hi.Geom.GeomUtil.html#Hi_Geom_GeomUtil_ExpandToBox3d_Hi_Geom_IExpandToBox3d_Hi_Geom_Mat4d_Hi_Geom_Box3d_">GeomUtil.ExpandToBox3d(IExpandToBox3d, Mat4d, Box3d)</a>
</div>
<div>
<a class="xref" href="Hi.Geom.GeomUtil.html#Hi_Geom_GeomUtil_GetBox3d_Hi_Geom_IExpandToBox3d_">GeomUtil.GetBox3d(IExpandToBox3d)</a>
</div>
@@ -771,6 +775,38 @@ The Ctor keeps <a class="xref" href="Hi.Geom.Box3d.html#Hi_Geom_Box3d_Min">Min</
<a id="Hi_Geom_Box3d_InfiniteBox_" data-uid="Hi.Geom.Box3d.InfiniteBox*"></a>
<h3 id="Hi_Geom_Box3d_InfiniteBox" data-uid="Hi.Geom.Box3d.InfiniteBox">
InfiniteBox
</h3>
<div class="markdown level1 summary"><p>Generate a infinite box which min~max is (-∞,-∞,-∞)~(∞,∞,∞).</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static Box3d InfiniteBox { get; }</code></pre>
</div>
<h4 class="section">Property Value</h4>
<dl class="parameters">
<dt><a class="xref" href="Hi.Geom.Box3d.html">Box3d</a></dt>
<dd></dd>
</dl>
<a id="Hi_Geom_Box3d_IsAllNaN_" data-uid="Hi.Geom.Box3d.IsAllNaN*"></a>
<h3 id="Hi_Geom_Box3d_IsAllNaN" data-uid="Hi.Geom.Box3d.IsAllNaN">
@@ -1802,8 +1838,8 @@ This function is usually used to compute the bounding box of elements.</p>
<a id="Hi_Geom_Box3d_MakeXmlSource_" data-uid="Hi.Geom.Box3d.MakeXmlSource*"></a>
<h3 id="Hi_Geom_Box3d_MakeXmlSource_System_String_System_String_" data-uid="Hi.Geom.Box3d.MakeXmlSource(System.String,System.String)">
MakeXmlSource(string, string)
<h3 id="Hi_Geom_Box3d_MakeXmlSource_System_String_System_String_System_Boolean_" data-uid="Hi.Geom.Box3d.MakeXmlSource(System.String,System.String,System.Boolean)">
MakeXmlSource(string, string, bool)
</h3>
@@ -1813,7 +1849,7 @@ This method may also generate additional resources such as related files.</p>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public XElement MakeXmlSource(string baseDirectory, string relFile)</code></pre>
<pre><code class="lang-csharp hljs">public XElement MakeXmlSource(string baseDirectory, string relFile, bool exhibitionOnly)</code></pre>
</div>
<h4 class="section">Parameters</h4>
@@ -1823,6 +1859,9 @@ This method may also generate additional resources such as related files.</p>
</dd>
<dt><code>relFile</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd><p>The relative file path for the XML source</p>
</dd>
<dt><code>exhibitionOnly</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
<dd><p>if true, the extended file creation is suppressed.</p>
</dd>
</dl>
@@ -1839,6 +1878,11 @@ This method may also generate additional resources such as related files.</p>
<h4 class="section" id="Hi_Geom_Box3d_MakeXmlSource_System_String_System_String_System_Boolean__remarks">Remarks</h4>
<div class="markdown level1 remarks"><p>For the demand of easy moving source folder (especially project folder) without configuration file path corruption, the relative file path is applied.
The <code class="paramref">baseDirectory</code> is typically the folder at the nearest configuration file folder.
Since the folder can be moving with the configuration file.</p>
</div>
@@ -2160,6 +2204,48 @@ The <a class="xref" href="Hi.Geom.Box3d.html#Hi_Geom_Box3d_Min">Min</a> and <a
<a id="Hi_Geom_Box3d_ToString_" data-uid="Hi.Geom.Box3d.ToString*"></a>
<h3 id="Hi_Geom_Box3d_ToString_System_String_System_IFormatProvider_" data-uid="Hi.Geom.Box3d.ToString(System.String,System.IFormatProvider)">
ToString(string, IFormatProvider)
</h3>
<div class="markdown level1 summary"><p>Returns a string representation of the box formatted according to the specified format.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public string ToString(string format, IFormatProvider formatProvider)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>format</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd><p>The format to use for each component</p>
</dd>
<dt><code>formatProvider</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.iformatprovider">IFormatProvider</a></dt>
<dd><p>The format provider to use</p>
</dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd><p>A formatted string representation of the box</p>
</dd>
</dl>
<a id="Hi_Geom_Box3d_Translate_" data-uid="Hi.Geom.Box3d.Translate*"></a>
<h3 id="Hi_Geom_Box3d_Translate_Hi_Geom_Vec3d_" data-uid="Hi.Geom.Box3d.Translate(Hi.Geom.Vec3d)">