mirror of https://github.com/CGAL/cgal
Max area k-gon is implemented for k=3; Additionally the input must be convex
This commit is contained in:
parent
1211b00e3b
commit
7566f2cdcc
|
|
@ -415,6 +415,8 @@ MainWindow::on_actionMaximumAreaKGon_triggered()
|
|||
|
||||
kgongi->modelChanged();
|
||||
kgongi->show();
|
||||
} else {
|
||||
std::cout << "The polygon must be convex" << std::endl;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -231,7 +231,7 @@
|
|||
</action>
|
||||
<action name="actionMaximumAreaKGon">
|
||||
<property name="text">
|
||||
<string>Maximum Area K-gon</string>
|
||||
<string>Maximum Area Triangle</string>
|
||||
</property>
|
||||
</action>
|
||||
</widget>
|
||||
|
|
|
|||
Loading…
Reference in New Issue