X1253

ISOGONAL CONJUGATE OF X1088

< 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) { 6, 31 }: Central Line L(6, 31) { 35, 255 }: Central Line L(35, 255) { 9, 294 }: Central Line L(9, 294) { 165, 269 }: Central Line L(165, 269) { 238, 390 }: Central Line L(238, 390) { 220, 480 }: Central Line L(220, 480) A = Vertex A (0.0000, 0.0000) B = Vertex B (1.0000, 0.0000) C = Vertex C (0.6122, 0.5999) X_55 = INSIMILICENTER(CIRCUMCIRCLE, INCIRCLE) (0.5490, 0.1921) X_41 = -CEVA CONJUGATE OF X(31) (0.5823, 0.2244) X_6 = SYMMEDIAN POINT (LEMOINE POINT, GREBE POINT) (0.6000, 0.2672) X_31 = 2nd POWER POINT (0.6228, 0.3008) X_35 = {X(1),X(3)}-HARMONIC CONJUGATE OF X(36) (0.5373, 0.1706) X_255 = ISOGONAL CONJUGATE OF X(158) (0.4217, 0.0365) X_9 = MITTENPUNKT (0.5110, 0.1615) X_294 = ISOGONAL CONJUGATE OF X(241) (0.9276, -0.0575) X_165 = CENTROID OF THE EXCENTRAL TRIANGLE (0.4762, 0.0583) X_269 = ISOGONAL CONJUGATE OF X(200) (0.6369, 0.3847) X_238 = -LINE CONJUGATE OF X(37) (1.6190, 1.4775) X_390 = REFLECTION OF GERGONNE POINT IN INCENTER (0.5526, 0.1897) X_220 = -CEVA CONJUGATE OF X(55) (0.4826, 0.1278) X_480 = -CEVA CONJUGATE OF X(220) (0.4089, 0.0793) X_1253 = ISOGONAL CONJUGATE OF X(1088) (0.5237, 0.1548) A B C X55 X41 X6 X31 X35 X255 X9 X294 X165 X269 X238 X390 X220 X480 X1253 (a, b, c) = (5, 6, 7) | AB = 1

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

"""GEOMETOR construction model for X_1253 = ISOGONAL CONJUGATE OF X_1088."""

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


        def construct_x_01253(
            model: Model, A: spg.Point, B: spg.Point, C: spg.Point
        ) -> spg.Point:
            """Construct X_1253 = ISOGONAL CONJUGATE OF X_1088 on reference triangle ABC."""
            X_1088 = eval_trilinear_point(model, A, B, C, '(sec(A/2))**(4)', ID="X_1088", classes=["center"])
            X_1253 = isogonal_conjugate(model, A, B, C, X_1088, ID="X_1253", classes=["selected", "target"])
            X_6 = symmedian_point_of(model, A, B, C, ID="X_6", classes=["center", "incident"])
            X_31 = eval_trilinear_point(model, A, B, C, 'a**(2)', ID="X_31", classes=["center", "incident"])
            central_line(model, X_6, X_31, 6, 31, incident=True)
            X_35 = eval_trilinear_point(model, A, B, C, '1 + 2*cos(A)', ID="X_35", classes=["center", "incident"])
            X_255 = eval_trilinear_point(model, A, B, C, '(cos(A))**(2)', ID="X_255", classes=["center", "incident"])
            central_line(model, X_35, X_255, 35, 255, incident=True)
            X_9 = mittenpunkt_of(model, A, B, C, ID="X_9", classes=["center", "incident"])
            X_294 = eval_trilinear_point(model, A, B, C, '((b + c - a)/(b**(2) + c**(2) - a*b - a*c))', ID="X_294", classes=["center", "incident"])
            central_line(model, X_9, X_294, 9, 294, incident=True)
            return promote_point_to_top(model, X_1253)


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