X1503

POINT ARKAB

As the isogonal conjugate of a point on the circumcircle, X1503 lies on the line at infinity.
< 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, 6 }: Van Aubel Line { 3, 66 }: Central Line L(3, 66) { 20, 64 }: Central Line L(20, 64) { 67, 74 }: Central Line L(67, 74) { 2, 154 }: Central Line L(2, 154) { 22, 161 }: Central Line L(22, 161) A = Vertex A (0.0000, 0.0000) B = Vertex B (1.0000, 0.0000) C = Vertex C (0.6122, 0.5999) X_1297 = COLLINGS TRANSFORM OF X(127) (0.4838, -0.4080) X_4 = ORTHOCENTER (0.6122, 0.3958) X_6 = SYMMEDIAN POINT (LEMOINE POINT, GREBE POINT) (0.6000, 0.2672) X_3 = CIRCUMCENTER (0.5000, 0.1021) X_66 = ISOGONAL CONJUGATE OF X(22) (0.5912, 1.0593) X_20 = DE LONGCHAMPS POINT (0.3878, -0.1916) X_64 = ISOGONAL CONJUGATE OF X(20) (0.5579, 1.5943) X_67 = ISOGONAL CONJUGATE OF X(23) (0.7606, -0.2152) X_74 = ISOGONAL CONJUGATE OF EULER INFINITY POINT (0.7484, -0.3437) X_2 = CENTROID (0.5374, 0.2000) X_154 = -CEVA CONJUGATE OF X(6) (0.4807, -0.3954) X_22 = EXETER POINT (0.4143, -0.1221) X_161 = -OF-TANGENTIAL-TRIANGLE (0.2845, -1.4852) X_1503 = POINT ARKAB (0.4818, -0.3843) A B C X1297 X4 X6 X3 X66 X20 X64 X67 X74 X2 X154 X22 X161 X1503 (a, b, c) = (5, 6, 7) | AB = 1

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

"""GEOMETOR construction model for X_1503 = POINT ARKAB."""

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


        def construct_x_01503(
            model: Model, A: spg.Point, B: spg.Point, C: spg.Point
        ) -> spg.Point:
            """Construct X_1503 = POINT ARKAB on reference triangle ABC."""
            X_1297 = eval_trilinear_point(model, A, B, C, '(a/(b**(6) + c**(6) - 2*a**(6) + a**(4)*b**(2) + a**(4)*c**(2) - b**(4)*c**(2) - b**(2)*c**(4)))', ID="X_1297", classes=["center"])
            X_1503 = isogonal_conjugate(model, A, B, C, X_1297, ID="X_1503", classes=["selected", "target"])
            X_4 = orthocenter_of(model, A, B, C, ID="X_4", classes=["center", "incident"])
            X_6 = symmedian_point_of(model, A, B, C, ID="X_6", classes=["center", "incident"])
            central_line(model, X_4, X_6, 4, 6, incident=True)
            X_3 = circumcenter_of(model, A, B, C, ID="X_3", classes=["center", "incident"])
            X_66 = eval_trilinear_point(model, A, B, C, 'b*c/(b**(4) + c**(4) - a**(4))', ID="X_66", classes=["center", "incident"])
            central_line(model, X_3, X_66, 3, 66, incident=True)
            X_20 = eval_trilinear_point(model, A, B, C, 'cos(A) - cos(B)*cos(C)', ID="X_20", classes=["center", "incident"])
            X_64 = eval_trilinear_point(model, A, B, C, '1/(cos(A) - cos(B)*cos(C))', ID="X_64", classes=["center", "incident"])
            central_line(model, X_20, X_64, 20, 64, incident=True)
            return promote_point_to_top(model, X_1503)


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