fix: replace /* ... */ with // ... in doxygen code blocks to prevent premature comment termination
This commit is contained in:
@@ -104,7 +104,7 @@ using core::AABB3D;
|
||||
*
|
||||
* @code{.cpp"}
|
||||
* auto circle = NurbsCurve::create_circle(Point3D(0,0,0), 0.5);
|
||||
* auto helix = NurbsCurve::create_helix(/* ... */);
|
||||
* auto helix = NurbsCurve::create_helix(// ...);
|
||||
* auto pipe = sweep(circle, helix);
|
||||
* @endcode
|
||||
*
|
||||
|
||||
@@ -53,8 +53,8 @@ struct ICPResult {
|
||||
* @note 初始对齐越好,收敛越快;若初始偏差太大,可能收敛到局部最优
|
||||
*
|
||||
* @code{.cpp}
|
||||
* std::vector<Point3D> src = /* ... */;
|
||||
* std::vector<Point3D> tgt = /* ... */;
|
||||
* std::vector<Point3D> src = // ...;
|
||||
* std::vector<Point3D> tgt = // ...;
|
||||
* auto result = icp_register(src, tgt, 100, 1e-8);
|
||||
* if (result.converged) {
|
||||
* std::cout << "RMS error: " << result.rms_error << "\n";
|
||||
|
||||
@@ -43,7 +43,7 @@ struct GltfOptions {
|
||||
* @note 生成的 glTF 符合 2.0 规范,兼容 Blender、three.js、Unreal Engine 等工具
|
||||
*
|
||||
* @code{.cpp}
|
||||
* mesh::HalfedgeMesh mesh = /* ... */;
|
||||
* mesh::HalfedgeMesh mesh = // ...;
|
||||
* GltfOptions opts;
|
||||
* opts.binary = true;
|
||||
* opts.include_normals = true;
|
||||
@@ -69,7 +69,7 @@ bool write_gltf(const std::string& filepath, const mesh::HalfedgeMesh& mesh,
|
||||
* @return false 导出失败
|
||||
*
|
||||
* @code{.cpp}
|
||||
* brep::BrepModel model = /* ... */;
|
||||
* brep::BrepModel model = // ...;
|
||||
* // 高精度曲面导出
|
||||
* bool ok = write_brep_gltf("model.glb", model, 64);
|
||||
* @endcode
|
||||
|
||||
@@ -43,7 +43,7 @@ mesh::HalfedgeMesh read_ply(const std::string& filepath);
|
||||
* @note 若需要二进制输出以提高性能,请使用 BinarySerializer
|
||||
*
|
||||
* @code{.cpp}
|
||||
* mesh::HalfedgeMesh mesh = /* ... */;
|
||||
* mesh::HalfedgeMesh mesh = // ...;
|
||||
* write_ply("output.ply", mesh);
|
||||
* @endcode
|
||||
*
|
||||
|
||||
@@ -57,7 +57,7 @@ std::vector<StlTriangle> read_stl(const std::string& filepath);
|
||||
* @note 法向量在写入时自动归一化
|
||||
*
|
||||
* @code{.cpp}
|
||||
* std::vector<StlTriangle> tris = /* ... */;
|
||||
* std::vector<StlTriangle> tris = // ...;
|
||||
* write_stl("output.stl", tris); // 二进制,体积小
|
||||
* @endcode
|
||||
*
|
||||
@@ -77,7 +77,7 @@ void write_stl(const std::string& filepath, const std::vector<StlTriangle>& tris
|
||||
* @warning ASCII STL 文件体积约为二进制 STL 的 5-10 倍,不适合大规模网格
|
||||
*
|
||||
* @code{.cpp}
|
||||
* std::vector<StlTriangle> tris = /* ... */;
|
||||
* std::vector<StlTriangle> tris = // ...;
|
||||
* write_stl_ascii("debug.stl", tris); // 可读文本,便于调试
|
||||
* @endcode
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user