Skip to content
This repository was archived by the owner on Aug 6, 2025. It is now read-only.

Commit eea78de

Browse files
committed
patch
1 parent 588b8a4 commit eea78de

2 files changed

Lines changed: 5 additions & 11 deletions

File tree

doc/Comment.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
以下是一些常见的 **Doxygen** 注释格式示例,供 C++ 代码使用。Doxygen 是一种自动化文档生成工具,支持提取代码中的注释并生成 HTML、PDF 等文档格式。
2-
3-
---
41

52
## 1. **文件级别注释**
63
文件的整体描述,包括作者、日期和功能概述。
@@ -231,7 +228,3 @@ int multiply(int a, int b);
231228
| `@note` | 提示或补充说明 |
232229
| `@warning` | 警告信息 |
233230
| `@defgroup` | 定义一个分组 |
234-
235-
---
236-
237-
通过上述示例和标签,您可以高效地为 C++ 代码添加 Doxygen 注释,生成清晰、易读的文档。

src/Iact/Workspace/SnapOnCurve2D.hxx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,14 +99,15 @@ private:
9999
int screenPointY)
100100
{
101101
SnapInfoCurve2D snapInfo;
102-
double currentDistance = 10.0;
102+
double currentDistance = 0.1;
103+
103104
return snapInfo;
104105
}
105106

106107
private:
107-
gp_Pln _Plane; // 捕捉平面
108-
SnapModes SupportedModes; // 支持的捕捉模式
109-
bool _IsPlaneSet = false; // 标记平面是否被设置
108+
gp_Pln _Plane;
109+
SnapModes SupportedModes;
110+
bool _IsPlaneSet = false;
110111
};
111112

112113
DEFINE_STANDARD_HANDLE(SnapOnCurve2D, SnapBase)

0 commit comments

Comments
 (0)