X1784

MIMOSA TRANSFORM OF X1294

X1784 = crossdifference of every pair of points on line X48X822
< 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, 29 }: Central Line L(1, 29) { 4, 79 }: Central Line L(4, 79) { 36, 243 }: Central Line L(36, 243) { 240, 522 }: Central Line L(240, 522) { 451, 498 }: Central Line L(451, 498) { 484, 653 }: Central Line L(484, 653) 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_29 = CEVAPOINT OF INCENTER AND ORTHOCENTER (0.5903, 0.3384) X_4 = ORTHOCENTER (0.6122, 0.3958) X_79 = ISOGONAL CONJUGATE OF X(35) (0.5976, 0.3019) X_36 = INVERSE-IN-CIRCUMCIRCLE OF INCENTER (1.3333, 1.6330) X_243 = -LINE CONJUGATE OF X(73) (0.7516, 0.9505) X_240 = -LINE CONJUGATE OF X(48) (0.7457, 0.8594) X_522 = ISOGONAL CONJUGATE OF X(109) (-0.0318, 0.3430) X_451 = -HIRST INVERSE OF X(424) (0.5621, 0.2645) X_498 = YFF CONCURRENT CONGRUENT CIRCLES POINT (0.5518, 0.2140) X_484 = 1st EVANS PERSPECTOR (2.0952, 3.0327) X_653 = TRILINEAR POLE OF LINE X(1)X(4) (0.5097, 0.6030) X_1784 = MIMOSA TRANSFORM OF X(1294) (0.6867, 0.8743) A B C X1 X29 X4 X79 X36 X243 X240 X522 X451 X498 X484 X653 X1784 (a, b, c) = (5, 6, 7) | AB = 1

X1784 (MIMOSA TRANSFORM OF X1294) constructed on acute reference triangle \((a, b, c) = (5, 6, 7)\) with unit baseline AB = \(1\).

"""GEOMETOR construction model for X_1784 = MIMOSA TRANSFORM OF X_1294."""

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


        def construct_x_01784(
            model: Model, A: spg.Point, B: spg.Point, C: spg.Point
        ) -> spg.Point:
            """Construct X_1784 = MIMOSA TRANSFORM OF X_1294 on reference triangle ABC."""
            X_1 = incenter_of(model, A, B, C, ID="X_1", classes=["center"])
            X_29 = eval_trilinear_point(model, A, B, C, '(sec(A))/(cos(B) + cos(C))', ID="X_29", classes=["center"])
            X_4 = orthocenter_of(model, A, B, C, ID="X_4", classes=["center"])
            X_79 = eval_trilinear_point(model, A, B, C, '1/(1 + 2*cos(A))', ID="X_79", classes=["center"])
            central_line(model, X_1, X_29, 1, 29)
            central_line(model, X_4, X_79, 4, 79)
            X_1784 = intersect_lines(model, X_1, X_29, X_4, X_79, ID="X_1784", classes=["selected", "target"])
            X_36 = eval_trilinear_point(model, A, B, C, '1 - 2*cos(A)', ID="X_36", classes=["center", "incident"])
            X_243 = eval_trilinear_point(model, A, B, C, '(sec(A))*((cos(A))**(2) - cos(B)*cos(C))', ID="X_243", classes=["center", "incident"])
            central_line(model, X_36, X_243, 36, 243, incident=True)
            return promote_point_to_top(model, X_1784)


        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_1784 on the given reference triangle."""
            model = create_model('X_1784 = MIMOSA TRANSFORM OF X_1294')
            A, B, C = construct_baseline_triangle(model, *sides, show_guides=show_guides)
            construct_x_01784(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-01784.json"))
            write_center_svg(
                model_acute,
                here / "x-01784.svg",
                subtitle="(a, b, c) = (5, 6, 7) | AB = 1",
            )