mirror of https://github.com/CGAL/cgal
warnings
This commit is contained in:
parent
e3249bd908
commit
efb946a4f5
|
|
@ -14,8 +14,6 @@ int main(int argc, char* argv[])
|
|||
{
|
||||
std::cout<<"Program facewidth_on_unweighted_map started."<<std::endl;
|
||||
std::string filename(argc==1?CGAL::data_file_path("meshes/double-torus-example.off"):argv[1]);
|
||||
bool draw=(argc<3?false:std::string(argv[2])=="-draw");
|
||||
|
||||
std::ifstream inp(filename);
|
||||
if (inp.fail())
|
||||
{
|
||||
|
|
@ -36,7 +34,8 @@ int main(int argc, char* argv[])
|
|||
std::cout<<" Number of faces: "<<cycle.size()<<std::endl;
|
||||
|
||||
#ifdef CGAL_USE_BASIC_VIEWER
|
||||
if (draw) { draw_facewidth(lcc, cycle); }
|
||||
if(argc>=3 && std::string(argv[2])=="-draw")
|
||||
{ draw_facewidth(lcc, cycle); }
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ struct Draw_functor: public CGAL::Graphics_scene_options<LCC_3,
|
|||
this->edge_color=[](const LCC_3&, typename LCC_3::Dart_const_handle)->CGAL::IO::Color
|
||||
{ return CGAL::IO::Color(0, 0, 255); };
|
||||
|
||||
this->colored_face=[this](const LCC_3&, typename LCC_3::Dart_const_handle)->bool
|
||||
this->colored_face=[](const LCC_3&, typename LCC_3::Dart_const_handle)->bool
|
||||
{ return true; };
|
||||
this->face_color=[](const LCC_3&, typename LCC_3::Dart_const_handle)->CGAL::IO::Color
|
||||
{ return CGAL::IO::Color(211, 211, 211); };
|
||||
|
|
|
|||
Loading…
Reference in New Issue