X3315

INTERSECTION OF LINES X1X_88 AND X105X_110

< 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, 88 }: Central Line L(1, 88) { 105, 110 }: Central Line L(105, 110) { 149, 1086 }: Central Line L(149, 1086) { 2, 1280 }: Central Line L(2, 1280) { 291, 1255 }: Central Line L(291, 1255) { 651, 1421 }: Central Line L(651, 1421) 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_88 = ISOGONAL CONJUGATE OF X(44) (1.0000, 0.0000) X_105 = Λ(INCENTER, SYMMEDIAN POINT) (0.9714, -0.0933) X_110 = FOCUS OF KIEPERT PARABOLA (0.2516, 0.5478) X_149 = REFLECTION OF X(20) IN X(104) (1.3265, -0.3333) X_1086 = CENTER OF HYPERBOLA {{A,B,C,X(2),X(7)|} (0.7687, 0.1000) X_2 = CENTROID (0.5374, 0.2000) X_1280 = ISOGONAL CONJUGATE OF X(1279) (1.1600, 0.1306) X_291 = 2nd SHARYGIN POINT (1.0249, 0.0364) X_1255 = ISOGONAL CONJUGATE OF X(1100) (0.5639, 0.2247) X_651 = TRILINEAR POLE OF LINE X(1)X(3) (0.3048, 0.5599) X_1421 = -BETH CONJUGATE OF X(149) (1.7143, -0.9331) X_3315 = INTERSECTION OF LINES X(1)X(88) AND X(105)X(110) (0.6571, 0.1866) A B C X1 X88 X105 X110 X149 X1086 X2 X1280 X291 X1255 X651 X1421 X3315 (a, b, c) = (5, 6, 7) | AB = 1

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

"""GEOMETOR construction model for X_3315 = INTERSECTION OF LINES X_1X_88 AND X_105X_110."""

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


        def construct_x_03315(
            model: Model, A: spg.Point, B: spg.Point, C: spg.Point
        ) -> spg.Point:
            """Construct X_3315 = INTERSECTION OF LINES X_1X_88 AND X_105X_110 on reference triangle ABC."""
            X_3315 = eval_trilinear_point(model, A, B, C, '((a - b)*(a - c) + 2*(b - c)**(2))', ID="X_3315", classes=["selected", "target"])
            X_1 = incenter_of(model, A, B, C, ID="X_1", classes=["center", "incident"])
            X_88 = eval_trilinear_point(model, A, B, C, '1/(b + c - 2*a)', ID="X_88", classes=["center", "incident"])
            central_line(model, X_1, X_88, 1, 88, incident=True)
            X_105 = eval_trilinear_point(model, A, B, C, '1/(b**(2) + c**(2) - a*(b + c))', ID="X_105", classes=["center", "incident"])
            X_110 = eval_trilinear_point(model, A, B, C, 'csc(B - C)', ID="X_110", classes=["center", "incident"])
            central_line(model, X_105, X_110, 105, 110, incident=True)
            X_149 = eval_trilinear_point(model, A, B, C, '(b*c*(b**(3) + c**(3) - a**(3) + (a**(2) - b*c)*(b + c) + a*(b*c - b**(2) - c**(2))))', ID="X_149", classes=["center", "incident"])
            X_1086 = eval_trilinear_point(model, A, B, C, '(b*c*(b - c)**(2))', ID="X_1086", classes=["center", "incident"])
            central_line(model, X_149, X_1086, 149, 1086, incident=True)
            return promote_point_to_top(model, X_3315)


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