X1265

ISOTOMIC 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) { 69, 72 }: Central Line L(69, 72) { 20, 190 }: Central Line L(20, 190) { 8, 210 }: Central Line L(8, 210) { 1, 344 }: Central Line L(1, 344) { 78, 345 }: Central Line L(78, 345) { 220, 346 }: Central Line L(220, 346) 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_69 = SYMMEDIAN POINT OF THE ANTICOMPLEMENTARY TRIANGLE (0.4122, 0.0654) X_72 = ISOGONAL CONJUGATE OF X(28) (0.4367, 0.0733) X_20 = DE LONGCHAMPS POINT (0.3878, -0.1916) X_190 = YFF PARABOLIC POINT (0.0748, 0.3999) X_8 = NAGEL POINT (0.4694, 0.1333) X_210 = -CEVA CONJUGATE OF X(37) (0.4925, 0.1466) X_1 = INCENTER (0.5714, 0.2333) X_344 = ISOTOMIC CONJUGATE OF X(277) (0.6218, 0.2693) X_78 = ISOGONAL CONJUGATE OF X(34) (0.3835, 0.0491) X_345 = ISOTOMIC CONJUGATE OF X(278) (0.3405, 0.0381) X_220 = -CEVA CONJUGATE OF X(55) (0.4826, 0.1278) X_346 = ISOTOMIC CONJUGATE OF X(279) (0.3948, 0.0827) X_1265 = ISOTOMIC CONJUGATE OF X(1119) (0.2751, 0.0213) A B C X1119 X69 X72 X20 X190 X8 X210 X1 X344 X78 X345 X220 X346 X1265 (a, b, c) = (5, 6, 7) | AB = 1

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

"""GEOMETOR construction model for X_1265 = ISOTOMIC 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,
            construct_baseline_triangle,
            create_model,
            eval_trilinear_point,
            nagel_point_of,
            promote_point_to_top,
        )
        from geometor.etc.render import write_center_svg


        def construct_x_01265(
            model: Model, A: spg.Point, B: spg.Point, C: spg.Point
        ) -> spg.Point:
            """Construct X_1265 = ISOTOMIC CONJUGATE OF X_1119 on reference triangle ABC."""
            X_1265 = eval_trilinear_point(model, A, B, C, '((cos(A))*((csc(A/2))**(4)))', ID="X_1265", classes=["selected", "target"])
            X_69 = eval_trilinear_point(model, A, B, C, '(cos(A))/a**(2)', ID="X_69", classes=["center", "incident"])
            X_72 = eval_trilinear_point(model, A, B, C, '(b + c)*cot(A)', ID="X_72", classes=["center", "incident"])
            central_line(model, X_69, X_72, 69, 72, incident=True)
            X_20 = eval_trilinear_point(model, A, B, C, 'cos(A) - cos(B)*cos(C)', ID="X_20", classes=["center", "incident"])
            X_190 = eval_trilinear_point(model, A, B, C, 'b*c/(b - c)', ID="X_190", classes=["center", "incident"])
            central_line(model, X_20, X_190, 20, 190, incident=True)
            X_8 = nagel_point_of(model, A, B, C, ID="X_8", classes=["center", "incident"])
            X_210 = eval_trilinear_point(model, A, B, C, '(b + c)*(b + c - a)', ID="X_210", classes=["center", "incident"])
            central_line(model, X_8, X_210, 8, 210, incident=True)
            return promote_point_to_top(model, X_1265)


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