How to use the "CGAL::PMWX using
Curved_kernel" Demo
You can input circular arcs easily using the mouse, and they will be immediately inserted into the current PMWX. The first click is the center of the supporting circle, the second will select the radius, then you have to enter two rays delimiting the arc. Pressing the 'c' key while entering the second ray will take the opposite arc (the yellow part).
There are two large entities handled in this demo : the arcs container, which stores the arcs you have entered, and the current PMWX, which is the Planar Map With Intersections of the arcs stored in the arcs container.
It is possible to call the sweep algorithm (i.e. rebuild the current PMWX
using the so-called agreggate method) by clicking on the sweeper icon. Note
that you won't (shouldn't :) see any change on the screen.
To erase the current PMWX as well as the content of the arcs container,
just click on the trash.
By default, both the content of the arcs container (in blue) and the current PMWX (in green and red) are displayed.
This button toggles the display of the PMWX (it is still computed even when it
is now displayed).
This button toggles the display of the arcs container.
Plus the Usual Functionality of a Qt_widget demo:
Reset application
Press Ctrl+N combination keys or go to File menu and choose "New". The triangulation will be erased, the window's viewport will be set to default. (-1, 1, -1, 1)
Create a new window
Press Ctrl+W combination keys or go to File menu and choose "New Window". A new window will appear, modifying the viewport to make the triangulation fit in the new window.
Close the current window
Press Ctrl+X combination keys or go to File menu and choose "Close". You may do it for any window other than the initial one, this operation will close only the one you have choosen. If you do this for the initial parent window, it will close the others too.
Quit the application
Press Ctrl+Q combination keys or go to File menu and choose "Quit". When you quit the application, all the windows you have created will be destroyed.