Revision
1589 -
(
view)
(
annotate)
-
[selected]
Added
Fri Aug 15 12:49:08 2003 UTC
(21 years, 6 months ago)
by
bh
Original Path:
trunk/thuban/test/test_hittest.py
File length: 5903 byte(s)
* Thuban/UI/viewport.py (ViewPort.find_shape_at)
(ViewPort._find_shape_in_layer, ViewPort._find_shape_in_layer)
(ViewPort._get_hit_tester, ViewPort.projected_points)
(ViewPort._hit_point, ViewPort._hit_arc, ViewPort._hit_polygon)
(ViewPort._find_label_at): Split the find_shape_at method into
several new methods and use the functions in the hit-test module.
* Thuban/UI/hittest.py: New module with Python-level hit-testing
functions
* test/test_hittest.py: New. Test for the new hittest module