X22

EXETER POINT

X22 is the perspector of the circummedial triangle and the tangential triangle; also X22 = X55-of-the-tangential triangle if ABC is acute. See the note just before X1601 for a generalization.
< A B C >: Reference Triangle △ABC < Cm_a Cm_b Cm_c >: Circummedial Triangle △Cm_a Cm_b Cm_c < Tan_a Tan_b Tan_c >: Tangential Triangle △Tan_a Tan_b Tan_c [ A B ]: Sideline AB (Base c = 1) [ B C ]: Sideline BC (Side a) [ C A ]: Sideline CA (Side b) circumcircle: Circumcircle of △ABC [ Cm_a Tan_a ]: Exeter Perspectrix Line Cm_a–Tan_a [ Cm_b Tan_b ]: Exeter Perspectrix Line Cm_b–Tan_b [ Cm_c Tan_c ]: Exeter Perspectrix Line Cm_c–Tan_c { 2, 3 }: Euler Line { 69, 159 }: Central Line L(69, 159) { 51, 182 }: Central Line L(51, 182) { 6, 251 }: Central Line L(6, 251) { 110, 154 }: Central Line L(110, 154) A = Vertex A (0.0000, 0.0000) B = Vertex B (1.0000, 0.0000) C = Vertex C (0.6122, 0.5999) X_3 = CIRCUMCENTER (0.5000, 0.1021) Cm_a = Circummedial Vertex Cm_a (0.9451, 0.3517) Cm_b = Circummedial Vertex Cm_b (0.0831, 0.3963) Cm_c = Circummedial Vertex Cm_c (0.4247, -0.4027) Tan_a = Tangential Vertex Tan_a (1.1000, 0.4899) Tan_b = Tangential Vertex Tan_b (-0.1579, 0.7735) Tan_c = Tangential Vertex Tan_c (0.5000, -2.4495) X_2 = CENTROID (0.5374, 0.2000) X_69 = SYMMEDIAN POINT OF THE ANTICOMPLEMENTARY TRIANGLE (0.4122, 0.0654) X_159 = -OF-TANGENTIAL-TRIANGLE (0.4211, -0.7266) X_51 = CENTROID OF ORTHIC TRIANGLE (0.6093, 0.3186) X_182 = MIDPOINT OF BROCARD DIAMETER (0.5500, 0.1846) X_6 = SYMMEDIAN POINT (LEMOINE POINT, GREBE POINT) (0.6000, 0.2672) X_251 = ISOGONAL CONJUGATE OF X(141) (0.6177, 0.3042) X_110 = FOCUS OF KIEPERT PARABOLA (0.2516, 0.5478) X_154 = -CEVA CONJUGATE OF X(6) (0.4807, -0.3954) X_22 = EXETER POINT (0.4143, -0.1221) A B C X3 Cma Cmb Cmc Tana Tanb Tanc X2 X69 X159 X51 X182 X6 X251 X110 X154 X22 (a, b, c) = (5, 6, 7) | AB = 1

X22 (EXETER POINT) constructed on acute reference triangle \((a, b, c) = (5, 6, 7)\) with unit baseline AB = \(1\).

"""GEOMETOR construction model for X_22 = EXETER POINT."""

        from __future__ import annotations

        from pathlib import Path

        import sympy.geometry as spg
        from geometor.model import Model

        from geometor.etc.ops import (
            central_line,
            centroid_of,
            circumcenter_of,
            construct_baseline_triangle,
            create_model,
            eval_trilinear_point,
            promote_point_to_top,
        )
        from geometor.etc.render import write_center_svg


        def construct_x_00022(
            model: Model, A: spg.Point, B: spg.Point, C: spg.Point
        ) -> spg.Point:
            """Construct X_22 = EXETER POINT on reference triangle ABC."""
            X_22 = eval_trilinear_point(model, A, B, C, 'a*(b**(4) + c**(4) - a**(4))', ID="X_22", classes=["selected", "target"])
            X_2 = centroid_of(model, A, B, C, ID="X_2", classes=["center"])
            X_3 = circumcenter_of(model, A, B, C, ID="X_3", classes=["center"])
            central_line(model, X_2, X_3, 2, 3)
            X_69 = eval_trilinear_point(model, A, B, C, '(cos(A))/a**(2)', ID="X_69", classes=["center", "incident"])
            X_159 = eval_trilinear_point(model, A, B, C, '(a*((a**(2) + b**(2) + c**(2))*sin(2*A) + (c**(2) - b**(2) - a**(2))*sin(2*B) + (b**(2) - c**(2) - a**(2))*sin(2*C)))', ID="X_159", classes=["center", "incident"])
            central_line(model, X_69, X_159, 69, 159, incident=True)
            X_51 = eval_trilinear_point(model, A, B, C, 'a**(2)*cos(B - C)', ID="X_51", classes=["center", "incident"])
            X_182 = eval_trilinear_point(model, A, B, C, 'cos(A-  omega  )', ID="X_182", classes=["center", "incident"])
            central_line(model, X_51, X_182, 51, 182, incident=True)
            return promote_point_to_top(model, X_22)


        def build_model(
            sides: tuple[float, float, float] = (5.0, 6.0, 7.0),
            show_guides: bool = False,
        ) -> Model:
            """Build a `geometor.model.Model` for X_22 on the given reference triangle."""
            model = create_model('X_22 = EXETER POINT')
            A, B, C = construct_baseline_triangle(model, *sides, show_guides=show_guides)
            construct_x_00022(model, A, B, C)
            return model


        if __name__ == "__main__":
            here = Path(__file__).resolve().parent
            model_acute = build_model((5.0, 6.0, 7.0))
            model_acute.save(str(here / "x-00022.json"))
            write_center_svg(
                model_acute,
                here / "x-00022.svg",
                subtitle="(a, b, c) = (5, 6, 7) | AB = 1",
            )