X673

TRILINEAR POLE OF LINE X1X_514

X673 = BSS(a^2→a) of X98
< 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) { 2, 11 }: Central Line L(2, 11) { 6, 7 }: Central Line L(6, 7) { 9, 75 }: Central Line L(9, 75) { 27, 162 }: Central Line L(27, 162) { 86, 142 }: Central Line L(86, 142) { 19, 273 }: Central Line L(19, 273) A = Vertex A (0.0000, 0.0000) B = Vertex B (1.0000, 0.0000) C = Vertex C (0.6122, 0.5999) X_2 = CENTROID (0.5374, 0.2000) X_11 = FEUERBACH POINT (0.7347, 0.0667) X_6 = SYMMEDIAN POINT (LEMOINE POINT, GREBE POINT) (0.6000, 0.2672) X_7 = GERGONNE POINT (0.5903, 0.2769) X_9 = MITTENPUNKT (0.5110, 0.1615) X_75 = ISOTOMIC CONJUGATE OF INCENTER (0.4988, 0.1682) X_27 = CEVAPOINT OF ORTHOCENTER AND CLAWSON CENTER (0.6182, 0.4112) X_162 = CEVAPOINT OF X(108) AND X(109) (0.4897, 0.6018) X_86 = CEVAPOINT OF INCENTER AND CENTROID (0.5534, 0.2171) X_142 = COMPLEMENT OF X(9) (0.5506, 0.2192) X_19 = CLAWSON POINT (0.6246, 0.4244) X_273 = ISOGONAL CONJUGATE OF X(212) (0.6191, 0.4329) X_673 = TRILINEAR POLE OF LINE X(1)X(514) (0.9471, -0.0769) A B C X2 X11 X6 X7 X9 X75 X27 X162 X86 X142 X19 X273 X673 (a, b, c) = (5, 6, 7) | AB = 1

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

"""GEOMETOR construction model for X_673 = TRILINEAR POLE OF LINE X_1X_514."""

        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,
            centroid_of,
            construct_baseline_triangle,
            create_model,
            eval_trilinear_point,
            feuerbach_point_of,
            gergonne_point_of,
            isogonal_conjugate,
            mittenpunkt_of,
            promote_point_to_top,
            symmedian_point_of,
        )
        from geometor.etc.render import write_center_svg


        def construct_x_00673(
            model: Model, A: spg.Point, B: spg.Point, C: spg.Point
        ) -> spg.Point:
            """Construct X_673 = TRILINEAR POLE OF LINE X_1X_514 on reference triangle ABC."""
            X_672 = eval_trilinear_point(model, A, B, C, 'a*(b**(2) + c**(2) - a*(b + c))', ID="X_672", classes=["center"])
            X_673 = isogonal_conjugate(model, A, B, C, X_672, ID="X_673", classes=["selected", "target"])
            X_2 = centroid_of(model, A, B, C, ID="X_2", classes=["center", "incident"])
            X_11 = feuerbach_point_of(model, A, B, C, ID="X_11", classes=["center", "incident"])
            central_line(model, X_2, X_11, 2, 11, incident=True)
            X_6 = symmedian_point_of(model, A, B, C, ID="X_6", classes=["center", "incident"])
            X_7 = gergonne_point_of(model, A, B, C, ID="X_7", classes=["center", "incident"])
            central_line(model, X_6, X_7, 6, 7, incident=True)
            X_9 = mittenpunkt_of(model, A, B, C, ID="X_9", classes=["center", "incident"])
            X_75 = eval_trilinear_point(model, A, B, C, '1/a**(2)', ID="X_75", classes=["center", "incident"])
            central_line(model, X_9, X_75, 9, 75, incident=True)
            return promote_point_to_top(model, X_673)


        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_673 on the given reference triangle."""
            model = create_model('X_673 = TRILINEAR POLE OF LINE X_1X_514')
            A, B, C = construct_baseline_triangle(model, *sides, show_guides=show_guides)
            construct_x_00673(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-00673.json"))
            write_center_svg(
                model_acute,
                here / "x-00673.svg",
                subtitle="(a, b, c) = (5, 6, 7) | AB = 1",
            )