mirror of https://github.com/CGAL/cgal
Basic viewer examples
This commit is contained in:
parent
c999b12ac2
commit
218be312d4
|
|
@ -35,7 +35,7 @@ int main(void)
|
|||
CGAL::parameters::point_map(CGAL::First_of_pair_property_map<Pwn>())
|
||||
.normal_map(CGAL::Second_of_pair_property_map<Pwn>())))
|
||||
{
|
||||
std::cerr << "Error: cannot read input file!" << std::endl;
|
||||
std::cerr << "Error: cannot read input file " << CGAL::data_file_path("points_3/kitten.xyz") << std::endl;
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ int main(void)
|
|||
CGAL::parameters::point_map(CGAL::First_of_pair_property_map<Pwn>())
|
||||
.normal_map(CGAL::Second_of_pair_property_map<Pwn>())))
|
||||
{
|
||||
std::cerr << "Error: cannot read input file!" << std::endl;
|
||||
std::cerr << "Error: cannot read input file " << CGAL::data_file_path("points_3/kitten.xyz") << std::endl;
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@ int main(int argc, char* argv[])
|
|||
Mesh sm;
|
||||
if(!CGAL::IO::read_polygon_mesh(filename, sm))
|
||||
{
|
||||
std::cerr << "Invalid input file." << std::endl;
|
||||
std::cerr << "Invalid input file: " << filename << std::endl;
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -84,7 +84,7 @@ int main(int argc, char* argv[])
|
|||
Mesh sm;
|
||||
if(!CGAL::IO::read_polygon_mesh(filename, sm))
|
||||
{
|
||||
std::cerr << "Invalid input file." << std::endl;
|
||||
std::cerr << "Invalid input file: " << filename << std::endl;
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue