X1922

TRILINEAR POLE OF PU(12)

X1922 = perspector of ABC and unary cofactor triangle of Gemini triangle 31
< 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) { 58, 101 }: Central Line L(58, 101) { 6, 291 }: Central Line L(6, 291) { 81, 335 }: Central Line L(81, 335) { 727, 813 }: Central Line L(727, 813) { 1416, 1428 }: Central Line L(1416, 1428) A = Vertex A (0.0000, 0.0000) B = Vertex B (1.0000, 0.0000) C = Vertex C (0.6122, 0.5999) X_1921 = CROSSDIFFERENCE OF PU(12) (-1.0027, -0.8795) X_58 = ISOGONAL CONJUGATE OF X(10) (0.6107, 0.2850) X_101 = Ψ(INCENTER, SYMMEDIAN POINT) (0.2143, 0.5249) X_6 = SYMMEDIAN POINT (LEMOINE POINT, GREBE POINT) (0.6000, 0.2672) X_291 = 2nd SHARYGIN POINT (1.0249, 0.0364) X_81 = CEVAPOINT OF INCENTER AND SYMMEDIAN POINT (0.5849, 0.2510) X_335 = ISOTOMIC CONJUGATE OF X(239) (1.0387, 0.0318) X_727 = EVEN (- 2, -1) CIRCUMCIRCLE POINT (1.0060, 0.1685) X_813 = o-(- 1, 1) CIRCUMCIRCLE POINT (0.9721, -0.0916) X_1416 = -BETH CONJUGATE OF X(105) (1.0588, -0.1921) X_1428 = -BETH CONJUGATE OF X(238) (0.5173, 0.1103) X_1922 = TRILINEAR POLE OF PU(12) (0.9912, 0.0547) A B C X1921 X58 X101 X6 X291 X81 X335 X727 X813 X1416 X1428 X1922 (a, b, c) = (5, 6, 7) | AB = 1

X1922 (TRILINEAR POLE OF PU(12)) constructed on acute reference triangle \((a, b, c) = (5, 6, 7)\) with unit baseline AB = \(1\).

"""GEOMETOR construction model for X_1922 = TRILINEAR POLE OF PU(12)."""

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


        def construct_x_01922(
            model: Model, A: spg.Point, B: spg.Point, C: spg.Point
        ) -> spg.Point:
            """Construct X_1922 = TRILINEAR POLE OF PU(12) on reference triangle ABC."""
            X_1921 = eval_trilinear_point(model, A, B, C, '(b**(3)*c**(3)*(a**(2) - b*c))', ID="X_1921", classes=["center"])
            X_1922 = isogonal_conjugate(model, A, B, C, X_1921, ID="X_1922", classes=["selected", "target"])
            X_58 = eval_trilinear_point(model, A, B, C, 'a/(b + c)', ID="X_58", classes=["center", "incident"])
            X_101 = eval_trilinear_point(model, A, B, C, 'a/(b - c)', ID="X_101", classes=["center", "incident"])
            central_line(model, X_58, X_101, 58, 101, incident=True)
            X_6 = symmedian_point_of(model, A, B, C, ID="X_6", classes=["center", "incident"])
            X_291 = eval_trilinear_point(model, A, B, C, '1/(a**(2) - b*c)', ID="X_291", classes=["center", "incident"])
            central_line(model, X_6, X_291, 6, 291, incident=True)
            X_81 = eval_trilinear_point(model, A, B, C, '1/(b + c)', ID="X_81", classes=["center", "incident"])
            X_335 = eval_trilinear_point(model, A, B, C, 'b*c/(a**(2) - b*c)', ID="X_335", classes=["center", "incident"])
            central_line(model, X_81, X_335, 81, 335, incident=True)
            return promote_point_to_top(model, X_1922)


        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_1922 on the given reference triangle."""
            model = create_model('X_1922 = TRILINEAR POLE OF PU(12)')
            A, B, C = construct_baseline_triangle(model, *sides, show_guides=show_guides)
            construct_x_01922(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-01922.json"))
            write_center_svg(
                model_acute,
                here / "x-01922.svg",
                subtitle="(a, b, c) = (5, 6, 7) | AB = 1",
            )