X1260

ISOGONAL CONJUGATE OF X1119

< 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) { 9, 55 }: Central Line L(9, 55) { 3, 63 }: Central Line L(3, 63) { 31, 218 }: Central Line L(31, 218) { 101, 154 }: Central Line L(101, 154) { 8, 405 }: Central Line L(8, 405) { 100, 329 }: Central Line L(100, 329) A = Vertex A (0.0000, 0.0000) B = Vertex B (1.0000, 0.0000) C = Vertex C (0.6122, 0.5999) X_1119 = 2nd HATZIPOLAKIS PERSPECTOR (0.6322, 0.5039) X_9 = MITTENPUNKT (0.5110, 0.1615) X_55 = INSIMILICENTER(CIRCUMCIRCLE, INCIRCLE) (0.5490, 0.1921) X_3 = CIRCUMCENTER (0.5000, 0.1021) X_63 = ISOGONAL CONJUGATE OF X(19) (0.4566, 0.0823) X_31 = 2nd POWER POINT (0.6228, 0.3008) X_218 = -CEVA CONJUGATE OF X(55) (0.6557, 0.3333) X_101 = Ψ(INCENTER, SYMMEDIAN POINT) (0.2143, 0.5249) X_154 = -CEVA CONJUGATE OF X(6) (0.4807, -0.3954) X_8 = NAGEL POINT (0.4694, 0.1333) X_405 = EULER LINE INTERCEPT OF LINE X(1)X(6) (0.5325, 0.1870) X_100 = ANTICOMPLEMENT OF FEUERBACH POINT (0.1429, 0.4666) X_329 = ISOTOMIC CONJUGATE OF X(189) (0.3847, -0.0222) X_1260 = ISOGONAL CONJUGATE OF X(1119) (0.3557, 0.0365) A B C X1119 X9 X55 X3 X63 X31 X218 X101 X154 X8 X405 X100 X329 X1260 (a, b, c) = (5, 6, 7) | AB = 1

X1260 (ISOGONAL CONJUGATE OF X1119) constructed on acute reference triangle \((a, b, c) = (5, 6, 7)\) with unit baseline AB = \(1\).

"""GEOMETOR construction model for X_1260 = ISOGONAL CONJUGATE OF X_1119."""

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


        def construct_x_01260(
            model: Model, A: spg.Point, B: spg.Point, C: spg.Point
        ) -> spg.Point:
            """Construct X_1260 = ISOGONAL CONJUGATE OF X_1119 on reference triangle ABC."""
            X_1119 = eval_trilinear_point(model, A, B, C, '((1 - sec(A))/(1 + cos(A)))', ID="X_1119", classes=["center"])
            X_1260 = isogonal_conjugate(model, A, B, C, X_1119, ID="X_1260", classes=["selected", "target"])
            X_9 = mittenpunkt_of(model, A, B, C, ID="X_9", classes=["center", "incident"])
            X_55 = eval_trilinear_point(model, A, B, C, 'a*(b + c - a)', ID="X_55", classes=["center", "incident"])
            central_line(model, X_9, X_55, 9, 55, incident=True)
            X_3 = circumcenter_of(model, A, B, C, ID="X_3", classes=["center", "incident"])
            X_63 = eval_trilinear_point(model, A, B, C, 'cot(A)', ID="X_63", classes=["center", "incident"])
            central_line(model, X_3, X_63, 3, 63, incident=True)
            X_31 = eval_trilinear_point(model, A, B, C, 'a**(2)', ID="X_31", classes=["center", "incident"])
            X_218 = eval_trilinear_point(model, A, B, C, '((cos(A/2))**(2)*((cos(B/2))**(4) + (cos(C/2))**(4) - (cos(A/2))**(4)))', ID="X_218", classes=["center", "incident"])
            central_line(model, X_31, X_218, 31, 218, incident=True)
            return promote_point_to_top(model, X_1260)


        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_1260 on the given reference triangle."""
            model = create_model('X_1260 = ISOGONAL CONJUGATE OF X_1119')
            A, B, C = construct_baseline_triangle(model, *sides, show_guides=show_guides)
            construct_x_01260(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-01260.json"))
            write_center_svg(
                model_acute,
                here / "x-01260.svg",
                subtitle="(a, b, c) = (5, 6, 7) | AB = 1",
            )