kicad/qa/tests/libs/kimath/geometry
John Beard fa7e842c8c Rework item distribution
This splits the tool into two separate tools: by center and
by even gaps. Previously, this was automatically decided, based on
if the items could have any gaps between them. This was unintuitive
as it would appear to arrange by centre point sometimes but not others.
When items aren't all the same width, the results can then be very
different, based only on the starting positions.

The new behaviour is to have a dedicated tool for each, which echos
how graphical programs like Inkscape manage this.

The by-gaps method is then extended to work for overlapping items
(when items overlap, the overlaps are made equal). The logic is
centralised in kimath/geometry, and some QA is added. This should
make it easier to extend to eeschema, for example.

This also (attempts to) address some rounding issues which could
cause minor, but compounding, errors to build up along the list
of items.

Also, fix bugs in the collection filtering - previously items
like markers were filtered out only after the selection size
was used to compute the gaps between items.
2024-05-05 03:35:09 +08:00
..
fixtures_geometry.h
geom_test_utils.h SHAPE_LINE_CHAIN: Fix SetClosed() logic 2024-01-31 19:17:46 +03:00
test_chamfer.cpp ADDED: Move Corner To... and Move Midpoint To... 2023-08-05 16:43:55 +01:00
test_circle.cpp
test_distribute.cpp Rework item distribution 2024-05-05 03:35:09 +08:00
test_eda_angle.cpp EDA_ANGLE: use constexpr for constant angles 2024-01-31 19:17:46 +03:00
test_ellipse_to_bezier.cpp
test_fillet.cpp
test_oval.cpp Fix oval pad snapping 2023-09-06 21:33:45 +01:00
test_segment.cpp
test_shape_arc.cpp Use "tuning pattern" in the GUI. 2023-10-15 17:59:11 +01:00
test_shape_compound_collision.cpp
test_shape_line_chain.cpp Fix simplify routine for last segment 2024-04-30 16:11:20 -07:00
test_shape_line_chain_collision.cpp Fix slow selection time when calculating clearance 2024-03-11 16:32:24 -07:00
test_shape_poly_set.cpp
test_shape_poly_set_arcs.cpp
test_shape_poly_set_collision.cpp
test_shape_poly_set_distance.cpp Update SHAPE_POLY_SET API to not hide virtual functions 2023-08-18 21:40:40 -04:00
test_shape_poly_set_iterator.cpp