X3590

1st DIXIT POINT

The radius of circle TA is |BC|/6, and the Kiepert angle (e.g., B-to-C-to-X3890) is arctan(2/3).
< 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) { 20, 1327 }: Central Line L(20, 1327) { 590, 1131 }: Central Line L(590, 1131) { 140, 3316 }: Central Line L(140, 3316) { 485, 3523 }: Central Line L(485, 3523) { 1132, 3068 }: Central Line L(1132, 3068) { 1328, 3091 }: Central Line L(1328, 3091) A = Vertex A (0.0000, 0.0000) B = Vertex B (1.0000, 0.0000) C = Vertex C (0.6122, 0.5999) X_20 = DE LONGCHAMPS POINT (0.3878, -0.1916) X_1327 = ARCTAN(3) KIEPERT POINT (0.5967, 0.3083) X_590 = ISOGONAL CONJUGATE OF X(588) (0.5615, 0.2258) X_1131 = ARCTAN(2) KIEPERT POINT (0.5904, 0.2888) X_140 = MIDPOINT OF X(3) AND X(5) (0.5281, 0.1755) X_3316 = ISOGONAL CONJUGATE OF X(3311) (0.5639, 0.2341) X_485 = VECTEN POINT (0.5773, 0.2578) X_3523 = EULER LINE INTERCEPT OF LINE X(35)X(390) (0.5160, 0.1440) X_1132 = ARCTAN(-2) KIEPERT POINT (0.8864, -0.3774) X_3068 = INTERSECTION OF X(2)X(6) AND X(4)X(371) (0.5722, 0.2373) X_1328 = ARCTAN(-3) KIEPERT POINT (0.4997, 1.5024) X_3091 = INTERSECTION OF LINES X(2)X(3) AND X(11)X(153) (0.5673, 0.2783) X_3590 = 1st DIXIT POINT (0.5693, 0.2429) A B C X20 X1327 X590 X1131 X140 X3316 X485 X3523 X1132 X3068 X1328 X3091 X3590 (a, b, c) = (5, 6, 7) | AB = 1

X3590 (1st DIXIT POINT) constructed on acute reference triangle \((a, b, c) = (5, 6, 7)\) with unit baseline AB = \(1\).

"""GEOMETOR construction model for X_3590 = 1st DIXIT POINT."""

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


        def construct_x_03590(
            model: Model, A: spg.Point, B: spg.Point, C: spg.Point
        ) -> spg.Point:
            """Construct X_3590 = 1st DIXIT POINT on reference triangle ABC."""
            X_3590 = eval_trilinear_point(model, A, B, C, '(b*c/(b**(2) + c**(2) - a**(2) + 6*area ))', ID="X_3590", classes=["selected", "target"])
            X_20 = eval_trilinear_point(model, A, B, C, 'cos(A) - cos(B)*cos(C)', ID="X_20", classes=["center", "incident"])
            X_1327 = eval_trilinear_point(model, A, B, C, '(1/(sin(A) + 3*cos(A)))', ID="X_1327", classes=["center", "incident"])
            central_line(model, X_20, X_1327, 20, 1327, incident=True)
            X_590 = eval_trilinear_point(model, A, B, C, '(a**(2) + 4*area )/a', ID="X_590", classes=["center", "incident"])
            X_1131 = eval_trilinear_point(model, A, B, C, '1/(sin(A) + 2*cos(A))', ID="X_1131", classes=["center", "incident"])
            central_line(model, X_590, X_1131, 590, 1131, incident=True)
            X_140 = eval_trilinear_point(model, A, B, C, '2*cos(A) + cos(B - C)', ID="X_140", classes=["center", "incident"])
            X_3316 = eval_trilinear_point(model, A, B, C, '1/(cos(A) + 2*sin(A))', ID="X_3316", classes=["center", "incident"])
            central_line(model, X_140, X_3316, 140, 3316, incident=True)
            return promote_point_to_top(model, X_3590)


        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_3590 on the given reference triangle."""
            model = create_model('X_3590 = 1st DIXIT POINT')
            A, B, C = construct_baseline_triangle(model, *sides, show_guides=show_guides)
            construct_x_03590(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-03590.json"))
            write_center_svg(
                model_acute,
                here / "x-03590.svg",
                subtitle="(a, b, c) = (5, 6, 7) | AB = 1",
            )