X561

ISOGONAL CONJUGATE OF 4th POWER POINT

X561 is the isogonal conjugate of 4th power point.
< 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) { 38, 75 }: Central Line L(38, 75) { 92, 304 }: Central Line L(92, 304) { 76, 321 }: Central Line L(76, 321) { 2, 716 }: Central Line L(2, 716) { 1, 718 }: Central Line L(1, 718) { 6, 720 }: Central Line L(6, 720) A = Vertex A (0.0000, 0.0000) B = Vertex B (1.0000, 0.0000) C = Vertex C (0.6122, 0.5999) X_560 = 4th POWER POINT (0.6520, 0.3639) X_38 = CROSSPOINT OF X(1) AND X(75) (0.5443, 0.1976) X_75 = ISOTOMIC CONJUGATE OF INCENTER (0.4988, 0.1682) X_92 = CEVAPOINT OF INCENTER AND CLAWSON POINT (0.5949, 0.3639) X_304 = ISOTOMIC CONJUGATE OF X(19) (0.3683, 0.0513) X_76 = 3rd BROCARD POINT (0.4567, 0.1388) X_321 = ISOTOMIC CONJUGATE OF X(81) (0.4800, 0.1527) X_2 = CENTROID (0.5374, 0.2000) X_716 = EVEN (- 3, 0) INFINITY POINT (1.0180, 0.5368) X_1 = INCENTER (0.5714, 0.2333) X_718 = EVEN (- 3, 1) INFINITY POINT (0.0703, -0.1553) X_6 = SYMMEDIAN POINT (LEMOINE POINT, GREBE POINT) (0.6000, 0.2672) X_720 = EVEN (- 3, 2) INFINITY POINT (0.0849, -0.1737) X_561 = ISOGONAL CONJUGATE OF 4th POWER POINT (0.4126, 0.1125) A B C X560 X38 X75 X92 X304 X76 X321 X2 X716 X1 X718 X6 X720 X561 (a, b, c) = (5, 6, 7) | AB = 1

X561 (ISOGONAL CONJUGATE OF 4th POWER POINT) constructed on acute reference triangle \((a, b, c) = (5, 6, 7)\) with unit baseline AB = \(1\).

"""GEOMETOR construction model for X_561 = ISOGONAL CONJUGATE OF 4th POWER POINT."""

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


        def construct_x_00561(
            model: Model, A: spg.Point, B: spg.Point, C: spg.Point
        ) -> spg.Point:
            """Construct X_561 = ISOGONAL CONJUGATE OF 4th POWER POINT on reference triangle ABC."""
            X_560 = eval_trilinear_point(model, A, B, C, 'a**(4)', ID="X_560", classes=["center"])
            X_561 = isogonal_conjugate(model, A, B, C, X_560, ID="X_561", classes=["selected", "target"])
            X_38 = eval_trilinear_point(model, A, B, C, 'b**(2) + c**(2)', ID="X_38", classes=["center", "incident"])
            X_75 = eval_trilinear_point(model, A, B, C, '1/a**(2)', ID="X_75", classes=["center", "incident"])
            central_line(model, X_38, X_75, 38, 75, incident=True)
            X_92 = eval_trilinear_point(model, A, B, C, 'csc(2*A)', ID="X_92", classes=["center", "incident"])
            X_304 = eval_trilinear_point(model, A, B, C, '(cot(A))*(csc(A))**(2)', ID="X_304", classes=["center", "incident"])
            central_line(model, X_92, X_304, 92, 304, incident=True)
            X_76 = eval_trilinear_point(model, A, B, C, '1/a**(3)', ID="X_76", classes=["center", "incident"])
            X_321 = eval_trilinear_point(model, A, B, C, '(b + c)*b**(2)*c**(2)', ID="X_321", classes=["center", "incident"])
            central_line(model, X_76, X_321, 76, 321, incident=True)
            return promote_point_to_top(model, X_561)


        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_561 on the given reference triangle."""
            model = create_model('X_561 = ISOGONAL CONJUGATE OF 4th POWER POINT')
            A, B, C = construct_baseline_triangle(model, *sides, show_guides=show_guides)
            construct_x_00561(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-00561.json"))
            write_center_svg(
                model_acute,
                here / "x-00561.svg",
                subtitle="(a, b, c) = (5, 6, 7) | AB = 1",
            )