OCCTProxy

occtProxy内核文件接口文档


HidePointsOnSpecWire\ShowPointsOnSpecWire

<h2>HidePointsOnSpecWire</h2> <p><strong>接口名称</strong>:HidePointsOnSpecWire</p> <p><strong>接口形式</strong>:DLL</p> <p><strong>请求方式</strong>:通过<code>WireWrapper</code>实例调用<code>HidePointsOnSpecWire()</code>方法</p> <p><strong>接口描述</strong>:隐藏当前轨迹的所有点位画面。</p> <p><strong>返回数据格式</strong>:Void(无返回值)</p> <p><strong>请求参数</strong>:无</p> <p><strong>参数说明</strong>:无</p> <p><strong>调用示例</strong>(伪代码): ```c# // 假设已经有一个WireWrapper实例wireWrapper,该实例代表当前轨迹 try { // 调用HidePointsOnSpecWire方法隐藏当前轨迹的所有点位 wireWrapper.HidePointsOnSpecWire(); // 后续操作... Console.WriteLine(&quot;当前轨迹的所有点位已被隐藏。&quot;); } catch (Exception ex) { // 异常处理 Console.WriteLine(&quot;调用HidePointsOnSpecWire方法时发生异常:{0}&quot;, ex.Message); }</p> <pre><code>**注意**: * 调用此接口时,应确保`WireWrapper`实例是有效的,并且确实代表了需要隐藏点位的轨迹。 * 隐藏点位是界面层面的操作,不影响轨迹的实际存储和计算。 ## ShowPointsOnSpecWire **DLL接口文档** **接口名称**:ShowPointsOnSpecWire **接口形式**:DLL **请求方式**:通过`WireWrapper`实例调用`ShowPointsOnSpecWire()`方法 **接口描述**:显示当前轨迹的所有点位画面。 **返回数据格式**:Void(无返回值) **请求参数**:无 **参数说明**:无 **调用示例**(伪代码): ```c# // 假设已经有一个WireWrapper实例wireWrapper,该实例代表当前轨迹 try { // 调用ShowPointsOnSpecWire方法显示当前轨迹的所有点位 wireWrapper.ShowPointsOnSpecWire(); // 后续操作... Console.WriteLine(&amp;quot;当前轨迹的所有点位已显示。&amp;quot;); } catch (Exception ex) { // 异常处理 Console.WriteLine(&amp;quot;调用ShowPointsOnSpecWire方法时发生异常:{0}&amp;quot;, ex.Message); }</code></pre> <p><strong>注意</strong>:</p> <ul> <li>在调用<code>ShowPointsOnSpecWire</code>方法之前,应确保<code>WireWrapper</code>实例已正确初始化,并且指向了一个有效的轨迹。</li> <li>显示点位是界面层面的操作,不会改变轨迹的存储或计算方式。</li> </ul>

页面列表

ITEM_HTML