X2224

X2-ISOCONJUGATE OF X674

X2224 = cevapoint of X(55,2110)
< 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, 101 }: Central Line L(2, 101) { 81, 163 }: Central Line L(81, 163) { 36, 291 }: Central Line L(36, 291) { 57, 609 }: Central Line L(57, 609) { 1, 692 }: Central Line L(1, 692) { 274, 662 }: Central Line L(274, 662) 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_101 = Ψ(INCENTER, SYMMEDIAN POINT) (0.2143, 0.5249) X_81 = CEVAPOINT OF INCENTER AND SYMMEDIAN POINT (0.5849, 0.2510) X_163 = TRILINEAR PRODUCT X(6)*X(110) (0.3174, 0.5883) X_36 = INVERSE-IN-CIRCUMCIRCLE OF INCENTER (1.3333, 1.6330) X_291 = 2nd SHARYGIN POINT (1.0249, 0.0364) X_57 = ISOGONAL CONJUGATE OF X(9) (0.6138, 0.3110) X_609 = INTERSECTION OF LINES X(1)X(32) AND X(6)X(36) (0.6191, 0.3028) X_1 = INCENTER (0.5714, 0.2333) X_692 = -CEVA CONJUGATE OF X(101) (0.2833, 0.5715) X_274 = ISOGONAL CONJUGATE OF X(213) (0.5168, 0.1843) X_662 = TRILINEAR POLE OF LINE X(1)X(21) (0.1811, 0.4951) X_2224 = -ISOCONJUGATE OF X(674) (0.9721, -0.2371) A B C X2 X101 X81 X163 X36 X291 X57 X609 X1 X692 X274 X662 X2224 (a, b, c) = (5, 6, 7) | AB = 1

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

"""GEOMETOR construction model for X_2224 = X_2-ISOCONJUGATE OF X_674."""

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


        def construct_x_02224(
            model: Model, A: spg.Point, B: spg.Point, C: spg.Point
        ) -> spg.Point:
            """Construct X_2224 = X_2-ISOCONJUGATE OF X_674 on reference triangle ABC."""
            X_2 = centroid_of(model, A, B, C, ID="X_2", classes=["center"])
            X_101 = eval_trilinear_point(model, A, B, C, 'a/(b - c)', ID="X_101", classes=["center"])
            X_81 = eval_trilinear_point(model, A, B, C, '1/(b + c)', ID="X_81", classes=["center"])
            X_163 = eval_trilinear_point(model, A, B, C, '(sin(2*A))/(sin(2*B) - sin(2*C))', ID="X_163", classes=["center"])
            central_line(model, X_2, X_101, 2, 101)
            central_line(model, X_81, X_163, 81, 163)
            X_2224 = intersect_lines(model, X_2, X_101, X_81, X_163, ID="X_2224", classes=["selected", "target"])
            X_36 = eval_trilinear_point(model, A, B, C, '1 - 2*cos(A)', ID="X_36", 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_36, X_291, 36, 291, incident=True)
            return promote_point_to_top(model, X_2224)


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