src.geometor.feuerbach.tangency

Exact Euclidean construction and deductive proof of Feuerbach’s Theorem (1822, § 57).

Constructs on the canonical Heronian (15, 13, 14) triangle A = (0, 0), B = (14, 0), C = (5, 12):

  • Side midpoints Ma, Mb, Mc (medial triangle),

  • Altitude feet Ha, Hb, Hc (orthic triangle MNP) and orthocenter X4 = (5, 15/4),

  • Euler midpoints Ea, Eb, Ec bisecting AX4, BX4, CX4,

  • Circumcenter X3 = (7, 33/8), centroid X2 = (19/3, 4), and nine-point center X5 = (6, 63/16) along the harmonic Euler range (X4, X2; X5, X3) = -1,

  • The nine-point circle passing through all nine canonical points (radius 65/16),

  • Incenter X1 = (6, 4) with its incircle (radius 4) and excenters Ja = (21, 14), Jb = (-7, 21/2), Jc = (8, -12) with their three excircles,

  • The internal tangency Feuerbach point X11 = (6, 8) and the three external excircle tangency points Fea = (2709/289, 1792/289), Feb = (553/233, 1344/233), and Fec = (1672/257, -24/257) computed directly via intersect().

Classes

FeuerbachTangencyResult

Complete structured output of construct_feuerbach_tangency().

Functions

construct_feuerbach_tangency([model]) → FeuerbachTangencyResult

Construct the nine-point circle, tritangent circles, and four Feuerbach tangency points.

Module Contents

class src.geometor.feuerbach.tangency.FeuerbachTangencyResult

Complete structured output of construct_feuerbach_tangency().

model: geometor.model.Model
vertices: tuple[sympy.geometry.Point, sympy.geometry.Point, sympy.geometry.Point]
triangle: sympy.geometry.Polygon
medial_points: tuple[sympy.geometry.Point, sympy.geometry.Point, sympy.geometry.Point]
orthic_points: tuple[sympy.geometry.Point, sympy.geometry.Point, sympy.geometry.Point]
euler_points: tuple[sympy.geometry.Point, sympy.geometry.Point, sympy.geometry.Point]
orthic_triangle: sympy.geometry.Polygon
medial_triangle: sympy.geometry.Polygon
feuerbach_triangle: sympy.geometry.Polygon
x1_incenter: sympy.geometry.Point
x2_centroid: sympy.geometry.Point
x3_circumcenter: sympy.geometry.Point
x4_orthocenter: sympy.geometry.Point
x5_nine_point_center: sympy.geometry.Point
x11_feuerbach_point: sympy.geometry.Point
excenters: tuple[sympy.geometry.Point, sympy.geometry.Point, sympy.geometry.Point]
excircle_tangencies: tuple[sympy.geometry.Point, sympy.geometry.Point, sympy.geometry.Point]
euler_line: sympy.geometry.Line
circumcircle: sympy.geometry.Circle
nine_point_circle: sympy.geometry.Circle
incircle: sympy.geometry.Circle
excircles: tuple[sympy.geometry.Circle, sympy.geometry.Circle, sympy.geometry.Circle]
harmonic_cross_ratio: sympy.Expr
src.geometor.feuerbach.tangency.construct_feuerbach_tangency(model: geometor.model.Model | None = None) → FeuerbachTangencyResult

Construct the nine-point circle, tritangent circles, and four Feuerbach tangency points.

Parameters:

model – Optional existing Model. When None, initializes a clean model with auto_intersect=False.

Returns:

FeuerbachTangencyResult with all exact sympy.Rational points and circles.

Raises:

ProofAssertionError – If any nine-point incidence, harmonic cross-ratio, or tangency quadrance assertion fails.