Skip to content

tkz-elements v6.00c

Choose a tag to compare

@al-ma-dev al-ma-dev released this 12 Oct 06:33
· 1 commit to main since this release

tkz-elements 6.00c (2026/10/11) — a major release.

Most of the Lua code has been reviewed: many bugs fixed, clearer error
messages, more accurate computations and an updated documentation.
The major version number signals changes that may affect existing documents.

Changes that may affect existing documents

  • Removed methods: the undocumented set_* methods (set_inversion,
    set_rotation, …), translation_L/T/C, symmetry_axial_*,
    external_tangent / internal_tangent (use common_tangent),
    line:circle_swap (use circle("swap")), and some matrix methods now
    internal (swap_rows, k_mul_row, …; use k * A).
  • Explicit errors: many degenerate cases that silently returned nil,
    false or nan, or used tex.error and went on, now raise a clear error.
  • Results: no intersection gives nil; get() returns all the vertices
    of a polygon; midcircle of two circles with the same radius returns the
    perpendicular bisector (a line).
  • get_points(obj) is deprecated (use obj:get()).

New

  • EL_from_equation (ellipse from its equation) and EL_conjugate
    (ellipse from conjugate semi-diameters, Rytz construction).
  • line:affinity and matrix:htm_apply accept objects (lines, triangles,
    polygons, circles, ellipses).
  • occs:point(u, v), triangle:angle(i), get(i) for square, rectangle,
    quadrilateral and parallelogram; quadrilateral:area, is_cyclic,
    poncelet_point.

Accuracy

  • Tangent circles: exact point of contact (error ~1e-7 before), which fixes
    feuerbach_point, feuerbach, tangent_from from a point of the circle
    and the Feuerbach–Apollonius circle.

The complete list of changes is in CHANGELOG.md.