CGAL如何保存std :: vector 指向.xyz文件?

问题描述 投票:-1回答:1

我是C ++的新手,我不熟悉矢量和配对。我正在研究CGAL,我想将std::vector<Point> points保存到.xyz文件中,但CGAL doc中提供的示例使用不同类型的std::pair<Point, Vector>来保存。谁能请给我一些线索?

我指的是this example [link],我想在删除异常值后保存。

这是在CGAL中读写的the example [link]

c++ vector cgal std-pair
1个回答
2
投票

可怜的我!我刚读过write_xyz_points.h。该功能已经创建。

© www.soinside.com 2019 - 2024. All rights reserved.