X1080

INTERCEPT OF EULER LINE AND LINE (13)X98

Coordinates for X1080 are obtained from those of X383 by changing π/3 to - π/3; contributed by Edward Brisse.
< 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) { 2, 3 }: Euler Line { 13, 98 }: Central Line L(13, 98) { 14, 262 }: Central Line L(14, 262) { 183, 622 }: Central Line L(183, 622) { 298, 511 }: Central Line L(298, 511) { 325, 621 }: Central Line L(325, 621) A = Vertex A (0.0000, 0.0000) B = Vertex B (1.0000, 0.0000) C = Vertex C (0.6122, 0.5999) X_2 = CENTROID (0.5374, 0.2000) X_3 = CIRCUMCENTER (0.5000, 0.1021) X_4 = ORTHOCENTER (0.6122, 0.3958) X_13 = 1st ISOGONIC CENTER (FERMAT POINT, TORRICELLI POINT) (0.5879, 0.2819) X_98 = TARRY POINT (0.8891, -0.2281) X_14 = 2nd ISOGONIC CENTER (0.9134, -0.1143) X_262 = ISOGONAL CONJUGATE OF X(182) (0.5893, 0.2856) X_183 = TRILINEAR PRODUCT X(75)X(182) (0.4700, 0.1275) X_622 = ANTICOMPLEMENT OF X(16) (-2.0784, -4.0479) X_298 = ISOTOMIC CONJUGATE OF 1st ISOGONIC CENTER (0.4724, 0.1301) X_511 = ISOGONAL CONJUGATE OF X(98) (0.2335, -0.3020) X_325 = -HIRST INVERSE OF X(69) (-0.3370, -0.7398) X_621 = ANTICOMPLEMENT OF X(15) (0.5084, 0.2242) X_1080 = INTERCEPT OF EULER LINE AND LINE (13)X(98) (0.5763, 0.3016) A B C X2 X3 X4 X13 X98 X14 X262 X183 X622 X298 X511 X325 X621 X1080 (a, b, c) = (5, 6, 7) | AB = 1

X1080 (INTERCEPT OF EULER LINE AND LINE (13)X98) constructed on acute reference triangle \((a, b, c) = (5, 6, 7)\) with unit baseline AB = \(1\).

"""GEOMETOR construction model for X_1080 = INTERCEPT OF EULER LINE AND LINE (13)X_98."""

        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,
            centroid_of,
            circumcenter_of,
            construct_baseline_triangle,
            create_model,
            eval_trilinear_point,
            promote_point_to_top,
        )
        from geometor.etc.render import write_center_svg


        def construct_x_01080(
            model: Model, A: spg.Point, B: spg.Point, C: spg.Point
        ) -> spg.Point:
            """Construct X_1080 = INTERCEPT OF EULER LINE AND LINE (13)X_98 on reference triangle ABC."""
            X_1080 = eval_trilinear_point(model, A, B, C, '(csc(B - C)*(sin(2*B)*cos(C -  omega  )*sin(C -  pi  /3) - sin(2*C)*cos(B -  omega  )*sin(B -  pi  /3)))', ID="X_1080", classes=["selected", "target"])
            X_2 = centroid_of(model, A, B, C, ID="X_2", classes=["center"])
            X_3 = circumcenter_of(model, A, B, C, ID="X_3", classes=["center"])
            central_line(model, X_2, X_3, 2, 3)
            X_13 = eval_trilinear_point(model, A, B, C, 'csc(A +  pi  /3)', ID="X_13", classes=["center", "incident"])
            X_98 = eval_trilinear_point(model, A, B, C, 'sec(A +  omega  )', ID="X_98", classes=["center", "incident"])
            central_line(model, X_13, X_98, 13, 98, incident=True)
            X_14 = eval_trilinear_point(model, A, B, C, 'csc(A -  pi  /3)', ID="X_14", classes=["center", "incident"])
            X_262 = eval_trilinear_point(model, A, B, C, 'sec(A -  omega  )', ID="X_262", classes=["center", "incident"])
            central_line(model, X_14, X_262, 14, 262, incident=True)
            return promote_point_to_top(model, X_1080)


        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_1080 on the given reference triangle."""
            model = create_model('X_1080 = INTERCEPT OF EULER LINE AND LINE (13)X_98')
            A, B, C = construct_baseline_triangle(model, *sides, show_guides=show_guides)
            construct_x_01080(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-01080.json"))
            write_center_svg(
                model_acute,
                here / "x-01080.svg",
                subtitle="(a, b, c) = (5, 6, 7) | AB = 1",
            )