fix postprocess precision.

This commit is contained in:
2026-02-19 21:34:39 +08:00
parent a21240016f
commit 2d38701590
48 changed files with 984 additions and 394 deletions
@@ -178,9 +178,6 @@ Class XyzabcSolver
<h2 id="Hi_Numerical_Xyzabc_XyzabcSolver_remarks">Remarks</h2>
<div class="markdown level0 remarks"><p>Call <a class="xref" href="Hi.Numerical.Xyzabc.XyzabcSolver.html#Hi_Numerical_Xyzabc_XyzabcSolver_Rebuild">Rebuild()</a> if the kinematic chain of <a class="xref" href="Hi.Numerical.Xyzabc.XyzabcSolver.html#Hi_Numerical_Xyzabc_XyzabcSolver_Device">Device</a> is changed.</p>
</div>
<h2 class="section" id="constructors">Constructors
@@ -199,12 +196,12 @@ Class XyzabcSolver
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public XyzabcSolver(IXyzabcChain device)</code></pre>
<pre><code class="lang-csharp hljs">public XyzabcSolver(IXyzabcChain srcDevice)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>device</code> <a class="xref" href="Hi.Numerical.Xyzabc.IXyzabcChain.html">IXyzabcChain</a></dt>
<dt><code>srcDevice</code> <a class="xref" href="Hi.Numerical.Xyzabc.IXyzabcChain.html">IXyzabcChain</a></dt>
<dd><p>target device</p>
</dd>
</dl>
@@ -220,50 +217,14 @@ Class XyzabcSolver
<h2 class="section" id="properties">Properties
</h2>
<a id="Hi_Numerical_Xyzabc_XyzabcSolver_Device_" data-uid="Hi.Numerical.Xyzabc.XyzabcSolver.Device*"></a>
<h3 id="Hi_Numerical_Xyzabc_XyzabcSolver_Device" data-uid="Hi.Numerical.Xyzabc.XyzabcSolver.Device">
Device
</h3>
<div class="markdown level1 summary"><p>Deivce.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public IXyzabcChain Device { get; }</code></pre>
</div>
<h4 class="section">Property Value</h4>
<dl class="parameters">
<dt><a class="xref" href="Hi.Numerical.Xyzabc.IXyzabcChain.html">IXyzabcChain</a></dt>
<dd></dd>
</dl>
<h2 class="section" id="methods">Methods
</h2>
<a id="Hi_Numerical_Xyzabc_XyzabcSolver_AttacherPnToMc_" data-uid="Hi.Numerical.Xyzabc.XyzabcSolver.AttacherPnToMc*"></a>
<a id="Hi_Numerical_Xyzabc_XyzabcSolver_AttacherNpToMc_" data-uid="Hi.Numerical.Xyzabc.XyzabcSolver.AttacherNpToMc*"></a>
<h3 id="Hi_Numerical_Xyzabc_XyzabcSolver_AttacherPnToMc_Hi_Geom_DVec3d_System_Boolean__" data-uid="Hi.Numerical.Xyzabc.XyzabcSolver.AttacherPnToMc(Hi.Geom.DVec3d,System.Boolean@)">
AttacherPnToMc(DVec3d, out bool)
<h3 id="Hi_Numerical_Xyzabc_XyzabcSolver_AttacherNpToMc_Hi_Geom_DVec3d_Hi_Geom_DVec3d__" data-uid="Hi.Numerical.Xyzabc.XyzabcSolver.AttacherNpToMc(Hi.Geom.DVec3d,Hi.Geom.DVec3d@)">
AttacherNpToMc(DVec3d, out DVec3d)
</h3>
@@ -273,22 +234,22 @@ The NP is from table buckle to tool attacher.</p>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public DVec3d AttacherPnToMc(DVec3d np, out bool isConverted)</code></pre>
<pre><code class="lang-csharp hljs">public bool AttacherNpToMc(DVec3d np, out DVec3d mcXyzabc_rad)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>np</code> <a class="xref" href="Hi.Geom.DVec3d.html">DVec3d</a></dt>
<dd></dd>
<dt><code>isConverted</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
<dd><p>is conversion succeed</p>
<dt><code>mcXyzabc_rad</code> <a class="xref" href="Hi.Geom.DVec3d.html">DVec3d</a></dt>
<dd><p>machine coordinate (ABC in radian)</p>
</dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="Hi.Geom.DVec3d.html">DVec3d</a></dt>
<dd><p>machine coordinate</p>
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
<dd><p>whether conversion succeeded</p>
</dd>
</dl>
@@ -479,10 +440,10 @@ the tilt matrix is the transformation matrix from table to attacher.</p>
<a id="Hi_Numerical_Xyzabc_XyzabcSolver_McToAttacherPn_" data-uid="Hi.Numerical.Xyzabc.XyzabcSolver.McToAttacherPn*"></a>
<a id="Hi_Numerical_Xyzabc_XyzabcSolver_McToAttacherNp_" data-uid="Hi.Numerical.Xyzabc.XyzabcSolver.McToAttacherNp*"></a>
<h3 id="Hi_Numerical_Xyzabc_XyzabcSolver_McToAttacherPn_Hi_Geom_DVec3d_" data-uid="Hi.Numerical.Xyzabc.XyzabcSolver.McToAttacherPn(Hi.Geom.DVec3d)">
McToAttacherPn(DVec3d)
<h3 id="Hi_Numerical_Xyzabc_XyzabcSolver_McToAttacherNp_Hi_Geom_DVec3d_" data-uid="Hi.Numerical.Xyzabc.XyzabcSolver.McToAttacherNp(Hi.Geom.DVec3d)">
McToAttacherNp(DVec3d)
</h3>
@@ -492,7 +453,7 @@ The NP is from table buckle to tool attacher.</p>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public DVec3d McToAttacherPn(DVec3d mc)</code></pre>
<pre><code class="lang-csharp hljs">public DVec3d McToAttacherNp(DVec3d mc)</code></pre>
</div>
<h4 class="section">Parameters</h4>
@@ -504,7 +465,7 @@ The NP is from table buckle to tool attacher.</p>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="Hi.Geom.DVec3d.html">DVec3d</a></dt>
<dd><p>tool attacher Pn (Point and Normal)</p>
<dd><p>tool attacher Np (Normal and Point)</p>
</dd>
</dl>
@@ -526,7 +487,7 @@ The NP is from table buckle to tool attacher.</p>
</h3>
<div class="markdown level1 summary"><p>Rebuild the solver.
It should be called after the kinematic chain of <a class="xref" href="Hi.Numerical.Xyzabc.XyzabcSolver.html#Hi_Numerical_Xyzabc_XyzabcSolver_Device">Device</a> is changed.</p>
It should be called after the kinematic chain of <span class="xref">Hi.Numerical.Xyzabc.XyzabcSolver.SrcDevice</span> is modified.</p>
</div>
<div class="markdown level1 conceptual"></div>
@@ -548,8 +509,8 @@ It should be called after the kinematic chain of <a class="xref" href="Hi.Numeri
<a id="Hi_Numerical_Xyzabc_XyzabcSolver_SetNp_" data-uid="Hi.Numerical.Xyzabc.XyzabcSolver.SetNp*"></a>
<h3 id="Hi_Numerical_Xyzabc_XyzabcSolver_SetNp_Hi_Geom_DVec3d_" data-uid="Hi.Numerical.Xyzabc.XyzabcSolver.SetNp(Hi.Geom.DVec3d)">
SetNp(DVec3d)
<h3 id="Hi_Numerical_Xyzabc_XyzabcSolver_SetNp_Hi_Geom_DVec3d_Hi_Geom_DVec3d__" data-uid="Hi.Numerical.Xyzabc.XyzabcSolver.SetNp(Hi.Geom.DVec3d,Hi.Geom.DVec3d@)">
SetNp(DVec3d, out DVec3d)
</h3>
@@ -558,7 +519,7 @@ It should be called after the kinematic chain of <a class="xref" href="Hi.Numeri
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public bool SetNp(DVec3d np)</code></pre>
<pre><code class="lang-csharp hljs">public bool SetNp(DVec3d np, out DVec3d mc)</code></pre>
</div>
<h4 class="section">Parameters</h4>
@@ -566,6 +527,8 @@ It should be called after the kinematic chain of <a class="xref" href="Hi.Numeri
<dt><code>np</code> <a class="xref" href="Hi.Geom.DVec3d.html">DVec3d</a></dt>
<dd><p>normal and point</p>
</dd>
<dt><code>mc</code> <a class="xref" href="Hi.Geom.DVec3d.html">DVec3d</a></dt>
<dd></dd>
</dl>
<h4 class="section">Returns</h4>