X644

TRILINEAR MULTIPLIER FOR YFF PARABOLA

X644 satisfies the equation X*(incircle) = Yff parabola, where * denotes trilinear multiplication, defined by
< 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) { 100, 101 }: Central Line L(100, 101) { 8, 220 }: Central Line L(8, 220) { 145, 218 }: Central Line L(145, 218) { 219, 346 }: Central Line L(219, 346) { 78, 728 }: Central Line L(78, 728) { 190, 651 }: Central Line L(190, 651) A = Vertex A (0.0000, 0.0000) B = Vertex B (1.0000, 0.0000) C = Vertex C (0.6122, 0.5999) X_3669 = com(INTOUCH TRIANGLE) (-2.4762, 2.7994) X_100 = ANTICOMPLEMENT OF FEUERBACH POINT (0.1429, 0.4666) X_101 = Ψ(INCENTER, SYMMEDIAN POINT) (0.2143, 0.5249) X_8 = NAGEL POINT (0.4694, 0.1333) X_220 = -CEVA CONJUGATE OF X(55) (0.4826, 0.1278) X_145 = ANTICOMPLEMENT OF NAGEL POINT (0.6735, 0.3333) X_218 = -CEVA CONJUGATE OF X(55) (0.6557, 0.3333) X_219 = -CEVA CONJUGATE OF X(55) (0.4277, 0.0625) X_346 = ISOTOMIC CONJUGATE OF X(279) (0.3948, 0.0827) X_78 = ISOGONAL CONJUGATE OF X(34) (0.3835, 0.0491) X_728 = INTERSECTION OF LINES X(8)X(9) AND X(57)X(345) (0.3648, 0.0624) X_190 = YFF PARABOLIC POINT (0.0748, 0.3999) X_651 = TRILINEAR POLE OF LINE X(1)X(3) (0.3048, 0.5599) X_644 = TRILINEAR MULTIPLIER FOR YFF PARABOLA (-0.0171, 0.3359) A B C X3669 X100 X101 X8 X220 X145 X218 X219 X346 X78 X728 X190 X651 X644 (a, b, c) = (5, 6, 7) | AB = 1

X644 (TRILINEAR MULTIPLIER FOR YFF PARABOLA) constructed on acute reference triangle \((a, b, c) = (5, 6, 7)\) with unit baseline AB = \(1\).

"""GEOMETOR construction model for X_644 = TRILINEAR MULTIPLIER FOR YFF PARABOLA."""

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


        def construct_x_00644(
            model: Model, A: spg.Point, B: spg.Point, C: spg.Point
        ) -> spg.Point:
            """Construct X_644 = TRILINEAR MULTIPLIER FOR YFF PARABOLA on reference triangle ABC."""
            X_644 = eval_trilinear_point(model, A, B, C, '((b + c - a)/(b - c))', ID="X_644", classes=["selected", "target"])
            X_100 = eval_trilinear_point(model, A, B, C, '1/(b - c)', ID="X_100", classes=["center", "incident"])
            X_101 = eval_trilinear_point(model, A, B, C, 'a/(b - c)', ID="X_101", classes=["center", "incident"])
            central_line(model, X_100, X_101, 100, 101, incident=True)
            X_8 = nagel_point_of(model, A, B, C, ID="X_8", classes=["center", "incident"])
            X_220 = eval_trilinear_point(model, A, B, C, 'a*(b + c - a)**(2)', ID="X_220", classes=["center", "incident"])
            central_line(model, X_8, X_220, 8, 220, incident=True)
            X_145 = eval_trilinear_point(model, A, B, C, 'b*c*(3*a - b - c)', ID="X_145", classes=["center", "incident"])
            X_218 = eval_trilinear_point(model, A, B, C, '((cos(A/2))**(2)*((cos(B/2))**(4) + (cos(C/2))**(4) - (cos(A/2))**(4)))', ID="X_218", classes=["center", "incident"])
            central_line(model, X_145, X_218, 145, 218, incident=True)
            return promote_point_to_top(model, X_644)


        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_644 on the given reference triangle."""
            model = create_model('X_644 = TRILINEAR MULTIPLIER FOR YFF PARABOLA')
            A, B, C = construct_baseline_triangle(model, *sides, show_guides=show_guides)
            construct_x_00644(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-00644.json"))
            write_center_svg(
                model_acute,
                here / "x-00644.svg",
                subtitle="(a, b, c) = (5, 6, 7) | AB = 1",
            )