Archived
810 lines
24 KiB
HTML
810 lines
24 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Class PolarPairDef | HiAPI-C# 2025 </title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta name="title" content="Class PolarPairDef | HiAPI-C# 2025 ">
|
|
|
|
<meta name="description" content="Axis mapping of a Polar Coordinate Interpolation pair (): which program/machine axes carry the radius, the plane depth, and the rotation. The polar math itself runs in "triple space" — the Rxcz vector (linear/radius, hypothetical, depth) with the plane normal fixed at the third component — and is pair-independent; this definition maps the triple's ends onto real axes: NC words on the way in, machine coordinates on the way out. The plane normal equals the rotary's rotation axis (C about Z, A about X, B about Y), so doubles as the ABC component of the angle. The lathe diameter-programming convention (the radius word arrives doubled) applies to the X axis only, i.e. the XC pair — mirroring HardNc PolarEntry, which halves X unconditionally. HardNc's own YA/ZB slots are dead code (never selected); its ProgramOrthogonalPlaneNormal table carried swapped normals for them, corrected alongside this implementation.">
|
|
<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.Numerical.Args.PolarPairDef">
|
|
|
|
|
|
|
|
<h1 id="Hi_Numerical_Args_PolarPairDef" data-uid="Hi.Numerical.Args.PolarPairDef" class="text-break">
|
|
Class PolarPairDef
|
|
</h1>
|
|
|
|
<div class="facts text-secondary">
|
|
<dl><dt>Namespace</dt><dd><a class="xref" href="Hi.html">Hi</a>.<a class="xref" href="Hi.Numerical.html">Numerical</a>.<a class="xref" href="Hi.Numerical.Args.html">Args</a></dd></dl>
|
|
<dl><dt>Assembly</dt><dd>HiMech.dll</dd></dl>
|
|
</div>
|
|
|
|
<div class="markdown summary"><p>Axis mapping of a Polar Coordinate Interpolation pair
|
|
(<a class="xref" href="Hi.Numerical.Args.PolarModeDirEnum.html">PolarModeDirEnum</a>): which program/machine axes carry the
|
|
radius, the plane depth, and the rotation.</p>
|
|
<p>
|
|
The polar math itself runs in "triple space" — the Rxcz vector
|
|
(linear/radius, hypothetical, depth) with the plane normal fixed at the
|
|
third component — and is pair-independent; this definition maps the
|
|
triple's ends onto real axes: NC words on the way in, machine
|
|
coordinates on the way out. The plane normal equals the rotary's
|
|
rotation axis (C about Z, A about X, B about Y), so
|
|
<a class="xref" href="Hi.Numerical.Args.PolarPairDef.html#Hi_Numerical_Args_PolarPairDef_NormalIndex">NormalIndex</a> doubles as the ABC component of the angle.
|
|
</p>
|
|
<p>
|
|
The lathe diameter-programming convention (the radius word arrives
|
|
doubled) applies to the X axis only, i.e. the XC pair — mirroring
|
|
HardNc <code>PolarEntry</code>, which halves X unconditionally. HardNc's own
|
|
YA/ZB slots are dead code (never selected); its
|
|
<code>ProgramOrthogonalPlaneNormal</code> table carried swapped normals for
|
|
them, corrected alongside this implementation.
|
|
</p>
|
|
</div>
|
|
<div class="markdown conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public sealed class PolarPairDef</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">PolarPairDef</span></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.referenceequals">object.ReferenceEquals(object, object)</a>
|
|
</div>
|
|
<div>
|
|
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.tostring">object.ToString()</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="fields">Fields
|
|
</h2>
|
|
|
|
|
|
|
|
<h3 id="Hi_Numerical_Args_PolarPairDef_XC" data-uid="Hi.Numerical.Args.PolarPairDef.XC">
|
|
XC
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>X linear + C rotary about Z (the standard turn-mill pair).</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static readonly PolarPairDef XC</code></pre>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<h4 class="section">Field Value</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Hi.Numerical.Args.PolarPairDef.html">PolarPairDef</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h3 id="Hi_Numerical_Args_PolarPairDef_YA" data-uid="Hi.Numerical.Args.PolarPairDef.YA">
|
|
YA
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Y linear + A rotary about X.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static readonly PolarPairDef YA</code></pre>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<h4 class="section">Field Value</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Hi.Numerical.Args.PolarPairDef.html">PolarPairDef</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h3 id="Hi_Numerical_Args_PolarPairDef_ZB" data-uid="Hi.Numerical.Args.PolarPairDef.ZB">
|
|
ZB
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Z linear + B rotary about Y.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static readonly PolarPairDef ZB</code></pre>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<h4 class="section">Field Value</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Hi.Numerical.Args.PolarPairDef.html">PolarPairDef</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h2 class="section" id="properties">Properties
|
|
</h2>
|
|
|
|
|
|
<a id="Hi_Numerical_Args_PolarPairDef_DepthWord_" data-uid="Hi.Numerical.Args.PolarPairDef.DepthWord*"></a>
|
|
|
|
<h3 id="Hi_Numerical_Args_PolarPairDef_DepthWord" data-uid="Hi.Numerical.Args.PolarPairDef.DepthWord">
|
|
DepthWord
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>NC word of the depth (normal-axis) coordinate.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public string DepthWord { 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_Numerical_Args_PolarPairDef_Dir_" data-uid="Hi.Numerical.Args.PolarPairDef.Dir*"></a>
|
|
|
|
<h3 id="Hi_Numerical_Args_PolarPairDef_Dir" data-uid="Hi.Numerical.Args.PolarPairDef.Dir">
|
|
Dir
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>The Dir string stored in the polar state section.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public string Dir { 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_Numerical_Args_PolarPairDef_IsDiameterProgrammed_" data-uid="Hi.Numerical.Args.PolarPairDef.IsDiameterProgrammed*"></a>
|
|
|
|
<h3 id="Hi_Numerical_Args_PolarPairDef_IsDiameterProgrammed" data-uid="Hi.Numerical.Args.PolarPairDef.IsDiameterProgrammed">
|
|
IsDiameterProgrammed
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Whether the radius word arrives as a diameter (halved on
|
|
parse) — the lathe X convention, XC only.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public bool IsDiameterProgrammed { 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.boolean">bool</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Numerical_Args_PolarPairDef_KeepIndex_" data-uid="Hi.Numerical.Args.PolarPairDef.KeepIndex*"></a>
|
|
|
|
<h3 id="Hi_Numerical_Args_PolarPairDef_KeepIndex" data-uid="Hi.Numerical.Args.PolarPairDef.KeepIndex">
|
|
KeepIndex
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Axis index untouched by the polar pair (frozen in acts).</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public int KeepIndex { 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_Numerical_Args_PolarPairDef_LinearIndex_" data-uid="Hi.Numerical.Args.PolarPairDef.LinearIndex*"></a>
|
|
|
|
<h3 id="Hi_Numerical_Args_PolarPairDef_LinearIndex" data-uid="Hi.Numerical.Args.PolarPairDef.LinearIndex">
|
|
LinearIndex
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Axis index (0/1/2 = X/Y/Z) carrying the radius.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public int LinearIndex { 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_Numerical_Args_PolarPairDef_LinearWord_" data-uid="Hi.Numerical.Args.PolarPairDef.LinearWord*"></a>
|
|
|
|
<h3 id="Hi_Numerical_Args_PolarPairDef_LinearWord" data-uid="Hi.Numerical.Args.PolarPairDef.LinearWord">
|
|
LinearWord
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>NC word of the radius coordinate (“X”/“Y”/“Z”).</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public string LinearWord { 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_Numerical_Args_PolarPairDef_Mode_" data-uid="Hi.Numerical.Args.PolarPairDef.Mode*"></a>
|
|
|
|
<h3 id="Hi_Numerical_Args_PolarPairDef_Mode" data-uid="Hi.Numerical.Args.PolarPairDef.Mode">
|
|
Mode
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>The pair this definition describes.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public PolarModeDirEnum Mode { get; }</code></pre>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<h4 class="section">Property Value</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Hi.Numerical.Args.PolarModeDirEnum.html">PolarModeDirEnum</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Numerical_Args_PolarPairDef_NormalIndex_" data-uid="Hi.Numerical.Args.PolarPairDef.NormalIndex*"></a>
|
|
|
|
<h3 id="Hi_Numerical_Args_PolarPairDef_NormalIndex" data-uid="Hi.Numerical.Args.PolarPairDef.NormalIndex">
|
|
NormalIndex
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Axis index of the plane normal = the rotation axis; also
|
|
the depth axis and the ABC component of the machine angle.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public int NormalIndex { 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_Numerical_Args_PolarPairDef_RotaryAxis_" data-uid="Hi.Numerical.Args.PolarPairDef.RotaryAxis*"></a>
|
|
|
|
<h3 id="Hi_Numerical_Args_PolarPairDef_RotaryAxis" data-uid="Hi.Numerical.Args.PolarPairDef.RotaryAxis">
|
|
RotaryAxis
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Machine rotary letter (“A”/“B”/“C”) — also the NC word of
|
|
the hypothetical coordinate and the per-axis config key.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public string RotaryAxis { 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_Numerical_Args_PolarPairDef_ComposeAbc_" data-uid="Hi.Numerical.Args.PolarPairDef.ComposeAbc*"></a>
|
|
|
|
<h3 id="Hi_Numerical_Args_PolarPairDef_ComposeAbc_System_Double_Hi_Geom_Vec3d_" data-uid="Hi.Numerical.Args.PolarPairDef.ComposeAbc(System.Double,Hi.Geom.Vec3d)">
|
|
ComposeAbc(double, Vec3d)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Composes a machine ABC vector: the pair's rotary component set to
|
|
<code class="paramref">angle_rad</code>, the others inherited from
|
|
<code class="paramref">baseAbc_rad</code>.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public Vec3d ComposeAbc(double angle_rad, Vec3d baseAbc_rad)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>angle_rad</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
|
|
<dd></dd>
|
|
<dt><code>baseAbc_rad</code> <a class="xref" href="Hi.Geom.Vec3d.html">Vec3d</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Hi.Geom.Vec3d.html">Vec3d</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Numerical_Args_PolarPairDef_ComposePoint_" data-uid="Hi.Numerical.Args.PolarPairDef.ComposePoint*"></a>
|
|
|
|
<h3 id="Hi_Numerical_Args_PolarPairDef_ComposePoint_System_Double_System_Double_Hi_Geom_Vec3d_" data-uid="Hi.Numerical.Args.PolarPairDef.ComposePoint(System.Double,System.Double,Hi.Geom.Vec3d)">
|
|
ComposePoint(double, double, Vec3d)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Composes a program/machine point from triple-space values: radius on
|
|
the linear axis, depth on the normal axis, the keep axis inherited
|
|
from <code class="paramref">basePoint</code>.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public Vec3d ComposePoint(double radius, double depth, Vec3d basePoint)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>radius</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
|
|
<dd></dd>
|
|
<dt><code>depth</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
|
|
<dd></dd>
|
|
<dt><code>basePoint</code> <a class="xref" href="Hi.Geom.Vec3d.html">Vec3d</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Hi.Geom.Vec3d.html">Vec3d</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Numerical_Args_PolarPairDef_FromDir_" data-uid="Hi.Numerical.Args.PolarPairDef.FromDir*"></a>
|
|
|
|
<h3 id="Hi_Numerical_Args_PolarPairDef_FromDir_System_String_" data-uid="Hi.Numerical.Args.PolarPairDef.FromDir(System.String)">
|
|
FromDir(string)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Resolves a pair from its Dir string (“XC”/“YA”/“ZB”);
|
|
unknown values fall back to XC.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static PolarPairDef FromDir(string dir)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>dir</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Hi.Numerical.Args.PolarPairDef.html">PolarPairDef</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Numerical_Args_PolarPairDef_FromMode_" data-uid="Hi.Numerical.Args.PolarPairDef.FromMode*"></a>
|
|
|
|
<h3 id="Hi_Numerical_Args_PolarPairDef_FromMode_Hi_Numerical_Args_PolarModeDirEnum_" data-uid="Hi.Numerical.Args.PolarPairDef.FromMode(Hi.Numerical.Args.PolarModeDirEnum)">
|
|
FromMode(PolarModeDirEnum)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Resolves a pair from its <a class="xref" href="Hi.Numerical.Args.PolarModeDirEnum.html">PolarModeDirEnum</a>.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static PolarPairDef FromMode(PolarModeDirEnum mode)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>mode</code> <a class="xref" href="Hi.Numerical.Args.PolarModeDirEnum.html">PolarModeDirEnum</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Hi.Numerical.Args.PolarPairDef.html">PolarPairDef</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Numerical_Args_PolarPairDef_GetRotary_rad_" data-uid="Hi.Numerical.Args.PolarPairDef.GetRotary_rad*"></a>
|
|
|
|
<h3 id="Hi_Numerical_Args_PolarPairDef_GetRotary_rad_Hi_Geom_Vec3d_" data-uid="Hi.Numerical.Args.PolarPairDef.GetRotary_rad(Hi.Geom.Vec3d)">
|
|
GetRotary_rad(Vec3d)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>The pair's rotary component of a machine ABC vector.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public double GetRotary_rad(Vec3d abc_rad)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>abc_rad</code> <a class="xref" href="Hi.Geom.Vec3d.html">Vec3d</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.double">double</a></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>
|