1 |
2003-08-15 Bernhard Herzog <[email protected]> |
2003-08-15 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* Thuban/UI/viewport.py (ViewPort.find_shape_at) |
4 |
|
(ViewPort._find_shape_in_layer, ViewPort._find_shape_in_layer) |
5 |
|
(ViewPort._get_hit_tester, ViewPort.projected_points) |
6 |
|
(ViewPort._hit_point, ViewPort._hit_arc, ViewPort._hit_polygon) |
7 |
|
(ViewPort._find_label_at): Split the find_shape_at method into |
8 |
|
several new methods and use the functions in the hit-test module. |
9 |
|
|
10 |
|
* Thuban/UI/hittest.py: New module with Python-level hit-testing |
11 |
|
functions |
12 |
|
|
13 |
|
* test/test_hittest.py: New. Test for the new hittest module |
14 |
|
|
15 |
|
2003-08-15 Bernhard Herzog <[email protected]> |
16 |
|
|
17 |
* Thuban/Model/layer.py (Layer.ShapesInRegion): Apply the layer |
* Thuban/Model/layer.py (Layer.ShapesInRegion): Apply the layer |
18 |
projection to all corners of the bounding box to get a better |
projection to all corners of the bounding box to get a better |
19 |
approximation of the projected bounding box |
approximation of the projected bounding box |