X1275

ISOTOMIC CONJUGATE OF X1146

< 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) { 7, 59 }: Central Line L(7, 59) { 320, 765 }: Central Line L(320, 765) { 522, 664 }: Central Line L(522, 664) { 651, 666 }: Central Line L(651, 666) { 513, 927 }: Central Line L(513, 927) { 898, 934 }: Central Line L(898, 934) A = Vertex A (0.0000, 0.0000) B = Vertex B (1.0000, 0.0000) C = Vertex C (0.6122, 0.5999) X_1146 = CENTER OF HYPERBOLA {{A,B,C,X(2),X(8)}} (0.6866, 0.0428) X_7 = GERGONNE POINT (0.5903, 0.2769) X_59 = ISOGONAL CONJUGATE OF X(11) (0.5333, 0.4355) X_320 = ISOTOMIC CONJUGATE OF X(80) (-2.6735, -3.5993) X_765 = CEVAPOINT OF X(1) AND X(100) (0.4286, 0.3110) X_522 = ISOGONAL CONJUGATE OF X(109) (-0.0318, 0.3430) X_664 = TRILINEAR POLE OF LINE X(2)X(7) (0.2391, 0.5142) X_651 = TRILINEAR POLE OF LINE X(1)X(3) (0.3048, 0.5599) X_666 = TRILINEAR POLE OF LINE X(2)X(11) (1.0982, 0.1428) X_513 = ISOGONAL CONJUGATE OF X(100) (1.0529, -0.0806) X_927 = ISOGONAL CONJUGATE OF X(926) (1.0037, 0.1836) X_898 = ISOGONAL CONJUGATE OF X(891) (0.9234, -0.1828) X_934 = -CROSS CONJUGATE OF X(57) (0.4269, 0.6071) X_1275 = ISOTOMIC CONJUGATE OF X(1146) (0.5314, 0.4407) A B C X1146 X7 X59 X320 X765 X522 X664 X651 X666 X513 X927 X898 X934 X1275 (a, b, c) = (5, 6, 7) | AB = 1

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

"""GEOMETOR construction model for X_1275 = ISOTOMIC CONJUGATE OF X_1146."""

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


        def construct_x_01275(
            model: Model, A: spg.Point, B: spg.Point, C: spg.Point
        ) -> spg.Point:
            """Construct X_1275 = ISOTOMIC CONJUGATE OF X_1146 on reference triangle ABC."""
            X_1146 = eval_trilinear_point(model, A, B, C, 'b*c*((b - c)*(b + c - a))**(2)', ID="X_1146", classes=["center"])
            X_1275 = isotomic_conjugate(model, A, B, C, X_1146, ID="X_1275", classes=["selected", "target"])
            X_7 = gergonne_point_of(model, A, B, C, ID="X_7", classes=["center", "incident"])
            X_59 = eval_trilinear_point(model, A, B, C, '1/(1 - cos(B - C))', ID="X_59", classes=["center", "incident"])
            central_line(model, X_7, X_59, 7, 59, incident=True)
            X_320 = eval_trilinear_point(model, A, B, C, '(1 - 2*cos(A))/a**(2)', ID="X_320", classes=["center", "incident"])
            X_765 = eval_trilinear_point(model, A, B, C, '(b - c) **(-2)', ID="X_765", classes=["center", "incident"])
            central_line(model, X_320, X_765, 320, 765, incident=True)
            X_522 = eval_trilinear_point(model, A, B, C, '(cos(B) - cos(C))*(csc(A))', ID="X_522", classes=["center", "incident"])
            X_664 = eval_trilinear_point(model, A, B, C, '1/(a*(b - c)*(b + c - a))', ID="X_664", classes=["center", "incident"])
            central_line(model, X_522, X_664, 522, 664, incident=True)
            return promote_point_to_top(model, X_1275)


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