HiNC-2025-win-desktop-Deploy/App/wwwroot/HiAPI-docsite/api/Hi.Milling.Apts.GeneralApt.html
2025-07-25 16:27:29 +08:00

1199 lines
35 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Class GeneralApt | HiAPI-C# 2025 </title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="title" content="Class GeneralApt | HiAPI-C# 2025 ">
<meta name="description" content="APT standard milling cutter geometry.">
<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.Milling.Apts.GeneralApt">
<h1 id="Hi_Milling_Apts_GeneralApt" data-uid="Hi.Milling.Apts.GeneralApt" class="text-break">
Class GeneralApt
</h1>
<div class="facts text-secondary">
<dl><dt>Namespace</dt><dd><a class="xref" href="Hi.html">Hi</a>.<a class="xref" href="Hi.Milling.html">Milling</a>.<a class="xref" href="Hi.Milling.Apts.html">Apts</a></dd></dl>
<dl><dt>Assembly</dt><dd>HiCbtr.dll</dd></dl>
</div>
<div class="markdown summary"><p>APT standard milling cutter geometry.</p>
</div>
<div class="markdown conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public class GeneralApt : IAptBased, IGetGeneralApt, IAbstractNote, IGetDiameter, IGetFluteHeight, IExpandToBox3d, IMakeXmlSource, IDuplicate, IEquatable&lt;GeneralApt&gt;, IAptRc, IAptRr, IAptRz, IAptAlpha, IAptBeta, IGetZrContour, IToXElement, IGenStl, IClearCache</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">GeneralApt</span></div>
</dd>
</dl>
<dl class="typelist implements">
<dt>Implements</dt>
<dd>
<div><a class="xref" href="Hi.Milling.Apts.IAptBased.html">IAptBased</a></div>
<div><a class="xref" href="Hi.Milling.Apts.IGetGeneralApt.html">IGetGeneralApt</a></div>
<div><a class="xref" href="Hi.Common.IAbstractNote.html">IAbstractNote</a></div>
<div><a class="xref" href="Hi.Milling.IGetDiameter.html">IGetDiameter</a></div>
<div><a class="xref" href="Hi.Milling.IGetFluteHeight.html">IGetFluteHeight</a></div>
<div><a class="xref" href="Hi.Geom.IExpandToBox3d.html">IExpandToBox3d</a></div>
<div><a class="xref" href="Hi.Common.XmlUtils.IMakeXmlSource.html">IMakeXmlSource</a></div>
<div><a class="xref" href="Hi.Common.IDuplicate.html">IDuplicate</a></div>
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.iequatable-1">IEquatable</a>&lt;<a class="xref" href="Hi.Milling.Apts.GeneralApt.html">GeneralApt</a>&gt;</div>
<div><a class="xref" href="Hi.Milling.Apts.IAptRc.html">IAptRc</a></div>
<div><a class="xref" href="Hi.Milling.Apts.IAptRr.html">IAptRr</a></div>
<div><a class="xref" href="Hi.Milling.Apts.IAptRz.html">IAptRz</a></div>
<div><a class="xref" href="Hi.Milling.Apts.IAptAlpha.html">IAptAlpha</a></div>
<div><a class="xref" href="Hi.Milling.Apts.IAptBeta.html">IAptBeta</a></div>
<div><a class="xref" href="Hi.Geom.IGetZrContour.html">IGetZrContour</a></div>
<div><a class="xref" href="Hi.Common.XmlUtils.IToXElement.html">IToXElement</a></div>
<div><a class="xref" href="Hi.Geom.IGenStl.html">IGenStl</a></div>
<div><a class="xref" href="Hi.Common.IClearCache.html">IClearCache</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-system-object)">object.Equals(object, object)</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&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_Milling_Apts_GeneralApt__ctor_" data-uid="Hi.Milling.Apts.GeneralApt.#ctor*"></a>
<h3 id="Hi_Milling_Apts_GeneralApt__ctor" data-uid="Hi.Milling.Apts.GeneralApt.#ctor">
GeneralApt()
</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 GeneralApt()</code></pre>
</div>
<a id="Hi_Milling_Apts_GeneralApt__ctor_" data-uid="Hi.Milling.Apts.GeneralApt.#ctor*"></a>
<h3 id="Hi_Milling_Apts_GeneralApt__ctor_Hi_Milling_Apts_GeneralApt_" data-uid="Hi.Milling.Apts.GeneralApt.#ctor(Hi.Milling.Apts.GeneralApt)">
GeneralApt(GeneralApt)
</h3>
<div class="markdown level1 summary"><p>Copy ctor.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public GeneralApt(GeneralApt src)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>src</code> <a class="xref" href="Hi.Milling.Apts.GeneralApt.html">GeneralApt</a></dt>
<dd><p>src</p>
</dd>
</dl>
<a id="Hi_Milling_Apts_GeneralApt__ctor_" data-uid="Hi.Milling.Apts.GeneralApt.#ctor*"></a>
<h3 id="Hi_Milling_Apts_GeneralApt__ctor_System_Double_System_Double_System_Double_System_Double_System_Double_System_Double_System_Double_" data-uid="Hi.Milling.Apts.GeneralApt.#ctor(System.Double,System.Double,System.Double,System.Double,System.Double,System.Double,System.Double)">
GeneralApt(double, double, double, double, double, double, double)
</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 GeneralApt(double D, double R0, double Rr, double Rz, double alpha_rad, double beta_rad, double fluteH)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>D</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
<dd><p>see <a class="xref" href="Hi.Milling.Apts.GeneralApt.html#Hi_Milling_Apts_GeneralApt_Diameter_mm">Diameter_mm</a></p>
</dd>
<dt><code>R0</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
<dd><p>see <a class="xref" href="Hi.Milling.Apts.GeneralApt.html#Hi_Milling_Apts_GeneralApt_Rc_mm">Rc_mm</a></p>
</dd>
<dt><code>Rr</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
<dd><p>see <a class="xref" href="Hi.Milling.Apts.GeneralApt.html#Hi_Milling_Apts_GeneralApt_Rr_mm">Rr_mm</a></p>
</dd>
<dt><code>Rz</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
<dd><p>see <a class="xref" href="Hi.Milling.Apts.GeneralApt.html#Hi_Milling_Apts_GeneralApt_Rz_mm">Rz_mm</a></p>
</dd>
<dt><code>alpha_rad</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
<dd><p>see <a class="xref" href="Hi.Milling.Apts.GeneralApt.html#Hi_Milling_Apts_GeneralApt_Alpha_rad">Alpha_rad</a></p>
</dd>
<dt><code>beta_rad</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
<dd><p>see <a class="xref" href="Hi.Milling.Apts.GeneralApt.html#Hi_Milling_Apts_GeneralApt_Beta_rad">Beta_rad</a></p>
</dd>
<dt><code>fluteH</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
<dd><p>see <a class="xref" href="Hi.Milling.Apts.GeneralApt.html#Hi_Milling_Apts_GeneralApt_FluteHeight_mm">FluteHeight_mm</a></p>
</dd>
</dl>
<a id="Hi_Milling_Apts_GeneralApt__ctor_" data-uid="Hi.Milling.Apts.GeneralApt.#ctor*"></a>
<h3 id="Hi_Milling_Apts_GeneralApt__ctor_System_Xml_Linq_XElement_" data-uid="Hi.Milling.Apts.GeneralApt.#ctor(System.Xml.Linq.XElement)">
GeneralApt(XElement)
</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 GeneralApt(XElement src)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>src</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.xml.linq.xelement">XElement</a></dt>
<dd><p>XML</p>
</dd>
</dl>
<h2 class="section" id="properties">Properties
</h2>
<a id="Hi_Milling_Apts_GeneralApt_AbstractNote_" data-uid="Hi.Milling.Apts.GeneralApt.AbstractNote*"></a>
<h3 id="Hi_Milling_Apts_GeneralApt_AbstractNote" data-uid="Hi.Milling.Apts.GeneralApt.AbstractNote">
AbstractNote
</h3>
<div class="markdown level1 summary"><p>Gets a descriptive note or abstract about the object.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public string AbstractNote { 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>
<a id="Hi_Milling_Apts_GeneralApt_Alpha_deg_" data-uid="Hi.Milling.Apts.GeneralApt.Alpha_deg*"></a>
<h3 id="Hi_Milling_Apts_GeneralApt_Alpha_deg" data-uid="Hi.Milling.Apts.GeneralApt.Alpha_deg">
Alpha_deg
</h3>
<div class="markdown level1 summary"><p><a class="xref" href="Hi.Milling.Apts.GeneralApt.html#Hi_Milling_Apts_GeneralApt_Alpha_rad">Alpha_rad</a> in degree.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public double Alpha_deg { 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.double">double</a></dt>
<dd></dd>
</dl>
<a id="Hi_Milling_Apts_GeneralApt_Alpha_rad_" data-uid="Hi.Milling.Apts.GeneralApt.Alpha_rad*"></a>
<h3 id="Hi_Milling_Apts_GeneralApt_Alpha_rad" data-uid="Hi.Milling.Apts.GeneralApt.Alpha_rad">
Alpha_rad
</h3>
<div class="markdown level1 summary"><p>The angle between horizontal plane and the cone surface of the cutter tip.
The angle is downside the cutter round (if exists).
If the cutter is cylindrical mill, the angle is 0.
The unit is radian.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public double Alpha_rad { 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.double">double</a></dt>
<dd></dd>
</dl>
<a id="Hi_Milling_Apts_GeneralApt_AptDerivative_" data-uid="Hi.Milling.Apts.GeneralApt.AptDerivative*"></a>
<h3 id="Hi_Milling_Apts_GeneralApt_AptDerivative" data-uid="Hi.Milling.Apts.GeneralApt.AptDerivative">
AptDerivative
</h3>
<div class="markdown level1 summary"><p>Gets the APT derivative object, creating it if it doesn't exist.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public AptDerivative AptDerivative { get; }</code></pre>
</div>
<h4 class="section">Property Value</h4>
<dl class="parameters">
<dt><a class="xref" href="Hi.Milling.Apts.AptDerivative.html">AptDerivative</a></dt>
<dd></dd>
</dl>
<a id="Hi_Milling_Apts_GeneralApt_Beta_deg_" data-uid="Hi.Milling.Apts.GeneralApt.Beta_deg*"></a>
<h3 id="Hi_Milling_Apts_GeneralApt_Beta_deg" data-uid="Hi.Milling.Apts.GeneralApt.Beta_deg">
Beta_deg
</h3>
<div class="markdown level1 summary"><p><a class="xref" href="Hi.Milling.Apts.GeneralApt.html#Hi_Milling_Apts_GeneralApt_Beta_rad">Beta_rad</a> in degree.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public double Beta_deg { 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.double">double</a></dt>
<dd></dd>
</dl>
<a id="Hi_Milling_Apts_GeneralApt_Beta_rad_" data-uid="Hi.Milling.Apts.GeneralApt.Beta_rad*"></a>
<h3 id="Hi_Milling_Apts_GeneralApt_Beta_rad" data-uid="Hi.Milling.Apts.GeneralApt.Beta_rad">
Beta_rad
</h3>
<div class="markdown level1 summary"><p>The angle between stick axis and the side plane of cutter.
The angle is upside the cutter round (if exists).
The unit is radian.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public double Beta_rad { 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.double">double</a></dt>
<dd></dd>
</dl>
<a id="Hi_Milling_Apts_GeneralApt_Diameter_mm_" data-uid="Hi.Milling.Apts.GeneralApt.Diameter_mm*"></a>
<h3 id="Hi_Milling_Apts_GeneralApt_Diameter_mm" data-uid="Hi.Milling.Apts.GeneralApt.Diameter_mm">
Diameter_mm
</h3>
<div class="markdown level1 summary"><p>Diameter.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public double Diameter_mm { 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.double">double</a></dt>
<dd></dd>
</dl>
<a id="Hi_Milling_Apts_GeneralApt_FluteHeight_mm_" data-uid="Hi.Milling.Apts.GeneralApt.FluteHeight_mm*"></a>
<h3 id="Hi_Milling_Apts_GeneralApt_FluteHeight_mm" data-uid="Hi.Milling.Apts.GeneralApt.FluteHeight_mm">
FluteHeight_mm
</h3>
<div class="markdown level1 summary"><p>Full Height.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public double FluteHeight_mm { 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.double">double</a></dt>
<dd></dd>
</dl>
<a id="Hi_Milling_Apts_GeneralApt_Rc_mm_" data-uid="Hi.Milling.Apts.GeneralApt.Rc_mm*"></a>
<h3 id="Hi_Milling_Apts_GeneralApt_Rc_mm" data-uid="Hi.Milling.Apts.GeneralApt.Rc_mm">
Rc_mm
</h3>
<div class="markdown level1 summary"><p>Round radius.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public double Rc_mm { 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.double">double</a></dt>
<dd></dd>
</dl>
<a id="Hi_Milling_Apts_GeneralApt_Rr_mm_" data-uid="Hi.Milling.Apts.GeneralApt.Rr_mm*"></a>
<h3 id="Hi_Milling_Apts_GeneralApt_Rr_mm" data-uid="Hi.Milling.Apts.GeneralApt.Rr_mm">
Rr_mm
</h3>
<div class="markdown level1 summary"><p>Distance between round center to the stick axis.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public double Rr_mm { 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.double">double</a></dt>
<dd></dd>
</dl>
<a id="Hi_Milling_Apts_GeneralApt_Rz_mm_" data-uid="Hi.Milling.Apts.GeneralApt.Rz_mm*"></a>
<h3 id="Hi_Milling_Apts_GeneralApt_Rz_mm" data-uid="Hi.Milling.Apts.GeneralApt.Rz_mm">
Rz_mm
</h3>
<div class="markdown level1 summary"><p>Center between the tip to the round center.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public double Rz_mm { 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.double">double</a></dt>
<dd></dd>
</dl>
<a id="Hi_Milling_Apts_GeneralApt_XName_" data-uid="Hi.Milling.Apts.GeneralApt.XName*"></a>
<h3 id="Hi_Milling_Apts_GeneralApt_XName" data-uid="Hi.Milling.Apts.GeneralApt.XName">
XName
</h3>
<div class="markdown level1 summary"><p>Name for XML IO.</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_Milling_Apts_GeneralApt_ClearCache_" data-uid="Hi.Milling.Apts.GeneralApt.ClearCache*"></a>
<h3 id="Hi_Milling_Apts_GeneralApt_ClearCache" data-uid="Hi.Milling.Apts.GeneralApt.ClearCache">
ClearCache()
</h3>
<div class="markdown level1 summary"><p>Clears the internal cache of APT derivative.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void ClearCache()</code></pre>
</div>
<a id="Hi_Milling_Apts_GeneralApt_Duplicate_" data-uid="Hi.Milling.Apts.GeneralApt.Duplicate*"></a>
<h3 id="Hi_Milling_Apts_GeneralApt_Duplicate_System_Object___" data-uid="Hi.Milling.Apts.GeneralApt.Duplicate(System.Object[])">
Duplicate(params object[])
</h3>
<div class="markdown level1 summary"><p>Creates a deep copy of the object, excluding any source file references.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public object Duplicate(params object[] res)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>res</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a>[]</dt>
<dd><p>Optional parameters that may be needed during the duplication process</p>
</dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></dt>
<dd><p>A new instance that is a deep copy of the original object</p>
</dd>
</dl>
<a id="Hi_Milling_Apts_GeneralApt_Equals_" data-uid="Hi.Milling.Apts.GeneralApt.Equals*"></a>
<h3 id="Hi_Milling_Apts_GeneralApt_Equals_Hi_Milling_Apts_GeneralApt_" data-uid="Hi.Milling.Apts.GeneralApt.Equals(Hi.Milling.Apts.GeneralApt)">
Equals(GeneralApt)
</h3>
<div class="markdown level1 summary"><p>Indicates whether the current object is equal to another object of the same type.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public bool Equals(GeneralApt src)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>src</code> <a class="xref" href="Hi.Milling.Apts.GeneralApt.html">GeneralApt</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.boolean">bool</a></dt>
<dd><p><a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">true</a> if the current object is equal to the <code class="paramref">other</code> parameter; otherwise, <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">false</a>.</p>
</dd>
</dl>
<a id="Hi_Milling_Apts_GeneralApt_Equals_" data-uid="Hi.Milling.Apts.GeneralApt.Equals*"></a>
<h3 id="Hi_Milling_Apts_GeneralApt_Equals_System_Object_" data-uid="Hi.Milling.Apts.GeneralApt.Equals(System.Object)">
Equals(object)
</h3>
<div class="markdown level1 summary"><p>Determines whether the specified object is equal to the current object.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public override bool Equals(object obj)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>obj</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></dt>
<dd><p>The object to compare with the current object.</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><a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">true</a> if the specified object is equal to the current object; otherwise, <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">false</a>.</p>
</dd>
</dl>
<a id="Hi_Milling_Apts_GeneralApt_ExpandToBox3d_" data-uid="Hi.Milling.Apts.GeneralApt.ExpandToBox3d*"></a>
<h3 id="Hi_Milling_Apts_GeneralApt_ExpandToBox3d_Hi_Geom_Box3d_" data-uid="Hi.Milling.Apts.GeneralApt.ExpandToBox3d(Hi.Geom.Box3d)">
ExpandToBox3d(Box3d)
</h3>
<div class="markdown level1 summary"><p>Expands the destination box.
This function is usually used to compute the bounding box of elements.</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><p>Destination box</p>
</dd>
</dl>
<a id="Hi_Milling_Apts_GeneralApt_GenStl_" data-uid="Hi.Milling.Apts.GeneralApt.GenStl*"></a>
<h3 id="Hi_Milling_Apts_GeneralApt_GenStl_Hi_Geom_Resolution_IPolarResolution2d_" data-uid="Hi.Milling.Apts.GeneralApt.GenStl(Hi.Geom.Resolution.IPolarResolution2d)">
GenStl(IPolarResolution2d)
</h3>
<div class="markdown level1 summary"><p>Generate a new Stl.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Stl GenStl(IPolarResolution2d polarResolution)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>polarResolution</code> <a class="xref" href="Hi.Geom.Resolution.IPolarResolution2d.html">IPolarResolution2d</a></dt>
<dd></dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="Hi.Geom.Stl.html">Stl</a></dt>
<dd><p>newly created Stl</p>
</dd>
</dl>
<a id="Hi_Milling_Apts_GeneralApt_GetGeneralApt_" data-uid="Hi.Milling.Apts.GeneralApt.GetGeneralApt*"></a>
<h3 id="Hi_Milling_Apts_GeneralApt_GetGeneralApt" data-uid="Hi.Milling.Apts.GeneralApt.GetGeneralApt">
GetGeneralApt()
</h3>
<div class="markdown level1 summary"><p>Get Apt.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public GeneralApt GetGeneralApt()</code></pre>
</div>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="Hi.Milling.Apts.GeneralApt.html">GeneralApt</a></dt>
<dd><p>Apt</p>
</dd>
</dl>
<a id="Hi_Milling_Apts_GeneralApt_GetHashCode_" data-uid="Hi.Milling.Apts.GeneralApt.GetHashCode*"></a>
<h3 id="Hi_Milling_Apts_GeneralApt_GetHashCode" data-uid="Hi.Milling.Apts.GeneralApt.GetHashCode">
GetHashCode()
</h3>
<div class="markdown level1 summary"><p>Serves as the default hash function.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public override int GetHashCode()</code></pre>
</div>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></dt>
<dd><p>A hash code for the current object.</p>
</dd>
</dl>
<a id="Hi_Milling_Apts_GeneralApt_GetZrContour_" data-uid="Hi.Milling.Apts.GeneralApt.GetZrContour*"></a>
<h3 id="Hi_Milling_Apts_GeneralApt_GetZrContour_System_Double_" data-uid="Hi.Milling.Apts.GeneralApt.GetZrContour(System.Double)">
GetZrContour(double)
</h3>
<div class="markdown level1 summary"><p>Gets Z-R contour data as a list of PairZr objects.
The Z values should generally be ordered from smallest to largest.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public IList&lt;PairZr&gt; GetZrContour(double latitudeAngleResolution_rad)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>latitudeAngleResolution_rad</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
<dd><p>Resolution of latitude angle in radians</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.ilist-1">IList</a>&lt;<a class="xref" href="Hi.Geom.PairZr.html">PairZr</a>&gt;</dt>
<dd><p>Z-R contour data as a list of PairZr objects</p>
</dd>
</dl>
<a id="Hi_Milling_Apts_GeneralApt_MakeXmlSource_" data-uid="Hi.Milling.Apts.GeneralApt.MakeXmlSource*"></a>
<h3 id="Hi_Milling_Apts_GeneralApt_MakeXmlSource_System_String_System_String_System_Boolean_" data-uid="Hi.Milling.Apts.GeneralApt.MakeXmlSource(System.String,System.String,System.Boolean)">
MakeXmlSource(string, string, bool)
</h3>
<div class="markdown level1 summary"><p>Creates an XML representation of the object.
This method may also generate additional resources such as related files.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public XElement MakeXmlSource(string baseDirectory, string relFile, bool exhibitionOnly)</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 resolving relative paths</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>
<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 object's state</p>
</dd>
</dl>
<h4 class="section" id="Hi_Milling_Apts_GeneralApt_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>
<a id="Hi_Milling_Apts_GeneralApt_ToString_" data-uid="Hi.Milling.Apts.GeneralApt.ToString*"></a>
<h3 id="Hi_Milling_Apts_GeneralApt_ToString" data-uid="Hi.Milling.Apts.GeneralApt.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_Milling_Apts_GeneralApt_ToXElement_" data-uid="Hi.Milling.Apts.GeneralApt.ToXElement*"></a>
<h3 id="Hi_Milling_Apts_GeneralApt_ToXElement" data-uid="Hi.Milling.Apts.GeneralApt.ToXElement">
ToXElement()
</h3>
<div class="markdown level1 summary"><p>Get the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.xml.linq.xelement">XElement</a> to represent the object.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public XElement ToXElement()</code></pre>
</div>
<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><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.xml.linq.xelement">XElement</a> to represent the object.</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>