X689

TRILINEAR POLE OF LINE X6X_76

X689 = Ψ(X32, X2)
< 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) { 111, 308 }: Central Line L(111, 308) { 110, 670 }: Central Line L(110, 670) { 6, 703 }: Central Line L(6, 703) { 1, 719 }: Central Line L(1, 719) { 2, 733 }: Central Line L(2, 733) { 82, 715 }: Central Line L(82, 715) A = Vertex A (0.0000, 0.0000) B = Vertex B (1.0000, 0.0000) C = Vertex C (0.6122, 0.5999) X_688 = CROSSDIFFERENCE OF X(6) AND X(76) (1.0103, -0.1475) X_111 = PARRY POINT (0.9885, -0.0457) X_308 = ISOTOMIC CONJUGATE OF X(39) (0.4915, 0.1700) X_110 = FOCUS OF KIEPERT PARABOLA (0.2516, 0.5478) X_670 = TRILINEAR POLE OF LINE X(2)X(39) (-0.0057, 0.2948) X_6 = SYMMEDIAN POINT (LEMOINE POINT, GREBE POINT) (0.6000, 0.2672) X_703 = EVEN (- 4, 0) CIRCUMCIRCLE POINT (1.0008, 0.2001) X_1 = INCENTER (0.5714, 0.2333) X_719 = EVEN (- 3, 1) CIRCUMCIRCLE POINT (1.0097, 0.1268) X_2 = CENTROID (0.5374, 0.2000) X_733 = EVEN (- 2, 2) CIRCUMCIRCLE POINT (1.0071, 0.0450) X_82 = ISOGONAL CONJUGATE OF X(38) (0.5943, 0.2703) X_715 = EVEN (- 3, - 1) CIRCUMCIRCLE POINT (1.0000, 0.2040) X_689 = TRILINEAR POLE OF LINE X(6)X(76) (0.0585, 0.3579) A B C X688 X111 X308 X110 X670 X6 X703 X1 X719 X2 X733 X82 X715 X689 (a, b, c) = (5, 6, 7) | AB = 1

X689 (TRILINEAR POLE OF LINE X6X_76) constructed on acute reference triangle \((a, b, c) = (5, 6, 7)\) with unit baseline AB = \(1\).

"""GEOMETOR construction model for X_689 = TRILINEAR POLE OF LINE X_6X_76."""

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


        def construct_x_00689(
            model: Model, A: spg.Point, B: spg.Point, C: spg.Point
        ) -> spg.Point:
            """Construct X_689 = TRILINEAR POLE OF LINE X_6X_76 on reference triangle ABC."""
            X_688 = eval_trilinear_point(model, A, B, C, '(a**(3)*(b**(4) - c**(4)))', ID="X_688", classes=["center"])
            X_689 = isogonal_conjugate(model, A, B, C, X_688, ID="X_689", classes=["selected", "target"])
            X_111 = eval_trilinear_point(model, A, B, C, 'a/(2*a**(2) - b**(2) - c**(2))', ID="X_111", classes=["center", "incident"])
            X_308 = eval_trilinear_point(model, A, B, C, 'b**(3)*c**(3)/(b**(2) + c**(2))', ID="X_308", classes=["center", "incident"])
            central_line(model, X_111, X_308, 111, 308, incident=True)
            X_110 = eval_trilinear_point(model, A, B, C, 'csc(B - C)', ID="X_110", classes=["center", "incident"])
            X_670 = eval_trilinear_point(model, A, B, C, '1/(a**(3)*(b**(2) - c**(2)))', ID="X_670", classes=["center", "incident"])
            central_line(model, X_110, X_670, 110, 670, incident=True)
            X_6 = symmedian_point_of(model, A, B, C, ID="X_6", classes=["center", "incident"])
            X_703 = eval_trilinear_point(model, A, B, C, '(1/(a **(-5)*(b**(0) + c**(0)) - a **(-1)*(b **(-4) + c **(-4))))', ID="X_703", classes=["center", "incident"])
            central_line(model, X_6, X_703, 6, 703, incident=True)
            return promote_point_to_top(model, X_689)


        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_689 on the given reference triangle."""
            model = create_model('X_689 = TRILINEAR POLE OF LINE X_6X_76')
            A, B, C = construct_baseline_triangle(model, *sides, show_guides=show_guides)
            construct_x_00689(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-00689.json"))
            write_center_svg(
                model_acute,
                here / "x-00689.svg",
                subtitle="(a, b, c) = (5, 6, 7) | AB = 1",
            )