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
@@ -103,7 +103,7 @@ Provides thread-safe access to geometry data and caching mechanisms.</p>
<div class="markdown conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public class Solid : IGetTriTree, ICollidable, IGetCollidable, IDisplayee, IExpandToBox3d, IDisposable, IGetSolid, IUpdateByContent, IClearCache, IStlSource, IGetStl, IMakeXmlSource</code></pre>
<pre><code class="lang-csharp hljs">public class Solid : IGetTriTree, ICollidable, IGetCollidable, IDisplayee, IExpandToBox3d, IStlSource, IGetStl, IPolarResolution2dSourceProperty, IDisposable, IMakeXmlSource, IGetSolid, IUpdateByContent, IClearCache</code></pre>
</div>
@@ -125,13 +125,14 @@ Provides thread-safe access to geometry data and caching mechanisms.</p>
<div><a class="xref" href="Hi.Collision.IGetCollidable.html">IGetCollidable</a></div>
<div><a class="xref" href="Hi.Disp.IDisplayee.html">IDisplayee</a></div>
<div><a class="xref" href="Hi.Geom.IExpandToBox3d.html">IExpandToBox3d</a></div>
<div><a class="xref" href="Hi.Geom.IStlSource.html">IStlSource</a></div>
<div><a class="xref" href="Hi.Geom.IGetStl.html">IGetStl</a></div>
<div><a class="xref" href="Hi.Geom.Resolution.IPolarResolution2dSourceProperty.html">IPolarResolution2dSourceProperty</a></div>
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
<div><a class="xref" href="Hi.Common.XmlUtils.IMakeXmlSource.html">IMakeXmlSource</a></div>
<div><a class="xref" href="Hi.NcMech.Solids.IGetSolid.html">IGetSolid</a></div>
<div><a class="xref" href="Hi.Common.IUpdateByContent.html">IUpdateByContent</a></div>
<div><a class="xref" href="Hi.Common.IClearCache.html">IClearCache</a></div>
<div><a class="xref" href="Hi.Geom.IStlSource.html">IStlSource</a></div>
<div><a class="xref" href="Hi.Geom.IGetStl.html">IGetStl</a></div>
<div><a class="xref" href="Hi.Common.XmlUtils.IMakeXmlSource.html">IMakeXmlSource</a></div>
</dd>
</dl>
@@ -165,6 +166,9 @@ Provides thread-safe access to geometry data and caching mechanisms.</p>
<div>
<a class="xref" href="Hi.Collision.CollisionUtil.html#Hi_Collision_CollisionUtil_Detect_Hi_Collision_ICollidable_Hi_Collision_ICollidable_Hi_Geom_Mat4d_System_Double_System_Int32_">CollisionUtil.Detect(ICollidable, ICollidable, Mat4d, double, int)</a>
</div>
<div>
<a class="xref" href="Hi.Disp.DispUtil.html#Hi_Disp_DispUtil_Display_Hi_Disp_IDisplayee_Hi_Disp_Bind_Hi_Geom_Mat4d_">DispUtil.Display(IDisplayee, Bind, Mat4d)</a>
</div>
<div>
<a class="xref" href="Hi.Geom.StlUtil.html#Hi_Geom_StlUtil_ToFaceDrawing_Hi_Geom_IGetStl_">StlUtil.ToFaceDrawing(IGetStl)</a>
</div>
@@ -468,6 +472,37 @@ The data is created from the STL representation when first accessed.</p>
<a id="Hi_NcMech_Solids_Solid_PolarResolution2dSource_" data-uid="Hi.NcMech.Solids.Solid.PolarResolution2dSource*"></a>
<h3 id="Hi_NcMech_Solids_Solid_PolarResolution2dSource" data-uid="Hi.NcMech.Solids.Solid.PolarResolution2dSource">
PolarResolution2dSource
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Func&lt;IPolarResolution2d&gt; PolarResolution2dSource { get; set; }</code></pre>
</div>
<h4 class="section">Property Value</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.func-1">Func</a>&lt;<a class="xref" href="Hi.Geom.Resolution.IPolarResolution2d.html">IPolarResolution2d</a>&gt;</dt>
<dd></dd>
</dl>
<a id="Hi_NcMech_Solids_Solid_Prepared_" data-uid="Hi.NcMech.Solids.Solid.Prepared*"></a>
<h3 id="Hi_NcMech_Solids_Solid_Prepared" data-uid="Hi.NcMech.Solids.Solid.Prepared">
@@ -633,6 +668,70 @@ The cache determines the behavior of the <a class="xref" href="Hi.NcMech.Solids.
<a id="Hi_NcMech_Solids_Solid_Display_" data-uid="Hi.NcMech.Solids.Solid.Display*"></a>
<h3 id="Hi_NcMech_Solids_Solid_Display_Hi_Disp_Bind_Hi_NcMech_Solids_Solid_RenderingModeEnum_" data-uid="Hi.NcMech.Solids.Solid.Display(Hi.Disp.Bind,Hi.NcMech.Solids.Solid.RenderingModeEnum)">
Display(Bind, RenderingModeEnum)
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void Display(Bind bind, Solid.RenderingModeEnum renderingMode)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>bind</code> <a class="xref" href="Hi.Disp.Bind.html">Bind</a></dt>
<dd></dd>
<dt><code>renderingMode</code> <a class="xref" href="Hi.NcMech.Solids.Solid.html">Solid</a>.<a class="xref" href="Hi.NcMech.Solids.Solid.RenderingModeEnum.html">RenderingModeEnum</a></dt>
<dd></dd>
</dl>
<a id="Hi_NcMech_Solids_Solid_DisplayFeatureEdges_" data-uid="Hi.NcMech.Solids.Solid.DisplayFeatureEdges*"></a>
<h3 id="Hi_NcMech_Solids_Solid_DisplayFeatureEdges_Hi_Disp_Bind_" data-uid="Hi.NcMech.Solids.Solid.DisplayFeatureEdges(Hi.Disp.Bind)">
DisplayFeatureEdges(Bind)
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void DisplayFeatureEdges(Bind bind)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>bind</code> <a class="xref" href="Hi.Disp.Bind.html">Bind</a></dt>
<dd></dd>
</dl>
<a id="Hi_NcMech_Solids_Solid_Dispose_" data-uid="Hi.NcMech.Solids.Solid.Dispose*"></a>
<h3 id="Hi_NcMech_Solids_Solid_Dispose" data-uid="Hi.NcMech.Solids.Solid.Dispose">
@@ -927,8 +1026,8 @@ This function is usually used to compute the bounding box of elements.</p>
<a id="Hi_NcMech_Solids_Solid_MakeXmlSource_" data-uid="Hi.NcMech.Solids.Solid.MakeXmlSource*"></a>
<h3 id="Hi_NcMech_Solids_Solid_MakeXmlSource_System_String_System_String_" data-uid="Hi.NcMech.Solids.Solid.MakeXmlSource(System.String,System.String)">
MakeXmlSource(string, string)
<h3 id="Hi_NcMech_Solids_Solid_MakeXmlSource_System_String_System_String_System_Boolean_" data-uid="Hi.NcMech.Solids.Solid.MakeXmlSource(System.String,System.String,System.Boolean)">
MakeXmlSource(string, string, bool)
</h3>
@@ -938,7 +1037,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>
@@ -948,6 +1047,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>
@@ -964,6 +1066,11 @@ This method may also generate additional resources such as related files.</p>
<h4 class="section" id="Hi_NcMech_Solids_Solid_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>