HiNC-2025-win-desktop-Deploy/App/wwwroot/HiAPI-docsite/api/Hi.Geom.Topo.TopoStl3Hfr.html
2026-02-17 15:51:23 +08:00

856 lines
24 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Class TopoStl3Hfr | HiAPI-C# 2025 </title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="title" content="Class TopoStl3Hfr | HiAPI-C# 2025 ">
<meta name="description" content="Pure C# topological STL (triangle mesh) with coordinates. Hfr: High-Precision (decimal) FRaction. Provides unlimited-precision exact arithmetic for geometric computations without relying on native (C++) interop. Corresponds to C++ topo_stl3_t.">
<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 &quot;{query}&quot;">
<meta name="loc:searchNoResults" content="No results for &quot;{query}&quot;">
<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.Geom.Topo.TopoStl3Hfr">
<h1 id="Hi_Geom_Topo_TopoStl3Hfr" data-uid="Hi.Geom.Topo.TopoStl3Hfr" class="text-break">
Class TopoStl3Hfr
</h1>
<div class="facts text-secondary">
<dl><dt>Namespace</dt><dd><a class="xref" href="Hi.html">Hi</a>.<a class="xref" href="Hi.Geom.html">Geom</a>.<a class="xref" href="Hi.Geom.Topo.html">Topo</a></dd></dl>
<dl><dt>Assembly</dt><dd>HiDisp.dll</dd></dl>
</div>
<div class="markdown summary"><p>Pure C# topological STL (triangle mesh) with <a class="xref" href="Hi.Geom.Fraction-1.html">Fraction&lt;decimal&gt;</a> coordinates.
Hfr: High-Precision (decimal) FRaction.
Provides unlimited-precision exact arithmetic for geometric computations
without relying on native (C++) interop.
Corresponds to C++ <code>topo_stl3_t</code>.</p>
</div>
<div class="markdown conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public class TopoStl3Hfr : IDisplayee, IExpandToBox3d, 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">TopoStl3Hfr</span></div>
</dd>
</dl>
<dl class="typelist implements">
<dt>Implements</dt>
<dd>
<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="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.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>
</div>
<div>
<a class="xref" href="Hi.Common.InvokeUtil.html#Hi_Common_InvokeUtil_SelfInvoke__1___0_System_Action___0__">InvokeUtil.SelfInvoke&lt;TSrc&gt;(TSrc, Action&lt;TSrc&gt;)</a>
</div>
<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.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_Geom_Topo_TopoStl3Hfr__ctor_" data-uid="Hi.Geom.Topo.TopoStl3Hfr.#ctor*"></a>
<h3 id="Hi_Geom_Topo_TopoStl3Hfr__ctor_Hi_Geom_Stl_System_Decimal_" data-uid="Hi.Geom.Topo.TopoStl3Hfr.#ctor(Hi.Geom.Stl,System.Decimal)">
TopoStl3Hfr(Stl, decimal)
</h3>
<div class="markdown level1 summary"><p>Initializes a topological STL from an <a class="xref" href="Hi.Geom.Stl.html">Stl</a> model.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public TopoStl3Hfr(Stl stl, decimal fractionResolution)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>stl</code> <a class="xref" href="Hi.Geom.Stl.html">Stl</a></dt>
<dd><p>Source STL model.</p>
</dd>
<dt><code>fractionResolution</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.decimal">decimal</a></dt>
<dd><p>Fraction approximation resolution (decimal).</p>
</dd>
</dl>
<a id="Hi_Geom_Topo_TopoStl3Hfr__ctor_" data-uid="Hi.Geom.Topo.TopoStl3Hfr.#ctor*"></a>
<h3 id="Hi_Geom_Topo_TopoStl3Hfr__ctor_System_Collections_Generic_IReadOnlyList_Hi_Geom_Topo_Vec3Hfr____" data-uid="Hi.Geom.Topo.TopoStl3Hfr.#ctor(System.Collections.Generic.IReadOnlyList{Hi.Geom.Topo.Vec3Hfr[]})">
TopoStl3Hfr(IReadOnlyList&lt;Vec3Hfr[]&gt;)
</h3>
<div class="markdown level1 summary"><p>Initializes a topological STL from fraction-precision triangles (Vec3Hfr arrays).
Each element is a 3-element array of <a class="xref" href="Hi.Geom.Topo.Vec3Hfr.html">Vec3Hfr</a> representing triangle apexes.
Corresponds to C++ constructor <code>topo_stl3_t(Tri3fr_Iter, Tri3fr_Iter)</code>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public TopoStl3Hfr(IReadOnlyList&lt;Vec3Hfr[]&gt; tris)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>tris</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlylist-1">IReadOnlyList</a>&lt;<a class="xref" href="Hi.Geom.Topo.Vec3Hfr.html">Vec3Hfr</a>[]&gt;</dt>
<dd><p>Source triangles as arrays of 3 Vec3Hfr.</p>
</dd>
</dl>
<a id="Hi_Geom_Topo_TopoStl3Hfr__ctor_" data-uid="Hi.Geom.Topo.TopoStl3Hfr.#ctor*"></a>
<h3 id="Hi_Geom_Topo_TopoStl3Hfr__ctor_System_Collections_Generic_IReadOnlyList_Hi_Geom_Tri3d__System_Decimal_" data-uid="Hi.Geom.Topo.TopoStl3Hfr.#ctor(System.Collections.Generic.IReadOnlyList{Hi.Geom.Tri3d},System.Decimal)">
TopoStl3Hfr(IReadOnlyList&lt;Tri3d&gt;, decimal)
</h3>
<div class="markdown level1 summary"><p>Initializes a topological STL from double-precision triangles.
Phase 1 (parallel): converts vertices to fraction coordinates via Stern-Brocot approximation.
Phase 2 (sequential): builds topology (stocks, connectivity).
Corresponds to C++ constructor <code>topo_stl3_t(Tri3d_Iter, Tri3d_Iter, double)</code>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public TopoStl3Hfr(IReadOnlyList&lt;Tri3d&gt; tris, decimal fractionResolution)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>tris</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlylist-1">IReadOnlyList</a>&lt;<a class="xref" href="Hi.Geom.Tri3d.html">Tri3d</a>&gt;</dt>
<dd><p>Source triangles.</p>
</dd>
<dt><code>fractionResolution</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.decimal">decimal</a></dt>
<dd><p>Fraction approximation resolution (decimal).</p>
</dd>
</dl>
<a id="Hi_Geom_Topo_TopoStl3Hfr__ctor_" data-uid="Hi.Geom.Topo.TopoStl3Hfr.#ctor*"></a>
<h3 id="Hi_Geom_Topo_TopoStl3Hfr__ctor_System_Int32_" data-uid="Hi.Geom.Topo.TopoStl3Hfr.#ctor(System.Int32)">
TopoStl3Hfr(int)
</h3>
<div class="markdown level1 summary"><p>Initializes an empty topological STL with the specified triangle capacity.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public TopoStl3Hfr(int trisCap)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>trisCap</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></dt>
<dd><p>Expected number of triangles (for pre-allocation).</p>
</dd>
</dl>
<h2 class="section" id="fields">Fields
</h2>
<h3 id="Hi_Geom_Topo_TopoStl3Hfr_TlStock" data-uid="Hi.Geom.Topo.TopoStl3Hfr.TlStock">
TlStock
</h3>
<div class="markdown level1 summary"><p>The line stock for this topological STL.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public readonly TopoLine3StockHfr TlStock</code></pre>
</div>
<h4 class="section">Field Value</h4>
<dl class="parameters">
<dt><a class="xref" href="Hi.Geom.Topo.TopoLine3StockHfr.html">TopoLine3StockHfr</a></dt>
<dd></dd>
</dl>
<h3 id="Hi_Geom_Topo_TopoStl3Hfr_TpStock" data-uid="Hi.Geom.Topo.TopoStl3Hfr.TpStock">
TpStock
</h3>
<div class="markdown level1 summary"><p>The point stock for this topological STL.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public readonly TopoPoint3StockHfr TpStock</code></pre>
</div>
<h4 class="section">Field Value</h4>
<dl class="parameters">
<dt><a class="xref" href="Hi.Geom.Topo.TopoPoint3StockHfr.html">TopoPoint3StockHfr</a></dt>
<dd></dd>
</dl>
<h3 id="Hi_Geom_Topo_TopoStl3Hfr_TtStock" data-uid="Hi.Geom.Topo.TopoStl3Hfr.TtStock">
TtStock
</h3>
<div class="markdown level1 summary"><p>The triangle stock for this topological STL.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public readonly TopoTri3StockHfr TtStock</code></pre>
</div>
<h4 class="section">Field Value</h4>
<dl class="parameters">
<dt><a class="xref" href="Hi.Geom.Topo.TopoTri3StockHfr.html">TopoTri3StockHfr</a></dt>
<dd></dd>
</dl>
<h2 class="section" id="properties">Properties
</h2>
<a id="Hi_Geom_Topo_TopoStl3Hfr_Count_" data-uid="Hi.Geom.Topo.TopoStl3Hfr.Count*"></a>
<h3 id="Hi_Geom_Topo_TopoStl3Hfr_Count" data-uid="Hi.Geom.Topo.TopoStl3Hfr.Count">
Count
</h3>
<div class="markdown level1 summary"><p>Gets the number of triangles.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public int Count { 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.int32">int</a></dt>
<dd></dd>
</dl>
<a id="Hi_Geom_Topo_TopoStl3Hfr_FlatDisplayee_" data-uid="Hi.Geom.Topo.TopoStl3Hfr.FlatDisplayee*"></a>
<h3 id="Hi_Geom_Topo_TopoStl3Hfr_FlatDisplayee" data-uid="Hi.Geom.Topo.TopoStl3Hfr.FlatDisplayee">
FlatDisplayee
</h3>
<div class="markdown level1 summary"><p>Gets the flat-shaded displayee for this topological STL.
Created lazily on first access.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public TopoStl3HfrFlatDisplayee FlatDisplayee { get; }</code></pre>
</div>
<h4 class="section">Property Value</h4>
<dl class="parameters">
<dt><a class="xref" href="Hi.Geom.Topo.TopoStl3HfrFlatDisplayee.html">TopoStl3HfrFlatDisplayee</a></dt>
<dd></dd>
</dl>
<h2 class="section" id="methods">Methods
</h2>
<a id="Hi_Geom_Topo_TopoStl3Hfr_ClearDrawingsCache_" data-uid="Hi.Geom.Topo.TopoStl3Hfr.ClearDrawingsCache*"></a>
<h3 id="Hi_Geom_Topo_TopoStl3Hfr_ClearDrawingsCache" data-uid="Hi.Geom.Topo.TopoStl3Hfr.ClearDrawingsCache">
ClearDrawingsCache()
</h3>
<div class="markdown level1 summary"><p>Invalidates all cached displayees. Call this after modifying the topology.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void ClearDrawingsCache()</code></pre>
</div>
<a id="Hi_Geom_Topo_TopoStl3Hfr_Display_" data-uid="Hi.Geom.Topo.TopoStl3Hfr.Display*"></a>
<h3 id="Hi_Geom_Topo_TopoStl3Hfr_Display_Hi_Disp_Bind_" data-uid="Hi.Geom.Topo.TopoStl3Hfr.Display(Hi.Disp.Bind)">
Display(Bind)
</h3>
<div class="markdown level1 summary"><p>Displays the topological STL using flat shading.
For smooth rendering, use <a class="xref" href="Hi.Geom.Topo.TopoStl3HfrSmoothDisplayee.html">TopoStl3HfrSmoothDisplayee</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void Display(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><p>The rendering bind context.</p>
</dd>
</dl>
<a id="Hi_Geom_Topo_TopoStl3Hfr_Dispose_" data-uid="Hi.Geom.Topo.TopoStl3Hfr.Dispose*"></a>
<h3 id="Hi_Geom_Topo_TopoStl3Hfr_Dispose" data-uid="Hi.Geom.Topo.TopoStl3Hfr.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_Geom_Topo_TopoStl3Hfr_Dispose_" data-uid="Hi.Geom.Topo.TopoStl3Hfr.Dispose*"></a>
<h3 id="Hi_Geom_Topo_TopoStl3Hfr_Dispose_System_Boolean_" data-uid="Hi.Geom.Topo.TopoStl3Hfr.Dispose(System.Boolean)">
Dispose(bool)
</h3>
<div class="markdown level1 summary"><p>Disposes the cached drawings.</p>
</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_Geom_Topo_TopoStl3Hfr_ExpandToBox3d_" data-uid="Hi.Geom.Topo.TopoStl3Hfr.ExpandToBox3d*"></a>
<h3 id="Hi_Geom_Topo_TopoStl3Hfr_ExpandToBox3d_Hi_Geom_Box3d_" data-uid="Hi.Geom.Topo.TopoStl3Hfr.ExpandToBox3d(Hi.Geom.Box3d)">
ExpandToBox3d(Box3d)
</h3>
<div class="markdown level1 summary"><p>Expands the box to include all points.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void ExpandToBox3d(Box3d dst)</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></dd>
</dl>
<a id="Hi_Geom_Topo_TopoStl3Hfr_IsSeamless_" data-uid="Hi.Geom.Topo.TopoStl3Hfr.IsSeamless*"></a>
<h3 id="Hi_Geom_Topo_TopoStl3Hfr_IsSeamless" data-uid="Hi.Geom.Topo.TopoStl3Hfr.IsSeamless">
IsSeamless()
</h3>
<div class="markdown level1 summary"><p>Checks whether the mesh is seamless (all edges have a properly paired reversed line).
A seamless mesh is a necessary condition for a manifold (closed, watertight) geometry.
Corresponds to C++ <code>is_seamless()</code>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public bool IsSeamless()</code></pre>
</div>
<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><p>True if every directed edge has a reversed line with a triangle.</p>
</dd>
</dl>
<a id="Hi_Geom_Topo_TopoStl3Hfr_IsSeamless_" data-uid="Hi.Geom.Topo.TopoStl3Hfr.IsSeamless*"></a>
<h3 id="Hi_Geom_Topo_TopoStl3Hfr_IsSeamless_System_Collections_Generic_List_Hi_Geom_Topo_TopoLine3Hfr__" data-uid="Hi.Geom.Topo.TopoStl3Hfr.IsSeamless(System.Collections.Generic.List{Hi.Geom.Topo.TopoLine3Hfr})">
IsSeamless(List&lt;TopoLine3Hfr&gt;)
</h3>
<div class="markdown level1 summary"><p>Checks whether the mesh is seamless. Defect lines are output to <code class="paramref">dstDefectLines</code>.
Corresponds to C++ <code>is_seamless(vector&lt;topo_line3_t*&gt;&amp;)</code>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public bool IsSeamless(List&lt;TopoLine3Hfr&gt; dstDefectLines)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>dstDefectLines</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a>&lt;<a class="xref" href="Hi.Geom.Topo.TopoLine3Hfr.html">TopoLine3Hfr</a>&gt;</dt>
<dd><p>Output list for defect (non-seamless) lines.</p>
</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><p>True if the mesh is fully seamless.</p>
</dd>
</dl>
<a id="Hi_Geom_Topo_TopoStl3Hfr_ToStl_" data-uid="Hi.Geom.Topo.TopoStl3Hfr.ToStl*"></a>
<h3 id="Hi_Geom_Topo_TopoStl3Hfr_ToStl" data-uid="Hi.Geom.Topo.TopoStl3Hfr.ToStl">
ToStl()
</h3>
<div class="markdown level1 summary"><p>Converts to an <a class="xref" href="Hi.Geom.Stl.html">Stl</a> model.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Stl ToStl()</code></pre>
</div>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="Hi.Geom.Stl.html">Stl</a></dt>
<dd></dd>
</dl>
<a id="Hi_Geom_Topo_TopoStl3Hfr_ToString_" data-uid="Hi.Geom.Topo.TopoStl3Hfr.ToString*"></a>
<h3 id="Hi_Geom_Topo_TopoStl3Hfr_ToString" data-uid="Hi.Geom.Topo.TopoStl3Hfr.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_Geom_Topo_TopoStl3Hfr_ToTris_" data-uid="Hi.Geom.Topo.TopoStl3Hfr.ToTris*"></a>
<h3 id="Hi_Geom_Topo_TopoStl3Hfr_ToTris" data-uid="Hi.Geom.Topo.TopoStl3Hfr.ToTris">
ToTris()
</h3>
<div class="markdown level1 summary"><p>Converts all triangles to a list of <a class="xref" href="Hi.Geom.Tri3d.html">Tri3d</a> (double precision).
Corresponds to C++ <code>to_tris()</code>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public List&lt;Tri3d&gt; ToTris()</code></pre>
</div>
<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>&lt;<a class="xref" href="Hi.Geom.Tri3d.html">Tri3d</a>&gt;</dt>
<dd></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>