X1334

POINT ALYA

X1334 = crosssum of Xi and Xj for (i,j) = (7,57), (81,1014)
< A B C >: Reference Triangle △ABC [ A B ]: Sideline AB (Base c = 1) [ B C ]: Sideline BC (Side a) [ C A ]: Sideline CA (Side b) { 8, 9 }: Central Line L(8, 9) { 41, 55 }: Central Line L(41, 55) { 37, 65 }: Central Line L(37, 65) { 35, 101 }: Central Line L(35, 101) { 42, 213 }: Central Line L(42, 213) { 21, 644 }: Central Line L(21, 644) A = Vertex A (0.0000, 0.0000) B = Vertex B (1.0000, 0.0000) C = Vertex C (0.6122, 0.5999) X_1434 = -BETH CONJUGATE OF X(274) (0.6014, 0.2949) X_8 = NAGEL POINT (0.4694, 0.1333) X_9 = MITTENPUNKT (0.5110, 0.1615) X_41 = -CEVA CONJUGATE OF X(31) (0.5823, 0.2244) X_55 = INSIMILICENTER(CIRCUMCIRCLE, INCIRCLE) (0.5490, 0.1921) X_37 = CROSSPOINT OF INCENTER AND CENTROID (0.5567, 0.2158) X_65 = ORTHOCENTER OF THE INTOUCH TRIANGLE (0.6041, 0.2933) X_35 = {X(1),X(3)}-HARMONIC CONJUGATE OF X(36) (0.5373, 0.1706) X_101 = Ψ(INCENTER, SYMMEDIAN POINT) (0.2143, 0.5249) X_42 = CROSSPOINT OF INCENTER AND SYMMEDIAN POINT (0.5880, 0.2495) X_213 = -CEVA CONJUGATE OF X(42) (0.6135, 0.2833) X_21 = SCHIFFLER POINT (0.5287, 0.1771) X_644 = TRILINEAR MULTIPLIER FOR YFF PARABOLA (-0.0171, 0.3359) X_1334 = POINT ALYA (0.5324, 0.1760) A B C X1434 X8 X9 X41 X55 X37 X65 X35 X101 X42 X213 X21 X644 X1334 (a, b, c) = (5, 6, 7) | AB = 1

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

"""GEOMETOR construction model for X_1334 = POINT ALYA."""

        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,
            construct_baseline_triangle,
            create_model,
            eval_trilinear_point,
            mittenpunkt_of,
            nagel_point_of,
            promote_point_to_top,
        )
        from geometor.etc.render import write_center_svg


        def construct_x_01334(
            model: Model, A: spg.Point, B: spg.Point, C: spg.Point
        ) -> spg.Point:
            """Construct X_1334 = POINT ALYA on reference triangle ABC."""
            X_1334 = eval_trilinear_point(model, A, B, C, '(a*(b + c)*(b + c - a))', ID="X_1334", classes=["selected", "target"])
            X_8 = nagel_point_of(model, A, B, C, ID="X_8", classes=["center", "incident"])
            X_9 = mittenpunkt_of(model, A, B, C, ID="X_9", classes=["center", "incident"])
            central_line(model, X_8, X_9, 8, 9, incident=True)
            X_41 = eval_trilinear_point(model, A, B, C, 'a**(2)*(b + c - a)', ID="X_41", classes=["center", "incident"])
            X_55 = eval_trilinear_point(model, A, B, C, 'a*(b + c - a)', ID="X_55", classes=["center", "incident"])
            central_line(model, X_41, X_55, 41, 55, incident=True)
            X_37 = eval_trilinear_point(model, A, B, C, 'b + c', ID="X_37", classes=["center", "incident"])
            X_65 = eval_trilinear_point(model, A, B, C, 'cos(B) + cos(C)', ID="X_65", classes=["center", "incident"])
            central_line(model, X_37, X_65, 37, 65, incident=True)
            return promote_point_to_top(model, X_1334)


        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_1334 on the given reference triangle."""
            model = create_model('X_1334 = POINT ALYA')
            A, B, C = construct_baseline_triangle(model, *sides, show_guides=show_guides)
            construct_x_01334(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-01334.json"))
            write_center_svg(
                model_acute,
                here / "x-01334.svg",
                subtitle="(a, b, c) = (5, 6, 7) | AB = 1",
            )