How to use Planar Map Demo


Main Functionality
Editing

 

 

 

 

 

 

Reset application

Press Ctrl+N combination keys or go to File menu and choose "New". The points list will be erased, the window's visible area 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 visible area to make the points list fit in the new window.

 

 

Print

Press Ctrl+P combination keys or go to File menu and choose "Print". The visible area on the screen will be outputed to the print device of your choice.

 

 

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.

 

 

Generate segments

To generate segments, go to Draw menu and choose "Generate points" or press Ctrl+G combination keys. This action will generate random segments uniformly distributed in the open disc with radius 0.5. Each time you do this action, new segments will be added to the list, the old set of segments being updated and not erased.

 

 

Insert new segments in the list

Left click on the "Input segment" layer. Be sure there is no layer activated in standard toolbar that eat events. To be sure, press the arrow button situated on the standard toolbar. Left Click anywhere on the application's drawing area (the black rectangle) to determine the source of the segment. The second click will be the target of the segment. The new segment is inserted in the list and the planar map. To insert more than one segment, repeat the last step without deactivating the layer.

You can use the second mouse button to snap the source or the target or both of them to the nearest existing segment end point. You must have at least one segment already in the list if you want to perform this action.

To deactivate this layer, just press the arrow button situated on the same toolbar.

 

 

Remove segments from the list

 

 

Perform segment snapping

(1)Left click on the "Snapping" layer. If the "Input point" or "Segment" layer was active, it will deactivate itself. (2)Right click on the drawing area (the black rectangle) near an existing point. The nearest end of existing segments will be highlighted. (3)Move the mouse to determine the point that will be the new end of the selected segment. As you move the mouse, the new segment will be shown. (4)Once you decide on wich end you want to stick the selected segment, press the left mouse button once again. The planar map will be also updated. You may repeat the process from the step (2) to (4). To deactivate this layer, just press the arrow button situated on the same toolbar.



Last modified: Fri May 16 15:04:11 MEST 2003