X1448

X377-BETH CONJUGATE OF X377

< 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, 7 }: Soddy Line { 28, 34 }: Central Line L(28, 34) { 65, 222 }: Central Line L(65, 222) { 46, 255 }: Central Line L(46, 255) { 223, 386 }: Central Line L(223, 386) { 241, 405 }: Central Line L(241, 405) A = Vertex A (0.0000, 0.0000) B = Vertex B (1.0000, 0.0000) C = Vertex C (0.6122, 0.5999) X_377 = EULER LINE INTERCEPT OF LINE X(7)X(8) (0.5473, 0.2258) X_1 = INCENTER (0.5714, 0.2333) X_7 = GERGONNE POINT (0.5903, 0.2769) X_28 = CEVAPOINT OF X(19) AND X(25) (0.6285, 0.4382) X_34 = -BETH CONJUGATE OF X(4) (0.6332, 0.4792) X_65 = ORTHOCENTER OF THE INTOUCH TRIANGLE (0.6041, 0.2933) X_222 = -CEVA CONJUGATE OF X(56) (0.5653, 0.1568) X_46 = -CEVA CONJUGATE OF X(1) (0.6917, 0.4543) X_255 = ISOGONAL CONJUGATE OF X(158) (0.4217, 0.0365) X_223 = -CEVA CONJUGATE OF X(57) (0.4996, -0.0528) X_386 = INVERSE-IN-BROCARD-CIRCLE OF X(58) (0.5912, 0.2526) X_241 = -LINE CONJUGATE OF X(55) (1.1217, 1.2442) X_405 = EULER LINE INTERCEPT OF LINE X(1)X(6) (0.5325, 0.1870) X_1448 = -BETH CONJUGATE OF X(377) (0.6169, 0.3386) A B C X377 X1 X7 X28 X34 X65 X222 X46 X255 X223 X386 X241 X405 X1448 (a, b, c) = (5, 6, 7) | AB = 1

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

"""GEOMETOR construction model for X_1448 = X_377-BETH CONJUGATE OF X_377."""

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


        def construct_x_01448(
            model: Model, A: spg.Point, B: spg.Point, C: spg.Point
        ) -> spg.Point:
            """Construct X_1448 = X_377-BETH CONJUGATE OF X_377 on reference triangle ABC."""
            X_1 = incenter_of(model, A, B, C, ID="X_1", classes=["center"])
            X_7 = gergonne_point_of(model, A, B, C, ID="X_7", classes=["center"])
            X_28 = eval_trilinear_point(model, A, B, C, '(tan(A))/(b + c)', ID="X_28", classes=["center"])
            X_34 = eval_trilinear_point(model, A, B, C, '1 - sec(A)', ID="X_34", classes=["center"])
            central_line(model, X_1, X_7, 1, 7)
            central_line(model, X_28, X_34, 28, 34)
            X_1448 = intersect_lines(model, X_1, X_7, X_28, X_34, ID="X_1448", classes=["selected", "target"])
            X_65 = eval_trilinear_point(model, A, B, C, 'cos(B) + cos(C)', ID="X_65", classes=["center", "incident"])
            X_222 = eval_trilinear_point(model, A, B, C, 'cos(A)*tan(A/2)', ID="X_222", classes=["center", "incident"])
            central_line(model, X_65, X_222, 65, 222, incident=True)
            return promote_point_to_top(model, X_1448)


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