X3288

INTERSECTION OF LINES X237X_351 AND X523X_879

Let L denote the line through X2 parallel to the Brocard axis, X3X6. Coefficients for a trilinear equation for L are the trilinears for X3288.
< 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) { 187, 237 }: Central Line L(187, 237) { 6, 523 }: Central Line L(6, 523) { 323, 401 }: Central Line L(323, 401) { 352, 1499 }: Central Line L(352, 1499) { 111, 2698 }: Central Line L(111, 2698) { 419, 2501 }: Central Line L(419, 2501) A = Vertex A (0.0000, 0.0000) B = Vertex B (1.0000, 0.0000) C = Vertex C (0.6122, 0.5999) X_99 = STEINER POINT (0.1109, 0.4322) X_3114 = TgX(32) (0.5198, 0.2057) X_187 = INVERSE-IN-CIRCUMCIRCLE OF X(6) (SCHOUTE CENTER) (1.1986, 1.2559) X_237 = -LINE CONJUGATE OF X(2) (0.9894, 1.3825) X_6 = SYMMEDIAN POINT (LEMOINE POINT, GREBE POINT) (0.6000, 0.2672) X_523 = ISOGONAL CONJUGATE OF X(110) (1.0856, -0.0096) X_323 = ISOTOMIC CONJUGATE OF X(94) (-0.8839, -1.3275) X_401 = BAILEY POINT (-0.0758, -1.4044) X_352 = INVERSE-IN-CIRCUMCIRCLE OF X(353) (2.2545, 2.0453) X_1499 = POINT BIHAM (0.1078, 0.5997) X_111 = PARRY POINT (0.9885, -0.0457) X_2698 = SR(X(98), X(99)) (0.0271, 0.2938) X_419 = -HIRST INVERSE OF X(25) (0.7266, 0.6950) X_2501 = RADICAL CENTER OF {CIRCUMCIRCLE, NINE-POINT CIRCLE, TAYLOR CIRCLE} (-0.1402, 1.0959) X_3288 = INTERSECTION OF LINES X(237)X(351) AND X(523)X(879) (6.6505, -2.0452) A B C X99 X3114 X187 X237 X6 X523 X323 X401 X352 X1499 X111 X2698 X419 X2501 X3288 (a, b, c) = (5, 6, 7) | AB = 1

X3288 (INTERSECTION OF LINES X237X_351 AND X523X_879) constructed on acute reference triangle \((a, b, c) = (5, 6, 7)\) with unit baseline AB = \(1\).

"""GEOMETOR construction model for X_3288 = INTERSECTION OF LINES X_237X_351 AND X_523X_879."""

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


        def construct_x_03288(
            model: Model, A: spg.Point, B: spg.Point, C: spg.Point
        ) -> spg.Point:
            """Construct X_3288 = INTERSECTION OF LINES X_237X_351 AND X_523X_879 on reference triangle ABC."""
            X_99 = eval_trilinear_point(model, A, B, C, 'b*c/(b**(2) - c**(2))', ID="X_99", classes=["center"])
            X_3114 = eval_trilinear_point(model, A, B, C, '1/(a**(3)*(b**(4) + c**(4) + b**(2)*c**(2)))', ID="X_3114", classes=["center"])
            X_3288 = crosspoint(model, A, B, C, X_99, X_3114, ID="X_3288", classes=["selected", "target"])
            X_187 = eval_trilinear_point(model, A, B, C, 'a*(2*a**(2) - b**(2) - c**(2))', ID="X_187", classes=["center", "incident"])
            X_237 = eval_trilinear_point(model, A, B, C, 'a**(2)*cos(A +  omega  )', ID="X_237", classes=["center", "incident"])
            central_line(model, X_187, X_237, 187, 237, incident=True)
            X_6 = symmedian_point_of(model, A, B, C, ID="X_6", classes=["center", "incident"])
            X_523 = eval_trilinear_point(model, A, B, C, 'sin(B -C)', ID="X_523", classes=["center", "incident"])
            central_line(model, X_6, X_523, 6, 523, incident=True)
            X_323 = eval_trilinear_point(model, A, B, C, 'sin(3*A)*(csc(A))**(2)', ID="X_323", classes=["center", "incident"])
            X_401 = eval_trilinear_point(model, A, B, C, '(sin(2*B)*sin(2*C) - (sin(2*A))**(2))*(csc(A))', ID="X_401", classes=["center", "incident"])
            central_line(model, X_323, X_401, 323, 401, incident=True)
            return promote_point_to_top(model, X_3288)


        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_3288 on the given reference triangle."""
            model = create_model('X_3288 = INTERSECTION OF LINES X_237X_351 AND X_523X_879')
            A, B, C = construct_baseline_triangle(model, *sides, show_guides=show_guides)
            construct_x_03288(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-03288.json"))
            write_center_svg(
                model_acute,
                here / "x-03288.svg",
                subtitle="(a, b, c) = (5, 6, 7) | AB = 1",
            )