X2311

X2-ISOCONJUGATE OF X1284

X2311 = polar conjugate of isotomic conjugate of X1808
< 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) { 41, 60 }: Central Line L(41, 60) { 58, 101 }: Central Line L(58, 101) { 9, 261 }: Central Line L(9, 261) { 28, 291 }: Central Line L(28, 291) { 272, 335 }: Central Line L(272, 335) { 21, 644 }: Central Line L(21, 644) A = Vertex A (0.0000, 0.0000) B = Vertex B (1.0000, 0.0000) C = Vertex C (0.6122, 0.5999) X_41 = -CEVA CONJUGATE OF X(31) (0.5823, 0.2244) X_60 = ISOGONAL CONJUGATE OF X(12) (0.5790, 0.2258) X_58 = ISOGONAL CONJUGATE OF X(10) (0.6107, 0.2850) X_101 = Ψ(INCENTER, SYMMEDIAN POINT) (0.2143, 0.5249) X_9 = MITTENPUNKT (0.5110, 0.1615) X_261 = ISOTOMIC CONJUGATE OF X(12) (0.5072, 0.1625) X_28 = CEVAPOINT OF X(19) AND X(25) (0.6285, 0.4382) X_291 = 2nd SHARYGIN POINT (1.0249, 0.0364) X_272 = ISOGONAL CONJUGATE OF X(209) (-0.2458, -0.0534) X_335 = ISOTOMIC CONJUGATE OF X(239) (1.0387, 0.0318) X_21 = SCHIFFLER POINT (0.5287, 0.1771) X_644 = TRILINEAR MULTIPLIER FOR YFF PARABOLA (-0.0171, 0.3359) X_2311 = -ISOCONJUGATE OF X(1284) (1.0300, 0.0312) A B C X41 X60 X58 X101 X9 X261 X28 X291 X272 X335 X21 X644 X2311 (a, b, c) = (5, 6, 7) | AB = 1

X2311 (X2-ISOCONJUGATE OF X1284) constructed on acute reference triangle \((a, b, c) = (5, 6, 7)\) with unit baseline AB = \(1\).

"""GEOMETOR construction model for X_2311 = X_2-ISOCONJUGATE OF X_1284."""

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


        def construct_x_02311(
            model: Model, A: spg.Point, B: spg.Point, C: spg.Point
        ) -> spg.Point:
            """Construct X_2311 = X_2-ISOCONJUGATE OF X_1284 on reference triangle ABC."""
            X_41 = eval_trilinear_point(model, A, B, C, 'a**(2)*(b + c - a)', ID="X_41", classes=["center"])
            X_60 = eval_trilinear_point(model, A, B, C, '1/(1 + cos(B - C))', ID="X_60", classes=["center"])
            X_58 = eval_trilinear_point(model, A, B, C, 'a/(b + c)', ID="X_58", classes=["center"])
            X_101 = eval_trilinear_point(model, A, B, C, 'a/(b - c)', ID="X_101", classes=["center"])
            central_line(model, X_41, X_60, 41, 60)
            central_line(model, X_58, X_101, 58, 101)
            X_2311 = intersect_lines(model, X_41, X_60, X_58, X_101, ID="X_2311", classes=["selected", "target"])
            X_9 = mittenpunkt_of(model, A, B, C, ID="X_9", classes=["center", "incident"])
            X_261 = eval_trilinear_point(model, A, B, C, '(((csc(A))*(sec(B/2 - C/2)))**(2))', ID="X_261", classes=["center", "incident"])
            central_line(model, X_9, X_261, 9, 261, incident=True)
            return promote_point_to_top(model, X_2311)


        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_2311 on the given reference triangle."""
            model = create_model('X_2311 = X_2-ISOCONJUGATE OF X_1284')
            A, B, C = construct_baseline_triangle(model, *sides, show_guides=show_guides)
            construct_x_02311(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-02311.json"))
            write_center_svg(
                model_acute,
                here / "x-02311.svg",
                subtitle="(a, b, c) = (5, 6, 7) | AB = 1",
            )