X3224

ISOGONAL CONJUGATE OF X194

< 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) { 6, 194 }: Central Line L(6, 194) { 43, 213 }: Central Line L(43, 213) { 32, 1613 }: Central Line L(32, 1613) { 729, 1078 }: Central Line L(729, 1078) { 419, 2207 }: Central Line L(419, 2207) { 1691, 1968 }: Central Line L(1691, 1968) A = Vertex A (0.0000, 0.0000) B = Vertex B (1.0000, 0.0000) C = Vertex C (0.6122, 0.5999) X_194 = -CEVA CONJUGATE OF X(2) (0.6989, 0.3222) X_6 = SYMMEDIAN POINT (LEMOINE POINT, GREBE POINT) (0.6000, 0.2672) X_43 = -CEVA CONJUGATE OF X(1) (0.6358, 0.2963) X_213 = -CEVA CONJUGATE OF X(42) (0.6135, 0.2833) X_32 = 3rd POWER POINT (0.6400, 0.3332) X_1613 = TCC-PERSPECTOR OF X(31) (0.7015, 0.3763) X_729 = EVEN (- 2, 0) CIRCUMCIRCLE POINT (1.0096, 0.1290) X_1078 = INTERSECTION OF LINES X(2)X(32) AND X(3)X(76) (0.4771, 0.1215) X_419 = -HIRST INVERSE OF X(25) (0.7266, 0.6950) X_2207 = -ISOCONJUGATE OF X(326) (0.6268, 0.5485) X_1691 = RADICAL TRACE OF CIRCUMCIRCLE AND 1st LEMOINE CIRCLE (0.9991, 0.9263) X_1968 = CROSSSUM OF PU(37) (0.5947, 0.4354) X_3224 = ISOGONAL CONJUGATE OF X(194) (0.3345, 0.1195) A B C X194 X6 X43 X213 X32 X1613 X729 X1078 X419 X2207 X1691 X1968 X3224 (a, b, c) = (5, 6, 7) | AB = 1

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

"""GEOMETOR construction model for X_3224 = ISOGONAL CONJUGATE OF X_194."""

        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_03224(
            model: Model, A: spg.Point, B: spg.Point, C: spg.Point
        ) -> spg.Point:
            """Construct X_3224 = ISOGONAL CONJUGATE OF X_194 on reference triangle ABC."""
            X_194 = eval_trilinear_point(model, A, B, C, 'b*c*(a**(2)*b**(2) + a**(2)*c**(2) - b**(2)*c**(2))', ID="X_194", classes=["center"])
            X_3224 = isogonal_conjugate(model, A, B, C, X_194, ID="X_3224", classes=["selected", "target"])
            X_6 = symmedian_point_of(model, A, B, C, ID="X_6", classes=["center", "incident"])
            central_line(model, X_6, X_194, 6, 194, incident=True)
            X_43 = eval_trilinear_point(model, A, B, C, 'a*b + a*c - b*c', ID="X_43", classes=["center", "incident"])
            X_213 = eval_trilinear_point(model, A, B, C, '(b + c)*a**(2)', ID="X_213", classes=["center", "incident"])
            central_line(model, X_43, X_213, 43, 213, incident=True)
            X_32 = eval_trilinear_point(model, A, B, C, 'a**(3)', ID="X_32", classes=["center", "incident"])
            X_1613 = eval_trilinear_point(model, A, B, C, '(a*(b**(2)*c**(2) - c**(2)*a**(2) - a**(2)*b**(2)))', ID="X_1613", classes=["center", "incident"])
            central_line(model, X_32, X_1613, 32, 1613, incident=True)
            return promote_point_to_top(model, X_3224)


        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_3224 on the given reference triangle."""
            model = create_model('X_3224 = ISOGONAL CONJUGATE OF X_194')
            A, B, C = construct_baseline_triangle(model, *sides, show_guides=show_guides)
            construct_x_03224(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-03224.json"))
            write_center_svg(
                model_acute,
                here / "x-03224.svg",
                subtitle="(a, b, c) = (5, 6, 7) | AB = 1",
            )