X1082

POINT ALPHERATZ

Coordinates for X1082 are obtained from those of X559 by changing π/3 to - π/3; contributed by Edward Brisse.
< 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, 3 }: OI Line (Incenter–Circumcenter Line) { 13, 226 }: Central Line L(13, 226) { 7, 554 }: Central Line L(7, 554) { 298, 319 }: Central Line L(298, 319) { 1250, 1442 }: Central Line L(1250, 1442) { 1100, 1653 }: Central Line L(1100, 1653) A = Vertex A (0.0000, 0.0000) B = Vertex B (1.0000, 0.0000) C = Vertex C (0.6122, 0.5999) X_1251 = ISOGONAL CONJUGATE OF X(1082) (0.5908, 0.2784) X_1 = INCENTER (0.5714, 0.2333) X_3 = CIRCUMCENTER (0.5000, 0.1021) X_13 = 1st ISOGONIC CENTER (FERMAT POINT, TORRICELLI POINT) (0.5879, 0.2819) X_226 = -CEVA CONJUGATE OF X(65) (0.5778, 0.2588) X_7 = GERGONNE POINT (0.5903, 0.2769) X_554 = (X(1),X(13))-ANSWER TO QUESTION A (0.5802, 0.2562) X_298 = ISOTOMIC CONJUGATE OF 1st ISOGONIC CENTER (0.4724, 0.1301) X_319 = ISOTOMIC CONJUGATE OF X(79) (0.4549, 0.1161) X_1250 = ISOGONAL CONJUGATE OF X(1081) (0.5229, 0.1536) X_1442 = -BETH CONJUGATE OF X(319) (0.5612, 0.2097) X_1100 = COMPLEMENT OF X(319) (0.5787, 0.2419) X_1653 = 5th EVANS PERSPECTOR (0.6584, 0.3759) X_1082 = POINT ALPHERATZ (0.5483, 0.1908) A B C X1251 X1 X3 X13 X226 X7 X554 X298 X319 X1250 X1442 X1100 X1653 X1082 (a, b, c) = (5, 6, 7) | AB = 1

X1082 (POINT ALPHERATZ) constructed on acute reference triangle \((a, b, c) = (5, 6, 7)\) with unit baseline AB = \(1\).

"""GEOMETOR construction model for X_1082 = POINT ALPHERATZ."""

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


        def construct_x_01082(
            model: Model, A: spg.Point, B: spg.Point, C: spg.Point
        ) -> spg.Point:
            """Construct X_1082 = POINT ALPHERATZ on reference triangle ABC."""
            X_1082 = eval_trilinear_point(model, A, B, C, '(sec(A/2))*sin(A/2 -  pi  /3)', ID="X_1082", classes=["selected", "target"])
            X_1 = incenter_of(model, A, B, C, ID="X_1", classes=["center", "incident"])
            X_3 = circumcenter_of(model, A, B, C, ID="X_3", classes=["center", "incident"])
            central_line(model, X_1, X_3, 1, 3, incident=True)
            X_13 = eval_trilinear_point(model, A, B, C, 'csc(A +  pi  /3)', ID="X_13", classes=["center", "incident"])
            X_226 = eval_trilinear_point(model, A, B, C, '(csc(A))*(cos(B) + cos(C))', ID="X_226", classes=["center", "incident"])
            central_line(model, X_13, X_226, 13, 226, incident=True)
            X_7 = gergonne_point_of(model, A, B, C, ID="X_7", classes=["center", "incident"])
            X_554 = eval_trilinear_point(model, A, B, C, 'sec(A/2)*csc(A/2 +  pi  /3)', ID="X_554", classes=["center", "incident"])
            central_line(model, X_7, X_554, 7, 554, incident=True)
            return promote_point_to_top(model, X_1082)


        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_1082 on the given reference triangle."""
            model = create_model('X_1082 = POINT ALPHERATZ')
            A, B, C = construct_baseline_triangle(model, *sides, show_guides=show_guides)
            construct_x_01082(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-01082.json"))
            write_center_svg(
                model_acute,
                here / "x-01082.svg",
                subtitle="(a, b, c) = (5, 6, 7) | AB = 1",
            )