1731 lines
52 KiB
HTML
1731 lines
52 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Class Asmb | HiAPI-C# 2025 </title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta name="title" content="Class Asmb | HiAPI-C# 2025 ">
|
|
|
|
<meta name="description" content="Collection of and .">
|
|
<link rel="icon" href="../img/HiAPI.favicon.ico">
|
|
<link rel="stylesheet" href="../public/docfx.min.css">
|
|
<link rel="stylesheet" href="../public/main.css">
|
|
<meta name="docfx:navrel" content="../toc.html">
|
|
<meta name="docfx:tocrel" content="toc.html">
|
|
|
|
<meta name="docfx:rel" content="../">
|
|
|
|
|
|
|
|
<meta name="loc:inThisArticle" content="In this article">
|
|
<meta name="loc:searchResultsCount" content="{count} results for "{query}"">
|
|
<meta name="loc:searchNoResults" content="No results for "{query}"">
|
|
<meta name="loc:tocFilter" content="Filter by title">
|
|
<meta name="loc:nextArticle" content="Next">
|
|
<meta name="loc:prevArticle" content="Previous">
|
|
<meta name="loc:themeLight" content="Light">
|
|
<meta name="loc:themeDark" content="Dark">
|
|
<meta name="loc:themeAuto" content="Auto">
|
|
<meta name="loc:changeTheme" content="Change theme">
|
|
<meta name="loc:copy" content="Copy">
|
|
<meta name="loc:downloadPdf" content="Download PDF">
|
|
|
|
<script type="module" src="./../public/docfx.min.js"></script>
|
|
|
|
<script>
|
|
const theme = localStorage.getItem('theme') || 'auto'
|
|
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
|
|
</script>
|
|
|
|
</head>
|
|
|
|
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
|
|
<header class="bg-body border-bottom">
|
|
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
|
|
<div class="container-xxl flex-nowrap">
|
|
<a class="navbar-brand" href="../index.html">
|
|
<img id="logo" class="svg" src="../img/HiAPI.logo.png" alt="">
|
|
|
|
</a>
|
|
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
|
|
<i class="bi bi-three-dots"></i>
|
|
</button>
|
|
<div class="collapse navbar-collapse" id="navpanel">
|
|
<div id="navbar">
|
|
<form class="search" role="search" id="search">
|
|
<i class="bi bi-search"></i>
|
|
<input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
</header>
|
|
|
|
<main class="container-xxl">
|
|
<div class="toc-offcanvas">
|
|
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
|
|
<div class="offcanvas-header">
|
|
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
|
|
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
|
|
</div>
|
|
<div class="offcanvas-body">
|
|
<nav class="toc" id="toc"></nav>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="content">
|
|
<div class="actionbar">
|
|
<button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
|
|
<i class="bi bi-list"></i>
|
|
</button>
|
|
|
|
<nav id="breadcrumb"></nav>
|
|
</div>
|
|
|
|
<article data-uid="Hi.Mech.Topo.Asmb">
|
|
|
|
|
|
|
|
<h1 id="Hi_Mech_Topo_Asmb" data-uid="Hi.Mech.Topo.Asmb" class="text-break">
|
|
Class Asmb
|
|
</h1>
|
|
|
|
<div class="facts text-secondary">
|
|
<dl><dt>Namespace</dt><dd><a class="xref" href="Hi.html">Hi</a>.<a class="xref" href="Hi.Mech.html">Mech</a>.<a class="xref" href="Hi.Mech.Topo.html">Topo</a></dd></dl>
|
|
<dl><dt>Assembly</dt><dd>HiMech.dll</dd></dl>
|
|
</div>
|
|
|
|
<div class="markdown summary"><p>Collection of <a class="xref" href="Hi.Mech.Topo.Anchor.html">Anchor</a> and <a class="xref" href="Hi.Mech.Topo.Asmb.html">Asmb</a>.</p>
|
|
</div>
|
|
<div class="markdown conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public class Asmb : IGetAsmb, IGetTopoIndex, IDisposable</code></pre>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<dl class="typelist inheritance">
|
|
<dt>Inheritance</dt>
|
|
<dd>
|
|
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
|
|
<div><span class="xref">Asmb</span></div>
|
|
</dd>
|
|
</dl>
|
|
|
|
<dl class="typelist implements">
|
|
<dt>Implements</dt>
|
|
<dd>
|
|
<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="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<dl class="typelist inheritedMembers">
|
|
<dt>Inherited Members</dt>
|
|
<dd>
|
|
<div>
|
|
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">object.Equals(object)</a>
|
|
</div>
|
|
<div>
|
|
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">object.Equals(object, object)</a>
|
|
</div>
|
|
<div>
|
|
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gethashcode">object.GetHashCode()</a>
|
|
</div>
|
|
<div>
|
|
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gettype">object.GetType()</a>
|
|
</div>
|
|
<div>
|
|
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone">object.MemberwiseClone()</a>
|
|
</div>
|
|
<div>
|
|
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.referenceequals">object.ReferenceEquals(object, object)</a>
|
|
</div>
|
|
</dd></dl>
|
|
|
|
<dl class="typelist extensionMethods">
|
|
<dt>Extension Methods</dt>
|
|
<dd>
|
|
<div>
|
|
<a class="xref" href="Hi.Common.DuplicateUtil.html#Hi_Common_DuplicateUtil_TryDuplicate__1___0_System_Object___">DuplicateUtil.TryDuplicate<TSelf>(TSelf, params object[])</a>
|
|
</div>
|
|
<div>
|
|
<a class="xref" href="Hi.Common.InvokeUtil.html#Hi_Common_InvokeUtil_SelfInvoke__1___0_System_Action___0__">InvokeUtil.SelfInvoke<TSrc>(TSrc, Action<TSrc>)</a>
|
|
</div>
|
|
<div>
|
|
<a class="xref" href="Hi.Common.InvokeUtil.html#Hi_Common_InvokeUtil_SelfInvoke__2___0_System_Func___0___1__">InvokeUtil.SelfInvoke<TSrc, TDst>(TSrc, Func<TSrc, TDst>)</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>
|
|
<div>
|
|
<a class="xref" href="Hi.Common.NameUtil.html#Hi_Common_NameUtil_GetSelectionName_System_Object_">NameUtil.GetSelectionName(object)</a>
|
|
</div>
|
|
<div>
|
|
<a class="xref" href="Hi.Common.StringUtil.html#Hi_Common_StringUtil_GetPropertyStringIfToStringNotOverloaded_System_Object_System_Boolean_System_Boolean_">StringUtil.GetPropertyStringIfToStringNotOverloaded(object, bool, bool)</a>
|
|
</div>
|
|
<div>
|
|
<a class="xref" href="Hi.Parallels.LockUtil.html#Hi_Parallels_LockUtil_Lock_System_Object_">LockUtil.Lock(object)</a>
|
|
</div>
|
|
</dd></dl>
|
|
|
|
|
|
|
|
|
|
|
|
<h2 class="section" id="constructors">Constructors
|
|
</h2>
|
|
|
|
|
|
<a id="Hi_Mech_Topo_Asmb__ctor_" data-uid="Hi.Mech.Topo.Asmb.#ctor*"></a>
|
|
|
|
<h3 id="Hi_Mech_Topo_Asmb__ctor" data-uid="Hi.Mech.Topo.Asmb.#ctor">
|
|
Asmb()
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Ctor.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public Asmb()</code></pre>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Mech_Topo_Asmb__ctor_" data-uid="Hi.Mech.Topo.Asmb.#ctor*"></a>
|
|
|
|
<h3 id="Hi_Mech_Topo_Asmb__ctor_Hi_Mech_Topo_Asmb_" data-uid="Hi.Mech.Topo.Asmb.#ctor(Hi.Mech.Topo.Asmb)">
|
|
Asmb(Asmb)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Ctor.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public Asmb(Asmb parent)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>parent</code> <a class="xref" href="Hi.Mech.Topo.Asmb.html">Asmb</a></dt>
|
|
<dd><p>parent</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Mech_Topo_Asmb__ctor_" data-uid="Hi.Mech.Topo.Asmb.#ctor*"></a>
|
|
|
|
<h3 id="Hi_Mech_Topo_Asmb__ctor_Hi_Mech_Topo_Asmb_System_String_" data-uid="Hi.Mech.Topo.Asmb.#ctor(Hi.Mech.Topo.Asmb,System.String)">
|
|
Asmb(Asmb, string)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Ctor.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public Asmb(Asmb parent, string name)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>parent</code> <a class="xref" href="Hi.Mech.Topo.Asmb.html">Asmb</a></dt>
|
|
<dd><p>parent</p>
|
|
</dd>
|
|
<dt><code>name</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
|
<dd><p><a class="xref" href="Hi.Mech.Topo.Asmb.html#Hi_Mech_Topo_Asmb_Name">Name</a></p>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Mech_Topo_Asmb__ctor_" data-uid="Hi.Mech.Topo.Asmb.#ctor*"></a>
|
|
|
|
<h3 id="Hi_Mech_Topo_Asmb__ctor_System_String_" data-uid="Hi.Mech.Topo.Asmb.#ctor(System.String)">
|
|
Asmb(string)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Ctor.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public Asmb(string name)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>name</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
|
<dd><p><a class="xref" href="Hi.Mech.Topo.Asmb.html#Hi_Mech_Topo_Asmb_Name">Name</a></p>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h2 class="section" id="properties">Properties
|
|
</h2>
|
|
|
|
|
|
<a id="Hi_Mech_Topo_Asmb_ChildAncs_" data-uid="Hi.Mech.Topo.Asmb.ChildAncs*"></a>
|
|
|
|
<h3 id="Hi_Mech_Topo_Asmb_ChildAncs" data-uid="Hi.Mech.Topo.Asmb.ChildAncs">
|
|
ChildAncs
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Gets the collection of child anchors in this assembly.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public ThreadSafeSet<Anchor> ChildAncs { get; }</code></pre>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<h4 class="section">Property Value</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Hi.Parallels.ThreadSafeSet-1.html">ThreadSafeSet</a><<a class="xref" href="Hi.Mech.Topo.Anchor.html">Anchor</a>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Mech_Topo_Asmb_ChildAsmbs_" data-uid="Hi.Mech.Topo.Asmb.ChildAsmbs*"></a>
|
|
|
|
<h3 id="Hi_Mech_Topo_Asmb_ChildAsmbs" data-uid="Hi.Mech.Topo.Asmb.ChildAsmbs">
|
|
ChildAsmbs
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Gets the collection of child assemblies in this assembly.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public ThreadSafeSet<Asmb> ChildAsmbs { get; }</code></pre>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<h4 class="section">Property Value</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Hi.Parallels.ThreadSafeSet-1.html">ThreadSafeSet</a><<a class="xref" href="Hi.Mech.Topo.Asmb.html">Asmb</a>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Mech_Topo_Asmb_Guid_" data-uid="Hi.Mech.Topo.Asmb.Guid*"></a>
|
|
|
|
<h3 id="Hi_Mech_Topo_Asmb_Guid" data-uid="Hi.Mech.Topo.Asmb.Guid">
|
|
Guid
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>GUID.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public Guid Guid { get; }</code></pre>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<h4 class="section">Property Value</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.guid">Guid</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Mech_Topo_Asmb_Name_" data-uid="Hi.Mech.Topo.Asmb.Name*"></a>
|
|
|
|
<h3 id="Hi_Mech_Topo_Asmb_Name" data-uid="Hi.Mech.Topo.Asmb.Name">
|
|
Name
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Name.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public string Name { 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.string">string</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Mech_Topo_Asmb_XName_" data-uid="Hi.Mech.Topo.Asmb.XName*"></a>
|
|
|
|
<h3 id="Hi_Mech_Topo_Asmb_XName" data-uid="Hi.Mech.Topo.Asmb.XName">
|
|
XName
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Gets the XML name for the assembly.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static string XName { get; }</code></pre>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<h4 class="section">Property Value</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h2 class="section" id="methods">Methods
|
|
</h2>
|
|
|
|
|
|
<a id="Hi_Mech_Topo_Asmb_AllEnterReadLock_" data-uid="Hi.Mech.Topo.Asmb.AllEnterReadLock*"></a>
|
|
|
|
<h3 id="Hi_Mech_Topo_Asmb_AllEnterReadLock" data-uid="Hi.Mech.Topo.Asmb.AllEnterReadLock">
|
|
AllEnterReadLock()
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Enters read locks for all thread-safe collections in the assembly.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public void AllEnterReadLock()</code></pre>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Mech_Topo_Asmb_AllExitReadLock_" data-uid="Hi.Mech.Topo.Asmb.AllExitReadLock*"></a>
|
|
|
|
<h3 id="Hi_Mech_Topo_Asmb_AllExitReadLock" data-uid="Hi.Mech.Topo.Asmb.AllExitReadLock">
|
|
AllExitReadLock()
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Exits read locks for all thread-safe collections in the assembly.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public void AllExitReadLock()</code></pre>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Mech_Topo_Asmb_CallAsmb_" data-uid="Hi.Mech.Topo.Asmb.CallAsmb*"></a>
|
|
|
|
<h3 id="Hi_Mech_Topo_Asmb_CallAsmb_System_Xml_Linq_XElement_System_String_System_Collections_Generic_Dictionary_System_Guid_Hi_Mech_Topo_Asmb__System_Collections_Generic_Dictionary_System_Guid_Hi_Mech_Topo_Anchor__System_Collections_Generic_Dictionary_System_Guid_Hi_Mech_Topo_Branch__" data-uid="Hi.Mech.Topo.Asmb.CallAsmb(System.Xml.Linq.XElement,System.String,System.Collections.Generic.Dictionary{System.Guid,Hi.Mech.Topo.Asmb},System.Collections.Generic.Dictionary{System.Guid,Hi.Mech.Topo.Anchor},System.Collections.Generic.Dictionary{System.Guid,Hi.Mech.Topo.Branch})">
|
|
CallAsmb(XElement, string, Dictionary<Guid, Asmb>, Dictionary<Guid, Anchor>, Dictionary<Guid, Branch>)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Get asmb by the <code class="paramref">asmbXml</code>.
|
|
If the members of the target asmb do not exist on <code class="paramref">asmbs</code> or <code class="paramref">ancs</code>,
|
|
the members will be generated; otherwise, the existed members are applied.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static Asmb CallAsmb(XElement asmbXml, string baseDirectory, Dictionary<Guid, Asmb> asmbs = null, Dictionary<Guid, Anchor> ancs = null, Dictionary<Guid, Branch> brns = null)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>asmbXml</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.xml.linq.xelement">XElement</a></dt>
|
|
<dd><p>xml of asmb</p>
|
|
</dd>
|
|
<dt><code>baseDirectory</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
|
<dd><p>Base directory path for resolving relative paths</p>
|
|
</dd>
|
|
<dt><code>asmbs</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2">Dictionary</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.guid">Guid</a>, <a class="xref" href="Hi.Mech.Topo.Asmb.html">Asmb</a>></dt>
|
|
<dd><p>existed asmb map</p>
|
|
</dd>
|
|
<dt><code>ancs</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2">Dictionary</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.guid">Guid</a>, <a class="xref" href="Hi.Mech.Topo.Anchor.html">Anchor</a>></dt>
|
|
<dd><p>existed anc map</p>
|
|
</dd>
|
|
<dt><code>brns</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2">Dictionary</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.guid">Guid</a>, <a class="xref" href="Hi.Mech.Topo.Branch.html">Branch</a>></dt>
|
|
<dd><p>existed branch map</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Hi.Mech.Topo.Asmb.html">Asmb</a></dt>
|
|
<dd><p>asmb</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Mech_Topo_Asmb_Display_" data-uid="Hi.Mech.Topo.Asmb.Display*"></a>
|
|
|
|
<h3 id="Hi_Mech_Topo_Asmb_Display_Hi_Disp_Bind_Hi_Mech_Topo_Anchor_Hi_Mech_Topo_IGetAnchor___" data-uid="Hi.Mech.Topo.Asmb.Display(Hi.Disp.Bind,Hi.Mech.Topo.Anchor,Hi.Mech.Topo.IGetAnchor[])">
|
|
Display(Bind, Anchor, params IGetAnchor[])
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Display <code class="paramref">displayees</code> according to the <a class="xref" href="Hi.Mech.Topo.IGetAnchor.html#Hi_Mech_Topo_IGetAnchor_GetAnchor">GetAnchor()</a>.
|
|
The fixed anchor is <code class="paramref">root</code>.
|
|
If the element of <code class="paramref">displayees</code> is not <a class="xref" href="Hi.Disp.IDisplayee.html">IDisplayee</a> or null <a class="xref" href="Hi.Mech.Topo.Anchor.html">Anchor</a>, the element will be ignored.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public void Display(Bind bind, Anchor root, params IGetAnchor[] displayees)</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><p>bind</p>
|
|
</dd>
|
|
<dt><code>root</code> <a class="xref" href="Hi.Mech.Topo.Anchor.html">Anchor</a></dt>
|
|
<dd><p>fixed anchor</p>
|
|
</dd>
|
|
<dt><code>displayees</code> <a class="xref" href="Hi.Mech.Topo.IGetAnchor.html">IGetAnchor</a>[]</dt>
|
|
<dd><p>element to be rendered</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Mech_Topo_Asmb_Display_" data-uid="Hi.Mech.Topo.Asmb.Display*"></a>
|
|
|
|
<h3 id="Hi_Mech_Topo_Asmb_Display_Hi_Disp_Bind_System_Collections_Generic_Dictionary_Hi_Mech_Topo_Anchor_Hi_Geom_Mat4d__Hi_Mech_Topo_IGetAnchor___" data-uid="Hi.Mech.Topo.Asmb.Display(Hi.Disp.Bind,System.Collections.Generic.Dictionary{Hi.Mech.Topo.Anchor,Hi.Geom.Mat4d},Hi.Mech.Topo.IGetAnchor[])">
|
|
Display(Bind, Dictionary<Anchor, Mat4d>, params IGetAnchor[])
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Display the <code class="paramref">displayees</code> according to <code class="paramref">map</code>.
|
|
If <code class="paramref">displayees</code> is null, do nothing.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static void Display(Bind bind, Dictionary<Anchor, Mat4d> map, params IGetAnchor[] displayees)</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><p>bind</p>
|
|
</dd>
|
|
<dt><code>map</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2">Dictionary</a><<a class="xref" href="Hi.Mech.Topo.Anchor.html">Anchor</a>, <a class="xref" href="Hi.Geom.Mat4d.html">Mat4d</a>></dt>
|
|
<dd><p>anchor to transformation map</p>
|
|
</dd>
|
|
<dt><code>displayees</code> <a class="xref" href="Hi.Mech.Topo.IGetAnchor.html">IGetAnchor</a>[]</dt>
|
|
<dd><p>displayees</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Mech_Topo_Asmb_Dispose_" data-uid="Hi.Mech.Topo.Asmb.Dispose*"></a>
|
|
|
|
<h3 id="Hi_Mech_Topo_Asmb_Dispose" data-uid="Hi.Mech.Topo.Asmb.Dispose">
|
|
Dispose()
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public void Dispose()</code></pre>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Mech_Topo_Asmb_Dispose_" data-uid="Hi.Mech.Topo.Asmb.Dispose*"></a>
|
|
|
|
<h3 id="Hi_Mech_Topo_Asmb_Dispose_System_Boolean_" data-uid="Hi.Mech.Topo.Asmb.Dispose(System.Boolean)">
|
|
Dispose(bool)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">protected virtual void Dispose(bool disposing)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>disposing</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Mech_Topo_Asmb_ExpandToBox3d_" data-uid="Hi.Mech.Topo.Asmb.ExpandToBox3d*"></a>
|
|
|
|
<h3 id="Hi_Mech_Topo_Asmb_ExpandToBox3d_Hi_Geom_Box3d_Hi_Mech_Topo_Anchor_Hi_Mech_Topo_IGetAnchor___" data-uid="Hi.Mech.Topo.Asmb.ExpandToBox3d(Hi.Geom.Box3d,Hi.Mech.Topo.Anchor,Hi.Mech.Topo.IGetAnchor[])">
|
|
ExpandToBox3d(Box3d, Anchor, params IGetAnchor[])
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Expands a bounding box to include the assembly.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public void ExpandToBox3d(Box3d dst, Anchor root, params IGetAnchor[] displayees)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>dst</code> <a class="xref" href="Hi.Geom.Box3d.html">Box3d</a></dt>
|
|
<dd><p>The bounding box to expand.</p>
|
|
</dd>
|
|
<dt><code>root</code> <a class="xref" href="Hi.Mech.Topo.Anchor.html">Anchor</a></dt>
|
|
<dd><p>The root anchor for the calculation.</p>
|
|
</dd>
|
|
<dt><code>displayees</code> <a class="xref" href="Hi.Mech.Topo.IGetAnchor.html">IGetAnchor</a>[]</dt>
|
|
<dd><p>The displayable objects to include in the calculation.</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Mech_Topo_Asmb_GetAnchorByGuid_" data-uid="Hi.Mech.Topo.Asmb.GetAnchorByGuid*"></a>
|
|
|
|
<h3 id="Hi_Mech_Topo_Asmb_GetAnchorByGuid_System_String_System_Boolean_" data-uid="Hi.Mech.Topo.Asmb.GetAnchorByGuid(System.String,System.Boolean)">
|
|
GetAnchorByGuid(string, bool)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Finds an anchor in the assembly hierarchy by its GUID.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public Anchor GetAnchorByGuid(string guid, bool enableThreadSafe = true)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>guid</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
|
<dd><p>The GUID of the anchor to find.</p>
|
|
</dd>
|
|
<dt><code>enableThreadSafe</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
|
|
<dd><p>If true, uses thread-safe operations for accessing collections.</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Hi.Mech.Topo.Anchor.html">Anchor</a></dt>
|
|
<dd><p>The anchor with the specified GUID, or null if not found.</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Mech_Topo_Asmb_GetAnchorChain_" data-uid="Hi.Mech.Topo.Asmb.GetAnchorChain*"></a>
|
|
|
|
<h3 id="Hi_Mech_Topo_Asmb_GetAnchorChain_Hi_Mech_Topo_Anchor_Hi_Mech_Topo_Anchor_" data-uid="Hi.Mech.Topo.Asmb.GetAnchorChain(Hi.Mech.Topo.Anchor,Hi.Mech.Topo.Anchor)">
|
|
GetAnchorChain(Anchor, Anchor)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Gets a chain of anchors from the head to the tail.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public List<Anchor> GetAnchorChain(Anchor head, Anchor tail)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>head</code> <a class="xref" href="Hi.Mech.Topo.Anchor.html">Anchor</a></dt>
|
|
<dd><p>The starting anchor of the chain.</p>
|
|
</dd>
|
|
<dt><code>tail</code> <a class="xref" href="Hi.Mech.Topo.Anchor.html">Anchor</a></dt>
|
|
<dd><p>The ending anchor of the chain.</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
<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.Mech.Topo.Anchor.html">Anchor</a>></dt>
|
|
<dd><p>A list of anchors representing the chain, or an empty list if no chain exists.</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Mech_Topo_Asmb_GetAnchoredDisplayeeList_" data-uid="Hi.Mech.Topo.Asmb.GetAnchoredDisplayeeList*"></a>
|
|
|
|
<h3 id="Hi_Mech_Topo_Asmb_GetAnchoredDisplayeeList_System_Collections_Generic_Dictionary_Hi_Mech_Topo_Anchor_Hi_NcMech_Solids_Solid__" data-uid="Hi.Mech.Topo.Asmb.GetAnchoredDisplayeeList(System.Collections.Generic.Dictionary{Hi.Mech.Topo.Anchor,Hi.NcMech.Solids.Solid})">
|
|
GetAnchoredDisplayeeList(Dictionary<Anchor, Solid>)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Gets a list of anchored displayable objects based on the provided anchor-to-solid mapping.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public List<IAnchoredDisplayee> GetAnchoredDisplayeeList(Dictionary<Anchor, Solid> anchorToSolidDictionary)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>anchorToSolidDictionary</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2">Dictionary</a><<a class="xref" href="Hi.Mech.Topo.Anchor.html">Anchor</a>, <a class="xref" href="Hi.NcMech.Solids.Solid.html">Solid</a>></dt>
|
|
<dd><p>Dictionary mapping anchors to their corresponding solids.</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
<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.Mech.Topo.IAnchoredDisplayee.html">IAnchoredDisplayee</a>></dt>
|
|
<dd><p>A list of anchored displayable objects.</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Mech_Topo_Asmb_GetAsmb_" data-uid="Hi.Mech.Topo.Asmb.GetAsmb*"></a>
|
|
|
|
<h3 id="Hi_Mech_Topo_Asmb_GetAsmb" data-uid="Hi.Mech.Topo.Asmb.GetAsmb">
|
|
GetAsmb()
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Gets the key asmb.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public Asmb GetAsmb()</code></pre>
|
|
</div>
|
|
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Hi.Mech.Topo.Asmb.html">Asmb</a></dt>
|
|
<dd><p>The key asmb.</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Mech_Topo_Asmb_GetAsmbDraw_" data-uid="Hi.Mech.Topo.Asmb.GetAsmbDraw*"></a>
|
|
|
|
<h3 id="Hi_Mech_Topo_Asmb_GetAsmbDraw_Hi_Mech_Topo_Anchor_" data-uid="Hi.Mech.Topo.Asmb.GetAsmbDraw(Hi.Mech.Topo.Anchor)">
|
|
GetAsmbDraw(Anchor)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Gets an assembly drawing for visualization.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public AsmbDraw GetAsmbDraw(Anchor root)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>root</code> <a class="xref" href="Hi.Mech.Topo.Anchor.html">Anchor</a></dt>
|
|
<dd><p>The root anchor for the drawing.</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Hi.Mech.Topo.AsmbDraw.html">AsmbDraw</a></dt>
|
|
<dd><p>An assembly drawing object.</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Mech_Topo_Asmb_GetBox3d_" data-uid="Hi.Mech.Topo.Asmb.GetBox3d*"></a>
|
|
|
|
<h3 id="Hi_Mech_Topo_Asmb_GetBox3d_Hi_Mech_Topo_Anchor_Hi_Mech_Topo_IGetAnchor___" data-uid="Hi.Mech.Topo.Asmb.GetBox3d(Hi.Mech.Topo.Anchor,Hi.Mech.Topo.IGetAnchor[])">
|
|
GetBox3d(Anchor, params IGetAnchor[])
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Gets a bounding box for the assembly.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public Box3d GetBox3d(Anchor root, params IGetAnchor[] displayees)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>root</code> <a class="xref" href="Hi.Mech.Topo.Anchor.html">Anchor</a></dt>
|
|
<dd><p>The root anchor for the calculation.</p>
|
|
</dd>
|
|
<dt><code>displayees</code> <a class="xref" href="Hi.Mech.Topo.IGetAnchor.html">IGetAnchor</a>[]</dt>
|
|
<dd><p>The displayable objects to include in the calculation.</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Hi.Geom.Box3d.html">Box3d</a></dt>
|
|
<dd><p>A 3D bounding box containing the assembly.</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Mech_Topo_Asmb_GetBranchByGuid_" data-uid="Hi.Mech.Topo.Asmb.GetBranchByGuid*"></a>
|
|
|
|
<h3 id="Hi_Mech_Topo_Asmb_GetBranchByGuid_System_String_System_Boolean_" data-uid="Hi.Mech.Topo.Asmb.GetBranchByGuid(System.String,System.Boolean)">
|
|
GetBranchByGuid(string, bool)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Finds a branch in the assembly hierarchy by its GUID.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public Branch GetBranchByGuid(string guid, bool enableThreadSafe = true)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>guid</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
|
<dd><p>The GUID of the branch to find.</p>
|
|
</dd>
|
|
<dt><code>enableThreadSafe</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
|
|
<dd><p>If true, uses thread-safe operations for accessing collections.</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Hi.Mech.Topo.Branch.html">Branch</a></dt>
|
|
<dd><p>The branch with the specified GUID, or null if not found.</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Mech_Topo_Asmb_GetBranchChain_" data-uid="Hi.Mech.Topo.Asmb.GetBranchChain*"></a>
|
|
|
|
<h3 id="Hi_Mech_Topo_Asmb_GetBranchChain_Hi_Mech_Topo_IGetAnchor_Hi_Mech_Topo_IGetAnchor_" data-uid="Hi.Mech.Topo.Asmb.GetBranchChain(Hi.Mech.Topo.IGetAnchor,Hi.Mech.Topo.IGetAnchor)">
|
|
GetBranchChain(IGetAnchor, IGetAnchor)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Gets a chain of branches with their directions from the head anchor to the tail anchor.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public List<DirectionBranchPack> GetBranchChain(IGetAnchor head, IGetAnchor tail)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>head</code> <a class="xref" href="Hi.Mech.Topo.IGetAnchor.html">IGetAnchor</a></dt>
|
|
<dd><p>The starting anchor of the chain.</p>
|
|
</dd>
|
|
<dt><code>tail</code> <a class="xref" href="Hi.Mech.Topo.IGetAnchor.html">IGetAnchor</a></dt>
|
|
<dd><p>The ending anchor of the chain.</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
<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.Mech.Topo.DirectionBranchPack.html">DirectionBranchPack</a>></dt>
|
|
<dd><p>A list of direction-branch pairs representing the chain, or an empty list if no chain exists.</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Mech_Topo_Asmb_GetBranchsXml_" data-uid="Hi.Mech.Topo.Asmb.GetBranchsXml*"></a>
|
|
|
|
<h3 id="Hi_Mech_Topo_Asmb_GetBranchsXml_Hi_Mech_Topo_IGetAnchor_System_String_" data-uid="Hi.Mech.Topo.Asmb.GetBranchsXml(Hi.Mech.Topo.IGetAnchor,System.String)">
|
|
GetBranchsXml(IGetAnchor, string)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Gets the XML representation of all branches in the assembly starting from the specified root.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public XElement GetBranchsXml(IGetAnchor root, string baseDirectory)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>root</code> <a class="xref" href="Hi.Mech.Topo.IGetAnchor.html">IGetAnchor</a></dt>
|
|
<dd><p>The root anchor to start from. If null, uses the first descendant anchor.</p>
|
|
</dd>
|
|
<dt><code>baseDirectory</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
|
<dd><p>The base directory for file references.</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.xml.linq.xelement">XElement</a></dt>
|
|
<dd><p>An XML element containing all branches in the assembly.</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Mech_Topo_Asmb_GetDescendantAnchorSet_" data-uid="Hi.Mech.Topo.Asmb.GetDescendantAnchorSet*"></a>
|
|
|
|
<h3 id="Hi_Mech_Topo_Asmb_GetDescendantAnchorSet_System_Boolean_" data-uid="Hi.Mech.Topo.Asmb.GetDescendantAnchorSet(System.Boolean)">
|
|
GetDescendantAnchorSet(bool)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Generate an anchor set from all descendant anchors.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public HashSet<Anchor> GetDescendantAnchorSet(bool enableThreadSafe = true)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>enableThreadSafe</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</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.collections.generic.hashset-1">HashSet</a><<a class="xref" href="Hi.Mech.Topo.Anchor.html">Anchor</a>></dt>
|
|
<dd><p>descendant anchor set</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Mech_Topo_Asmb_GetDescendantAnchors_" data-uid="Hi.Mech.Topo.Asmb.GetDescendantAnchors*"></a>
|
|
|
|
<h3 id="Hi_Mech_Topo_Asmb_GetDescendantAnchors_System_Boolean_" data-uid="Hi.Mech.Topo.Asmb.GetDescendantAnchors(System.Boolean)">
|
|
GetDescendantAnchors(bool)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Gets a list of all descendant anchors in the assembly hierarchy.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public List<Anchor> GetDescendantAnchors(bool enableThreadSafe = true)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>enableThreadSafe</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
|
|
<dd><p>If true, uses thread-safe operations for accessing collections.</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
<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.Mech.Topo.Anchor.html">Anchor</a>></dt>
|
|
<dd><p>A list of all descendant anchors.</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Mech_Topo_Asmb_GetDescendantAsmbSet_" data-uid="Hi.Mech.Topo.Asmb.GetDescendantAsmbSet*"></a>
|
|
|
|
<h3 id="Hi_Mech_Topo_Asmb_GetDescendantAsmbSet_System_Boolean_" data-uid="Hi.Mech.Topo.Asmb.GetDescendantAsmbSet(System.Boolean)">
|
|
GetDescendantAsmbSet(bool)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Gets a set of all descendant assemblies in the assembly hierarchy.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public HashSet<Asmb> GetDescendantAsmbSet(bool enableThreadSafe = true)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>enableThreadSafe</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
|
|
<dd><p>If true, uses thread-safe operations for accessing collections.</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.hashset-1">HashSet</a><<a class="xref" href="Hi.Mech.Topo.Asmb.html">Asmb</a>></dt>
|
|
<dd><p>A set of all descendant assemblies.</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Mech_Topo_Asmb_GetDescendantAsmbs_" data-uid="Hi.Mech.Topo.Asmb.GetDescendantAsmbs*"></a>
|
|
|
|
<h3 id="Hi_Mech_Topo_Asmb_GetDescendantAsmbs_System_Boolean_" data-uid="Hi.Mech.Topo.Asmb.GetDescendantAsmbs(System.Boolean)">
|
|
GetDescendantAsmbs(bool)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Gets a list of all descendant assemblies in the assembly hierarchy.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public List<Asmb> GetDescendantAsmbs(bool enableThreadSafe = true)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>enableThreadSafe</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
|
|
<dd><p>If true, uses thread-safe operations for accessing collections.</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
<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.Mech.Topo.Asmb.html">Asmb</a>></dt>
|
|
<dd><p>A list of all descendant assemblies.</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Mech_Topo_Asmb_GetDescendingName_" data-uid="Hi.Mech.Topo.Asmb.GetDescendingName*"></a>
|
|
|
|
<h3 id="Hi_Mech_Topo_Asmb_GetDescendingName_Hi_Mech_Topo_Anchor_" data-uid="Hi.Mech.Topo.Asmb.GetDescendingName(Hi.Mech.Topo.Anchor)">
|
|
GetDescendingName(Anchor)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Gets the descending name path for an anchor, combining assembly names with dashes.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public string GetDescendingName(Anchor anc)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>anc</code> <a class="xref" href="Hi.Mech.Topo.Anchor.html">Anchor</a></dt>
|
|
<dd><p>The anchor to get the descending name for.</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>The full descending name path, or null if the anchor is not found in the assembly hierarchy.</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Mech_Topo_Asmb_GetDescendingName_" data-uid="Hi.Mech.Topo.Asmb.GetDescendingName*"></a>
|
|
|
|
<h3 id="Hi_Mech_Topo_Asmb_GetDescendingName_Hi_Mech_Topo_Asmb_" data-uid="Hi.Mech.Topo.Asmb.GetDescendingName(Hi.Mech.Topo.Asmb)">
|
|
GetDescendingName(Asmb)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Gets the descending name path for a child assembly, combining assembly names with dashes.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public string GetDescendingName(Asmb asmb)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>asmb</code> <a class="xref" href="Hi.Mech.Topo.Asmb.html">Asmb</a></dt>
|
|
<dd><p>The assembly to get the descending name for.</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>The full descending name path, or null if the assembly is not found in the hierarchy.</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Mech_Topo_Asmb_GetHierarchyString_" data-uid="Hi.Mech.Topo.Asmb.GetHierarchyString*"></a>
|
|
|
|
<h3 id="Hi_Mech_Topo_Asmb_GetHierarchyString" data-uid="Hi.Mech.Topo.Asmb.GetHierarchyString">
|
|
GetHierarchyString()
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Gets a string representation of the assembly hierarchy.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public string GetHierarchyString()</code></pre>
|
|
</div>
|
|
|
|
|
|
<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 string describing the assembly hierarchy.</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Mech_Topo_Asmb_GetInnerBranchSet_" data-uid="Hi.Mech.Topo.Asmb.GetInnerBranchSet*"></a>
|
|
|
|
<h3 id="Hi_Mech_Topo_Asmb_GetInnerBranchSet_System_Boolean_" data-uid="Hi.Mech.Topo.Asmb.GetInnerBranchSet(System.Boolean)">
|
|
GetInnerBranchSet(bool)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Gets a set of branches that are internal to this assembly.
|
|
A branch is considered internal if both its endpoints are anchors within this assembly.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public HashSet<Branch> GetInnerBranchSet(bool enableThreadSafe = true)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>enableThreadSafe</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
|
|
<dd><p>If true, uses thread-safe operations for accessing collections.</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.hashset-1">HashSet</a><<a class="xref" href="Hi.Mech.Topo.Branch.html">Branch</a>></dt>
|
|
<dd><p>A set of internal branches.</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Mech_Topo_Asmb_GetMat4d_" data-uid="Hi.Mech.Topo.Asmb.GetMat4d*"></a>
|
|
|
|
<h3 id="Hi_Mech_Topo_Asmb_GetMat4d_Hi_Mech_Topo_IGetAnchor_Hi_Mech_Topo_IGetAnchor_" data-uid="Hi.Mech.Topo.Asmb.GetMat4d(Hi.Mech.Topo.IGetAnchor,Hi.Mech.Topo.IGetAnchor)">
|
|
GetMat4d(IGetAnchor, IGetAnchor)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Gets the transformation matrix between two anchors in the assembly.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public Mat4d GetMat4d(IGetAnchor root, IGetAnchor tail)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>root</code> <a class="xref" href="Hi.Mech.Topo.IGetAnchor.html">IGetAnchor</a></dt>
|
|
<dd><p>The source anchor for the transformation.</p>
|
|
</dd>
|
|
<dt><code>tail</code> <a class="xref" href="Hi.Mech.Topo.IGetAnchor.html">IGetAnchor</a></dt>
|
|
<dd><p>The target anchor for the transformation.</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Hi.Geom.Mat4d.html">Mat4d</a></dt>
|
|
<dd><p>The 4x4 transformation matrix from root to tail.</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Mech_Topo_Asmb_GetMat4dMap_" data-uid="Hi.Mech.Topo.Asmb.GetMat4dMap*"></a>
|
|
|
|
<h3 id="Hi_Mech_Topo_Asmb_GetMat4dMap_Hi_Mech_Topo_IGetAnchor_" data-uid="Hi.Mech.Topo.Asmb.GetMat4dMap(Hi.Mech.Topo.IGetAnchor)">
|
|
GetMat4dMap(IGetAnchor)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Gets a mapping of anchors to their transformation matrices relative to the root anchor.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public Dictionary<Anchor, Mat4d> GetMat4dMap(IGetAnchor root)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>root</code> <a class="xref" href="Hi.Mech.Topo.IGetAnchor.html">IGetAnchor</a></dt>
|
|
<dd><p>The root anchor to calculate transformations from.</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2">Dictionary</a><<a class="xref" href="Hi.Mech.Topo.Anchor.html">Anchor</a>, <a class="xref" href="Hi.Geom.Mat4d.html">Mat4d</a>></dt>
|
|
<dd><p>A dictionary mapping anchors to their transformation matrices.</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Mech_Topo_Asmb_GetMat4dMapWithBlocks_" data-uid="Hi.Mech.Topo.Asmb.GetMat4dMapWithBlocks*"></a>
|
|
|
|
<h3 id="Hi_Mech_Topo_Asmb_GetMat4dMapWithBlocks_Hi_Mech_Topo_IGetAnchor_Hi_Mech_Topo_Anchor___" data-uid="Hi.Mech.Topo.Asmb.GetMat4dMapWithBlocks(Hi.Mech.Topo.IGetAnchor,Hi.Mech.Topo.Anchor[])">
|
|
GetMat4dMapWithBlocks(IGetAnchor, params Anchor[])
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Gets a mapping of anchors to their transformation matrices relative to the root anchor, excluding specified blocked anchors.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public Dictionary<Anchor, Mat4d> GetMat4dMapWithBlocks(IGetAnchor root, params Anchor[] blockeds)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>root</code> <a class="xref" href="Hi.Mech.Topo.IGetAnchor.html">IGetAnchor</a></dt>
|
|
<dd><p>The root anchor to calculate transformations from.</p>
|
|
</dd>
|
|
<dt><code>blockeds</code> <a class="xref" href="Hi.Mech.Topo.Anchor.html">Anchor</a>[]</dt>
|
|
<dd><p>Array of anchors to exclude from the calculation.</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2">Dictionary</a><<a class="xref" href="Hi.Mech.Topo.Anchor.html">Anchor</a>, <a class="xref" href="Hi.Geom.Mat4d.html">Mat4d</a>></dt>
|
|
<dd><p>A dictionary mapping anchors to their transformation matrices.</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Mech_Topo_Asmb_ShowMat4dMap_" data-uid="Hi.Mech.Topo.Asmb.ShowMat4dMap*"></a>
|
|
|
|
<h3 id="Hi_Mech_Topo_Asmb_ShowMat4dMap_System_Collections_Generic_Dictionary_Hi_Mech_Topo_Anchor_Hi_Geom_Mat4d__" data-uid="Hi.Mech.Topo.Asmb.ShowMat4dMap(System.Collections.Generic.Dictionary{Hi.Mech.Topo.Anchor,Hi.Geom.Mat4d})">
|
|
ShowMat4dMap(Dictionary<Anchor, Mat4d>)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Show mat map in text on console.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static void ShowMat4dMap(Dictionary<Anchor, Mat4d> map)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>map</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2">Dictionary</a><<a class="xref" href="Hi.Mech.Topo.Anchor.html">Anchor</a>, <a class="xref" href="Hi.Geom.Mat4d.html">Mat4d</a>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Mech_Topo_Asmb_ToString_" data-uid="Hi.Mech.Topo.Asmb.ToString*"></a>
|
|
|
|
<h3 id="Hi_Mech_Topo_Asmb_ToString" data-uid="Hi.Mech.Topo.Asmb.ToString">
|
|
ToString()
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Returns a string that represents the current object.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public override string ToString()</code></pre>
|
|
</div>
|
|
|
|
|
|
<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 string that represents the current object.</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Mech_Topo_Asmb_ToXElement_" data-uid="Hi.Mech.Topo.Asmb.ToXElement*"></a>
|
|
|
|
<h3 id="Hi_Mech_Topo_Asmb_ToXElement_Hi_Mech_Topo_IGetAnchor_System_String_" data-uid="Hi.Mech.Topo.Asmb.ToXElement(Hi.Mech.Topo.IGetAnchor,System.String)">
|
|
ToXElement(IGetAnchor, string)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Converts the assembly to an XML element.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public XElement ToXElement(IGetAnchor root, string baseDirectory)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>root</code> <a class="xref" href="Hi.Mech.Topo.IGetAnchor.html">IGetAnchor</a></dt>
|
|
<dd><p>The root anchor for the conversion.</p>
|
|
</dd>
|
|
<dt><code>baseDirectory</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
|
<dd><p>The base directory for file references.</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.xml.linq.xelement">XElement</a></dt>
|
|
<dd><p>An XML element representing the assembly.</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Mech_Topo_Asmb_ToXElement_" data-uid="Hi.Mech.Topo.Asmb.ToXElement*"></a>
|
|
|
|
<h3 id="Hi_Mech_Topo_Asmb_ToXElement_System_String_" data-uid="Hi.Mech.Topo.Asmb.ToXElement(System.String)">
|
|
ToXElement(string)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Converts the assembly to an XML element.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public XElement ToXElement(string baseDirectory)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>baseDirectory</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
|
<dd><p>The base directory for file references.</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.xml.linq.xelement">XElement</a></dt>
|
|
<dd><p>An XML element representing the assembly.</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
|
|
<div class="contribution d-print-none">
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
<div class="affix">
|
|
<nav id="affix"></nav>
|
|
</div>
|
|
</main>
|
|
|
|
<div class="container-xxl search-results" id="search-results"></div>
|
|
|
|
<footer class="border-top text-secondary">
|
|
<div class="container-xxl">
|
|
<div class="flex-fill">
|
|
<span> Copyright © 2025 <a href='https://superhightech.com.tw'>Tech Coordinate</a>. All rights reserved. <a href='https://superhightech.com.tw'>超級高科技股份有限公司</a> © 2025 版權所有 </span>
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
</body>
|
|
</html>
|