X2260

X2-ISOCONJUGATE OF X943

< 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, 41 }: Central Line L(6, 41) { 1, 71 }: Central Line L(1, 71) { 37, 38 }: Central Line L(37, 38) { 19, 57 }: Central Line L(19, 57) { 36, 284 }: Central Line L(36, 284) { 9, 1125 }: Central Line L(9, 1125) A = Vertex A (0.0000, 0.0000) B = Vertex B (1.0000, 0.0000) C = Vertex C (0.6122, 0.5999) X_6 = SYMMEDIAN POINT (LEMOINE POINT, GREBE POINT) (0.6000, 0.2672) X_41 = -CEVA CONJUGATE OF X(31) (0.5823, 0.2244) X_1 = INCENTER (0.5714, 0.2333) X_71 = ISOGONAL CONJUGATE OF X(27) (0.4807, 0.0915) X_37 = CROSSPOINT OF INCENTER AND CENTROID (0.5567, 0.2158) X_38 = CROSSPOINT OF X(1) AND X(75) (0.5443, 0.1976) X_19 = CLAWSON POINT (0.6246, 0.4244) X_57 = ISOGONAL CONJUGATE OF X(9) (0.6138, 0.3110) X_36 = INVERSE-IN-CIRCUMCIRCLE OF INCENTER (1.3333, 1.6330) X_284 = -CROSS CONJUGATE OF X(21) (0.5646, 0.2088) X_9 = MITTENPUNKT (0.5110, 0.1615) X_1125 = COMPLEMENT OF X(10) (0.5459, 0.2083) X_2260 = -ISOCONJUGATE OF X(943) (0.6124, 0.2974) A B C X6 X41 X1 X71 X37 X38 X19 X57 X36 X284 X9 X1125 X2260 (a, b, c) = (5, 6, 7) | AB = 1

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

"""GEOMETOR construction model for X_2260 = X_2-ISOCONJUGATE OF X_943."""

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


        def construct_x_02260(
            model: Model, A: spg.Point, B: spg.Point, C: spg.Point
        ) -> spg.Point:
            """Construct X_2260 = X_2-ISOCONJUGATE OF X_943 on reference triangle ABC."""
            X_6 = symmedian_point_of(model, A, B, C, ID="X_6", classes=["center"])
            X_41 = eval_trilinear_point(model, A, B, C, 'a**(2)*(b + c - a)', ID="X_41", classes=["center"])
            X_1 = incenter_of(model, A, B, C, ID="X_1", classes=["center"])
            X_71 = eval_trilinear_point(model, A, B, C, '(b + c)*cos(A)', ID="X_71", classes=["center"])
            central_line(model, X_6, X_41, 6, 41)
            central_line(model, X_1, X_71, 1, 71)
            X_2260 = intersect_lines(model, X_6, X_41, X_1, X_71, ID="X_2260", classes=["selected", "target"])
            X_37 = eval_trilinear_point(model, A, B, C, 'b + c', ID="X_37", classes=["center", "incident"])
            X_38 = eval_trilinear_point(model, A, B, C, 'b**(2) + c**(2)', ID="X_38", classes=["center", "incident"])
            central_line(model, X_37, X_38, 37, 38, incident=True)
            return promote_point_to_top(model, X_2260)


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