feat: 测试覆盖扩展 + 文档更新
This commit is contained in:
@@ -10,7 +10,13 @@ struct StlTriangle {
|
||||
Point3D v0, v1, v2;
|
||||
};
|
||||
|
||||
/// Auto-detect format (binary or ASCII) and read.
|
||||
std::vector<StlTriangle> read_stl(const std::string& filepath);
|
||||
|
||||
/// Always write binary STL.
|
||||
void write_stl(const std::string& filepath, const std::vector<StlTriangle>& tris);
|
||||
|
||||
/// Write ASCII STL (human-readable).
|
||||
void write_stl_ascii(const std::string& filepath, const std::vector<StlTriangle>& tris);
|
||||
|
||||
} // namespace vde::foundation
|
||||
|
||||
Reference in New Issue
Block a user