fix: remove remaining /* ... */ inside doxygen blocks
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
* @code{.cpp}
|
||||
* auto body = make_box(10, 5, 3);
|
||||
* // 或者更复杂的构建:
|
||||
* auto profile = /* NURBS 曲线 */;
|
||||
* auto profile = NURBS 曲线;
|
||||
* auto swept = extrude(profile, Vector3D(0, 0, 10));
|
||||
* auto rounded = fillet(swept, 0, 2.0);
|
||||
* @endcode
|
||||
@@ -78,7 +78,7 @@ using core::AABB3D;
|
||||
*
|
||||
* @code{.cpp}
|
||||
* // 绕 Y 轴旋转半圆,生成球体的一半
|
||||
* NurbsCurve semicircle = /* 在 XZ 平面中的半圆弧 */;
|
||||
* NurbsCurve semicircle = 在 XZ 平面中的半圆弧;
|
||||
* auto half_sphere = revolve(semicircle, Point3D(0,0,0),
|
||||
* Vector3D(0,1,0), M_PI);
|
||||
* @endcode
|
||||
|
||||
@@ -41,7 +41,7 @@ std::vector<Point2D> convex_hull_2d(const std::vector<Point2D>& points);
|
||||
* @note 共面/退化点被自动丢弃
|
||||
*
|
||||
* @code{.cpp}
|
||||
* std::vector<Point3D> pts = /* 3D 点云 */;
|
||||
* std::vector<Point3D> pts = 3D 点云;
|
||||
* auto hull_tris = convex_hull_3d(pts);
|
||||
* for (auto& tri : hull_tris) {
|
||||
* // tri = {p0, p1, p2} — CCW when viewed from outside
|
||||
|
||||
@@ -131,7 +131,7 @@ public:
|
||||
* @note 时间复杂度 O(n²),适用于顶点数 < 1000 的多边形
|
||||
*
|
||||
* @code{.cpp}
|
||||
* Polygon2D poly(/* CCW vertices */);
|
||||
* Polygon2D poly(CCW vertices);
|
||||
* auto tris = poly.triangulate();
|
||||
* for (auto& t : tris) {
|
||||
* // 顶点: poly.vertices()[t[0]], t[1], t[2]
|
||||
|
||||
@@ -87,7 +87,7 @@ using LossFn = std::function<double(const std::function<double(const Point3D&)>&
|
||||
* @note initial 的共享子节点不会被复制——返回的 optimize_shape 共享未修改的子树。
|
||||
*
|
||||
* @code{.cpp}
|
||||
* std::vector<Point3D> points = { /* point cloud data */ };
|
||||
* std::vector<Point3D> points = { point cloud data };
|
||||
* auto sphere = SdfNode::sphere(1.0);
|
||||
* auto result = fit_to_point_cloud(sphere, points, 0.01, 200);
|
||||
* // result.optimized_shape 的 params.radius 已被优化
|
||||
|
||||
Reference in New Issue
Block a user