X1413

X84-BETH CONJUGATE OF X84

< 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, 84 }: Central Line L(1, 84) { 86, 285 }: Central Line L(86, 285) { 6, 603 }: Central Line L(6, 603) { 57, 937 }: Central Line L(57, 937) { 73, 939 }: Central Line L(73, 939) { 3, 1167 }: Central Line L(3, 1167) A = Vertex A (0.0000, 0.0000) B = Vertex B (1.0000, 0.0000) C = Vertex C (0.6122, 0.5999) X_84 = ISOGONAL CONJUGATE OF X(40) (0.6071, 0.6816) X_1 = INCENTER (0.5714, 0.2333) X_86 = CEVAPOINT OF INCENTER AND CENTROID (0.5534, 0.2171) X_285 = -CROSS CONJUGATE OF X(21) (0.6147, 0.7300) X_6 = SYMMEDIAN POINT (LEMOINE POINT, GREBE POINT) (0.6000, 0.2672) X_603 = -CEVA CONJUGATE OF X(56) (0.5992, 0.1851) X_57 = ISOGONAL CONJUGATE OF X(9) (0.6138, 0.3110) X_937 = ISOGONAL CONJUGATE OF X(936) (0.6143, 0.2920) X_73 = CROSSPOINT OF INCENTER AND CIRCUMCENTER (0.5487, 0.1428) X_939 = ISOGONAL CONJUGATE OF X(938) (0.5573, 0.2204) X_3 = CIRCUMCENTER (0.5000, 0.1021) X_1167 = 1st SARAGOSSA POINT OF X(34) (0.5172, 0.1910) X_1413 = -BETH CONJUGATE OF X(84) (0.6037, 0.6378) A B C X84 X1 X86 X285 X6 X603 X57 X937 X73 X939 X3 X1167 X1413 (a, b, c) = (5, 6, 7) | AB = 1

X1413 (X84-BETH CONJUGATE OF X84) constructed on acute reference triangle \((a, b, c) = (5, 6, 7)\) with unit baseline AB = \(1\).

"""GEOMETOR construction model for X_1413 = X_84-BETH CONJUGATE OF X_84."""

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


        def construct_x_01413(
            model: Model, A: spg.Point, B: spg.Point, C: spg.Point
        ) -> spg.Point:
            """Construct X_1413 = X_84-BETH CONJUGATE OF X_84 on reference triangle ABC."""
            X_84 = eval_trilinear_point(model, A, B, C, '1/(cos(B) + cos(C) - cos(A) - 1)', ID="X_84", classes=["center"])
            X_1256 = point_from_barycentrics(model, A, B, C, 0.0024481835, 0.0070167771, 0.99053504, ID="X_1256", classes=["center"])
            X_1413 = crosspoint(model, A, B, C, X_84, X_1256, ID="X_1413", classes=["selected", "target"])
            X_1 = incenter_of(model, A, B, C, ID="X_1", classes=["center", "incident"])
            central_line(model, X_1, X_84, 1, 84, incident=True)
            X_86 = eval_trilinear_point(model, A, B, C, 'b*c/(b + c)', ID="X_86", classes=["center", "incident"])
            X_285 = eval_trilinear_point(model, A, B, C, '(1/((cos(B) + cos(C))*(-1 - cos(A) + cos(B) + cos(C))))', ID="X_285", classes=["center", "incident"])
            central_line(model, X_86, X_285, 86, 285, incident=True)
            X_6 = symmedian_point_of(model, A, B, C, ID="X_6", classes=["center", "incident"])
            X_603 = eval_trilinear_point(model, A, B, C, '(cos(A))**(2) - cos(A)', ID="X_603", classes=["center", "incident"])
            central_line(model, X_6, X_603, 6, 603, incident=True)
            return promote_point_to_top(model, X_1413)


        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_1413 on the given reference triangle."""
            model = create_model('X_1413 = X_84-BETH CONJUGATE OF X_84')
            A, B, C = construct_baseline_triangle(model, *sides, show_guides=show_guides)
            construct_x_01413(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-01413.json"))
            write_center_svg(
                model_acute,
                here / "x-01413.svg",
                subtitle="(a, b, c) = (5, 6, 7) | AB = 1",
            )