X613

INTERSECTION OF LINES X1X_6 AND X56X_511

< 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) { 1, 6 }: Incenter–Symmedian Line { 55, 182 }: Central Line L(55, 182) { 56, 511 }: Central Line L(56, 511) { 141, 499 }: Central Line L(141, 499) { 240, 608 }: Central Line L(240, 608) { 394, 614 }: Central Line L(394, 614) A = Vertex A (0.0000, 0.0000) B = Vertex B (1.0000, 0.0000) C = Vertex C (0.6122, 0.5999) X_1 = INCENTER (0.5714, 0.2333) X_6 = SYMMEDIAN POINT (LEMOINE POINT, GREBE POINT) (0.6000, 0.2672) X_55 = INSIMILICENTER(CIRCUMCIRCLE, INCIRCLE) (0.5490, 0.1921) X_182 = MIDPOINT OF BROCARD DIAMETER (0.5500, 0.1846) X_56 = EXSIMILICENTER(CIRCUMCIRCLE, INCIRCLE) (0.6316, 0.3438) X_511 = ISOGONAL CONJUGATE OF X(98) (0.2335, -0.3020) X_141 = COMPLEMENT OF SYMMEDIAN POINT (0.5061, 0.1663) X_499 = {X(1),X(2)}-HARMONIC CONJUGATE OF X(498) (0.4458, 0.1102) X_240 = -LINE CONJUGATE OF X(48) (0.7457, 0.8594) X_608 = ISOGONAL CONJUGATE OF X(345) (0.6361, 0.4975) X_394 = -CEVA CONJUGATE OF X(3) (0.3778, 0.0284) X_614 = INTERSECTION OF LINES X(1)X(2) AND X(11)X(33) (0.6310, 0.2916) X_613 = INTERSECTION OF LINES X(1)X(6) AND X(56)X(511) (0.7698, 0.2310) A B C X1 X6 X55 X182 X56 X511 X141 X499 X240 X608 X394 X614 X613 (a, b, c) = (5, 6, 7) | AB = 1

X613 (INTERSECTION OF LINES X1X_6 AND X56X_511) constructed on acute reference triangle \((a, b, c) = (5, 6, 7)\) with unit baseline AB = \(1\).

"""GEOMETOR construction model for X_613 = INTERSECTION OF LINES X_1X_6 AND X_56X_511."""

        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,
            incenter_of,
            promote_point_to_top,
            symmedian_point_of,
        )
        from geometor.etc.render import write_center_svg


        def construct_x_00613(
            model: Model, A: spg.Point, B: spg.Point, C: spg.Point
        ) -> spg.Point:
            """Construct X_613 = INTERSECTION OF LINES X_1X_6 AND X_56X_511 on reference triangle ABC."""
            X_613 = eval_trilinear_point(model, A, B, C, 'W - sin(A)', ID="X_613", classes=["selected", "target"])
            X_1 = incenter_of(model, A, B, C, ID="X_1", classes=["center", "incident"])
            X_6 = symmedian_point_of(model, A, B, C, ID="X_6", classes=["center", "incident"])
            central_line(model, X_1, X_6, 1, 6, incident=True)
            X_55 = eval_trilinear_point(model, A, B, C, 'a*(b + c - a)', ID="X_55", 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_55, X_182, 55, 182, incident=True)
            X_56 = eval_trilinear_point(model, A, B, C, 'a/(b + c - a)', ID="X_56", classes=["center", "incident"])
            X_511 = eval_trilinear_point(model, A, B, C, 'cos(A +  omega  )', ID="X_511", classes=["center", "incident"])
            central_line(model, X_56, X_511, 56, 511, incident=True)
            return promote_point_to_top(model, X_613)


        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_613 on the given reference triangle."""
            model = create_model('X_613 = INTERSECTION OF LINES X_1X_6 AND X_56X_511')
            A, B, C = construct_baseline_triangle(model, *sides, show_guides=show_guides)
            construct_x_00613(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-00613.json"))
            write_center_svg(
                model_acute,
                here / "x-00613.svg",
                subtitle="(a, b, c) = (5, 6, 7) | AB = 1",
            )