X1852

ZOSMA TRANSFORM OF X201

< 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, 12 }: Central Line L(4, 12) { 11, 28 }: Central Line L(11, 28) { 19, 1837 }: Central Line L(19, 1837) { 30, 1838 }: Central Line L(30, 1838) { 34, 1836 }: Central Line L(34, 1836) { 1839, 1841 }: Central Line L(1839, 1841) A = Vertex A (0.0000, 0.0000) B = Vertex B (1.0000, 0.0000) C = Vertex C (0.6122, 0.5999) X_4 = ORTHOCENTER (0.6122, 0.3958) X_12 = {X(1),X(5)}-HARMONIC CONJUGATE OF X(11) (0.5641, 0.2407) X_11 = FEUERBACH POINT (0.7347, 0.0667) X_28 = CEVAPOINT OF X(19) AND X(25) (0.6285, 0.4382) X_19 = CLAWSON POINT (0.6246, 0.4244) X_1837 = ZOSMA TRANSFORM OF X(34) (0.5972, 0.2070) X_30 = EULER INFINITY POINT (0.7469, 0.7481) X_1838 = ZOSMA TRANSFORM OF X(35) (0.6188, 0.4218) X_34 = -BETH CONJUGATE OF X(4) (0.6332, 0.4792) X_1836 = ZOSMA TRANSFORM OF X(33) (0.6066, 0.3254) X_1839 = ZOSMA TRANSFORM OF X(37) (0.6155, 0.4034) X_1841 = ZOSMA TRANSFORM OF X(71) (0.6283, 0.4477) X_1852 = ZOSMA TRANSFORM OF X(201) (0.6270, 0.4433) A B C X4 X12 X11 X28 X19 X1837 X30 X1838 X34 X1836 X1839 X1841 X1852 (a, b, c) = (5, 6, 7) | AB = 1

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

"""GEOMETOR construction model for X_1852 = ZOSMA TRANSFORM OF X_201."""

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


        def construct_x_01852(
            model: Model, A: spg.Point, B: spg.Point, C: spg.Point
        ) -> spg.Point:
            """Construct X_1852 = ZOSMA TRANSFORM OF X_201 on reference triangle ABC."""
            X_4 = orthocenter_of(model, A, B, C, ID="X_4", classes=["center"])
            X_12 = eval_trilinear_point(model, A, B, C, '1 + cos(B - C)', ID="X_12", classes=["center"])
            X_11 = feuerbach_point_of(model, A, B, C, ID="X_11", classes=["center"])
            X_28 = eval_trilinear_point(model, A, B, C, '(tan(A))/(b + c)', ID="X_28", classes=["center"])
            central_line(model, X_4, X_12, 4, 12)
            central_line(model, X_11, X_28, 11, 28)
            X_1852 = intersect_lines(model, X_4, X_12, X_11, X_28, ID="X_1852", classes=["selected", "target"])
            X_19 = eval_trilinear_point(model, A, B, C, 'tan(A)', ID="X_19", classes=["center", "incident"])
            X_1837 = eval_trilinear_point(model, A, B, C, 'cos(B) + cos(C) - 2*cos(B)*cos(C)', ID="X_1837", classes=["center", "incident"])
            central_line(model, X_19, X_1837, 19, 1837, incident=True)
            return promote_point_to_top(model, X_1852)


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