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
@@ -102,7 +102,7 @@ Class GeneralMechanism
<div class="markdown conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public class GeneralMechanism : IMakeXmlSource, ITopoDisplayee, IGetAsmb, IGetTopoIndex, IAnchoredDisplayee, IGetRootAnchor, IDisplayee, IExpandToBox3d, IGetAnchoredDisplayeeList, IGetAnchorToSolidDictionary</code></pre>
<pre><code class="lang-csharp hljs">public class GeneralMechanism : IMakeXmlSource, ITopo, IGetAsmb, IGetAnchoredDisplayeeList, IGetAnchorToSolidDictionary, IAnchoredDisplayee, IGetAnchor, IGetTopoIndex, IDisplayee, IExpandToBox3d</code></pre>
</div>
@@ -120,15 +120,15 @@ Class GeneralMechanism
<dt>Implements</dt>
<dd>
<div><a class="xref" href="Hi.Common.XmlUtils.IMakeXmlSource.html">IMakeXmlSource</a></div>
<div><a class="xref" href="Hi.Disp.ITopoDisplayee.html">ITopoDisplayee</a></div>
<div><a class="xref" href="Hi.Mech.Topo.ITopo.html">ITopo</a></div>
<div><a class="xref" href="Hi.Mech.Topo.IGetAsmb.html">IGetAsmb</a></div>
<div><a class="xref" href="Hi.Mech.Topo.IGetTopoIndex.html">IGetTopoIndex</a></div>
<div><a class="xref" href="Hi.Mech.Topo.IAnchoredDisplayee.html">IAnchoredDisplayee</a></div>
<div><a class="xref" href="Hi.Mech.Topo.IGetRootAnchor.html">IGetRootAnchor</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.Mech.Topo.IGetAnchoredDisplayeeList.html">IGetAnchoredDisplayeeList</a></div>
<div><a class="xref" href="Hi.Mech.IGetAnchorToSolidDictionary.html">IGetAnchorToSolidDictionary</a></div>
<div><a class="xref" href="Hi.Mech.Topo.IAnchoredDisplayee.html">IAnchoredDisplayee</a></div>
<div><a class="xref" href="Hi.Mech.Topo.IGetAnchor.html">IGetAnchor</a></div>
<div><a class="xref" href="Hi.Mech.Topo.IGetTopoIndex.html">IGetTopoIndex</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>
</dd>
</dl>
@@ -163,10 +163,7 @@ Class GeneralMechanism
<dt>Extension Methods</dt>
<dd>
<div>
<a class="xref" href="Hi.Disp.TopoDisplayeeUtil.html#Hi_Disp_TopoDisplayeeUtil_Display_Hi_Disp_ITopoDisplayee_Hi_Disp_Bind_">TopoDisplayeeUtil.Display(ITopoDisplayee, Bind)</a>
</div>
<div>
<a class="xref" href="Hi.Disp.TopoDisplayeeUtil.html#Hi_Disp_TopoDisplayeeUtil_ExpandToBox3d_Hi_Disp_ITopoDisplayee_Hi_Geom_Box3d_">TopoDisplayeeUtil.ExpandToBox3d(ITopoDisplayee, Box3d)</a>
<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.Common.DuplicateUtil.html#Hi_Common_DuplicateUtil_TryDuplicate__1___0_System_Object___">DuplicateUtil.TryDuplicate&lt;TSelf&gt;(TSelf, params object[])</a>
@@ -177,6 +174,18 @@ Class GeneralMechanism
<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.Mech.Topo.TopoUtil.html#Hi_Mech_Topo_TopoUtil_Display_Hi_Mech_Topo_IGetAnchor_Hi_Disp_Bind_System_Collections_Generic_Dictionary_Hi_Mech_Topo_Anchor_Hi_Geom_Mat4d__">TopoUtil.Display(IGetAnchor, Bind, Dictionary&lt;Anchor, Mat4d&gt;)</a>
</div>
<div>
<a class="xref" href="Hi.Mech.Topo.TopoUtil.html#Hi_Mech_Topo_TopoUtil_ExpandToBox3d_Hi_Mech_Topo_IGetAnchor_Hi_Geom_Box3d_System_Collections_Generic_Dictionary_Hi_Mech_Topo_Anchor_Hi_Geom_Mat4d__">TopoUtil.ExpandToBox3d(IGetAnchor, Box3d, Dictionary&lt;Anchor, Mat4d&gt;)</a>
</div>
<div>
<a class="xref" href="Hi.Mech.Topo.TopoDisplayeeUtil.html#Hi_Mech_Topo_TopoDisplayeeUtil_Display_Hi_Mech_Topo_ITopo_Hi_Disp_Bind_">TopoDisplayeeUtil.Display(ITopo, Bind)</a>
</div>
<div>
<a class="xref" href="Hi.Mech.Topo.TopoDisplayeeUtil.html#Hi_Mech_Topo_TopoDisplayeeUtil_ExpandToBox3d_Hi_Mech_Topo_ITopo_Hi_Geom_Box3d_">TopoDisplayeeUtil.ExpandToBox3d(ITopo, Box3d)</a>
</div>
<div>
<a class="xref" href="Hi.Coloring.ColorUtil.html#Hi_Coloring_ColorUtil_GetGloomyColor_System_Object_System_Double_System_Double_">ColorUtil.GetGloomyColor(object, double, double)</a>
</div>
@@ -468,6 +477,39 @@ This function is usually used to compute the bounding box of elements.</p>
<a id="Hi_Mech_GeneralMechanism_GetAnchor_" data-uid="Hi.Mech.GeneralMechanism.GetAnchor*"></a>
<h3 id="Hi_Mech_GeneralMechanism_GetAnchor" data-uid="Hi.Mech.GeneralMechanism.GetAnchor">
GetAnchor()
</h3>
<div class="markdown level1 summary"><p>Get key anchor. (i.e. root anchor)</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Anchor GetAnchor()</code></pre>
</div>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="Hi.Mech.Topo.Anchor.html">Anchor</a></dt>
<dd><p>key anchor</p>
</dd>
</dl>
<a id="Hi_Mech_GeneralMechanism_GetAnchorToSolidDictionary_" data-uid="Hi.Mech.GeneralMechanism.GetAnchorToSolidDictionary*"></a>
<h3 id="Hi_Mech_GeneralMechanism_GetAnchorToSolidDictionary" data-uid="Hi.Mech.GeneralMechanism.GetAnchorToSolidDictionary">
@@ -567,43 +609,10 @@ This function is usually used to compute the bounding box of elements.</p>
<a id="Hi_Mech_GeneralMechanism_GetRootAnchor_" data-uid="Hi.Mech.GeneralMechanism.GetRootAnchor*"></a>
<h3 id="Hi_Mech_GeneralMechanism_GetRootAnchor" data-uid="Hi.Mech.GeneralMechanism.GetRootAnchor">
GetRootAnchor()
</h3>
<div class="markdown level1 summary"><p>Get root anchor.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Anchor GetRootAnchor()</code></pre>
</div>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="Hi.Mech.Topo.Anchor.html">Anchor</a></dt>
<dd><p>root anchor.</p>
</dd>
</dl>
<a id="Hi_Mech_GeneralMechanism_MakeXmlSource_" data-uid="Hi.Mech.GeneralMechanism.MakeXmlSource*"></a>
<h3 id="Hi_Mech_GeneralMechanism_MakeXmlSource_System_String_System_String_" data-uid="Hi.Mech.GeneralMechanism.MakeXmlSource(System.String,System.String)">
MakeXmlSource(string, string)
<h3 id="Hi_Mech_GeneralMechanism_MakeXmlSource_System_String_System_String_System_Boolean_" data-uid="Hi.Mech.GeneralMechanism.MakeXmlSource(System.String,System.String,System.Boolean)">
MakeXmlSource(string, string, bool)
</h3>
@@ -613,7 +622,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>
@@ -623,6 +632,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>
@@ -639,6 +651,11 @@ This method may also generate additional resources such as related files.</p>
<h4 class="section" id="Hi_Mech_GeneralMechanism_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>