CGAL 如何将 std::vector<Point> 点保存到 .xyz 文件中?
CGAL How to save std::vector<Point> points into .xyz file?
我是 C++ 新手,不熟悉 vector 和 pair。我正在使用 CGAL,我想将 std::vector<Point> points
保存到 .xyz
文件中,但 CGAL 文档中提供的示例使用不同的类型 std::pair<Point, Vector>
来保存。谁能给我一些线索吗?
我参考了this example [link],我想在去除异常值后保存。
这是the example [link]在CGAL中的读写。
可怜的我!我刚读完 write_xyz_points.h。该函数已创建。
我是 C++ 新手,不熟悉 vector 和 pair。我正在使用 CGAL,我想将 std::vector<Point> points
保存到 .xyz
文件中,但 CGAL 文档中提供的示例使用不同的类型 std::pair<Point, Vector>
来保存。谁能给我一些线索吗?
我参考了this example [link],我想在去除异常值后保存。
这是the example [link]在CGAL中的读写。
可怜的我!我刚读完 write_xyz_points.h。该函数已创建。