X1824

ZOSMA TRANSFORM OF X2

X1824 = intersection of tangents to hyperbola {{A, B, C,X4,X19}} at X4 and X19
< 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) { 4, 8 }: Fuhrmann Line { 19, 25 }: Central Line L(19, 25) { 65, 225 }: Central Line L(65, 225) { 27, 295 }: Central Line L(27, 295) { 10, 429 }: Central Line L(10, 429) { 12, 431 }: Central Line L(12, 431) A = Vertex A (0.0000, 0.0000) B = Vertex B (1.0000, 0.0000) C = Vertex C (0.6122, 0.5999) X_1444 = -BETH CONJUGATE OF X(332) (0.4762, 0.0921) X_4 = ORTHOCENTER (0.6122, 0.3958) X_8 = NAGEL POINT (0.4694, 0.1333) X_19 = CLAWSON POINT (0.6246, 0.4244) X_25 = HOMOTHETIC CENTER OF ORTHIC AND TANGENTIAL TRIANGLES (0.6329, 0.4497) X_65 = ORTHOCENTER OF THE INTOUCH TRIANGLE (0.6041, 0.2933) X_225 = -CEVA CONJUGATE OF X(65) (0.6246, 0.4451) X_27 = CEVAPOINT OF ORTHOCENTER AND CLAWSON CENTER (0.6182, 0.4112) X_295 = ISOGONAL CONJUGATE OF X(242) (1.0582, 0.0142) X_10 = SPIEKER CENTER (0.5204, 0.1833) X_429 = EULER X(58)-5th-SUBSTITUTION POINT (0.6024, 0.3700) X_12 = {X(1),X(5)}-HARMONIC CONJUGATE OF X(11) (0.5641, 0.2407) X_431 = EULER X(283)-5th-SUBSTITUTION POINT (0.6091, 0.3875) X_1824 = ZOSMA TRANSFORM OF X(2) (0.6198, 0.4097) A B C X1444 X4 X8 X19 X25 X65 X225 X27 X295 X10 X429 X12 X431 X1824 (a, b, c) = (5, 6, 7) | AB = 1

X1824 (ZOSMA TRANSFORM OF X2) constructed on acute reference triangle \((a, b, c) = (5, 6, 7)\) with unit baseline AB = \(1\).

"""GEOMETOR construction model for X_1824 = ZOSMA TRANSFORM OF X_2."""

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


        def construct_x_01824(
            model: Model, A: spg.Point, B: spg.Point, C: spg.Point
        ) -> spg.Point:
            """Construct X_1824 = ZOSMA TRANSFORM OF X_2 on reference triangle ABC."""
            X_1444 = eval_trilinear_point(model, A, B, C, '(cot(A))/(b + c)', ID="X_1444", classes=["center"])
            X_1824 = isogonal_conjugate(model, A, B, C, X_1444, ID="X_1824", classes=["selected", "target"])
            X_4 = orthocenter_of(model, A, B, C, ID="X_4", classes=["center", "incident"])
            X_8 = nagel_point_of(model, A, B, C, ID="X_8", classes=["center", "incident"])
            central_line(model, X_4, X_8, 4, 8, incident=True)
            X_19 = eval_trilinear_point(model, A, B, C, 'tan(A)', ID="X_19", classes=["center", "incident"])
            X_25 = eval_trilinear_point(model, A, B, C, 'sin(A)*tan(A)', ID="X_25", classes=["center", "incident"])
            central_line(model, X_19, X_25, 19, 25, incident=True)
            X_65 = eval_trilinear_point(model, A, B, C, 'cos(B) + cos(C)', ID="X_65", classes=["center", "incident"])
            X_225 = eval_trilinear_point(model, A, B, C, '(sec(A))*(cos(B) + cos(C))', ID="X_225", classes=["center", "incident"])
            central_line(model, X_65, X_225, 65, 225, incident=True)
            return promote_point_to_top(model, X_1824)


        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_1824 on the given reference triangle."""
            model = create_model('X_1824 = ZOSMA TRANSFORM OF X_2')
            A, B, C = construct_baseline_triangle(model, *sides, show_guides=show_guides)
            construct_x_01824(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-01824.json"))
            write_center_svg(
                model_acute,
                here / "x-01824.svg",
                subtitle="(a, b, c) = (5, 6, 7) | AB = 1",
            )