X2302

X2-ISOCONJUGATE OF X1243

< 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) { 1, 19 }: Central Line L(1, 19) { 54, 71 }: Central Line L(54, 71) { 55, 184 }: Central Line L(55, 184) { 198, 584 }: Central Line L(198, 584) { 6, 2197 }: Central Line L(6, 2197) { 35, 2252 }: Central Line L(35, 2252) A = Vertex A (0.0000, 0.0000) B = Vertex B (1.0000, 0.0000) C = Vertex C (0.6122, 0.5999) X_1 = INCENTER (0.5714, 0.2333) X_19 = CLAWSON POINT (0.6246, 0.4244) X_54 = KOSNITA POINT (0.5880, 0.2176) X_71 = ISOGONAL CONJUGATE OF X(27) (0.4807, 0.0915) X_55 = INSIMILICENTER(CIRCUMCIRCLE, INCIRCLE) (0.5490, 0.1921) X_184 = INVERSE OF X(125) IN THE BROCARD CIRCLE (0.5788, 0.1496) X_198 = -CEVA CONJUGATE OF X(6) (0.4741, -0.0381) X_584 = ORTHOHARMONIC OF X(500) (0.5720, 0.2209) X_6 = SYMMEDIAN POINT (LEMOINE POINT, GREBE POINT) (0.6000, 0.2672) X_2197 = -ISOCONJUGATE OF X(270) (0.5312, 0.1296) X_35 = {X(1),X(3)}-HARMONIC CONJUGATE OF X(36) (0.5373, 0.1706) X_2252 = -ISOCONJUGATE OF X(915) (1.0717, 0.4427) X_2302 = -ISOCONJUGATE OF X(1243) (0.5569, 0.1809) A B C X1 X19 X54 X71 X55 X184 X198 X584 X6 X2197 X35 X2252 X2302 (a, b, c) = (5, 6, 7) | AB = 1

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

"""GEOMETOR construction model for X_2302 = X_2-ISOCONJUGATE OF X_1243."""

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


        def construct_x_02302(
            model: Model, A: spg.Point, B: spg.Point, C: spg.Point
        ) -> spg.Point:
            """Construct X_2302 = X_2-ISOCONJUGATE OF X_1243 on reference triangle ABC."""
            X_1 = incenter_of(model, A, B, C, ID="X_1", classes=["center"])
            X_19 = eval_trilinear_point(model, A, B, C, 'tan(A)', ID="X_19", classes=["center"])
            X_54 = eval_trilinear_point(model, A, B, C, 'sec(B - C)', ID="X_54", classes=["center"])
            X_71 = eval_trilinear_point(model, A, B, C, '(b + c)*cos(A)', ID="X_71", classes=["center"])
            central_line(model, X_1, X_19, 1, 19)
            central_line(model, X_54, X_71, 54, 71)
            X_2302 = intersect_lines(model, X_1, X_19, X_54, X_71, ID="X_2302", classes=["selected", "target"])
            X_55 = eval_trilinear_point(model, A, B, C, 'a*(b + c - a)', ID="X_55", classes=["center", "incident"])
            X_184 = eval_trilinear_point(model, A, B, C, 'a**(2)*cos(A)', ID="X_184", classes=["center", "incident"])
            central_line(model, X_55, X_184, 55, 184, incident=True)
            return promote_point_to_top(model, X_2302)


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