mirror of https://github.com/CGAL/cgal
added user input
This commit is contained in:
parent
5f205d3506
commit
d671f6069a
|
|
@ -39,9 +39,9 @@ typedef CGAL::Nth_of_tuple_property_map<2, PNI>
|
||||||
* candidate generation are cached and reused.
|
* candidate generation are cached and reused.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int main()
|
int main(int argc, char* argv[])
|
||||||
{
|
{
|
||||||
const std::string& input_file(CGAL::data_file_path("points_3/building.ply"));
|
const std::string input_file = (argc > 1) ? argv[1] : CGAL::data_file_path("points_3/building.ply");
|
||||||
std::ifstream input_stream(input_file.c_str());
|
std::ifstream input_stream(input_file.c_str());
|
||||||
|
|
||||||
std::vector<PNI> points; // store points
|
std::vector<PNI> points; // store points
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue