X2201

X2-ISOCONJUGATE OF X295

< 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) { 19, 25 }: Central Line L(19, 25) { 27, 86 }: Central Line L(27, 86) { 48, 497 }: Central Line L(48, 497) { 242, 740 }: Central Line L(242, 740) { 256, 1172 }: Central Line L(256, 1172) { 513, 1430 }: Central Line L(513, 1430) A = Vertex A (0.0000, 0.0000) B = Vertex B (1.0000, 0.0000) C = Vertex C (0.6122, 0.5999) X_19 = CLAWSON POINT (0.6246, 0.4244) X_25 = HOMOTHETIC CENTER OF ORTHIC AND TANGENTIAL TRIANGLES (0.6329, 0.4497) X_27 = CEVAPOINT OF ORTHOCENTER AND CLAWSON CENTER (0.6182, 0.4112) X_86 = CEVAPOINT OF INCENTER AND CENTROID (0.5534, 0.2171) X_48 = CROSSPOINT OF X(1) AND X(63) (0.5412, 0.1246) X_497 = CROSSPOINT OF GERGONNE POINT AND NAGEL POINT (0.5593, 0.1851) X_242 = -LINE CONJUGATE OF X(71) (0.7507, 0.7161) X_740 = EVEN (- 1, 1) INFINITY POINT (0.9745, 0.5915) X_256 = 1st SHARYGIN POINT (0.5601, 0.2146) X_1172 = 1st SARAGOSSA POINT OF X(48) (0.6100, 0.3717) X_513 = ISOGONAL CONJUGATE OF X(100) (1.0529, -0.0806) X_1430 = -BETH CONJUGATE OF X(243) (0.6360, 0.7152) X_2201 = -ISOCONJUGATE OF X(295) (0.7068, 0.6767) A B C X19 X25 X27 X86 X48 X497 X242 X740 X256 X1172 X513 X1430 X2201 (a, b, c) = (5, 6, 7) | AB = 1

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

"""GEOMETOR construction model for X_2201 = X_2-ISOCONJUGATE OF X_295."""

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


        def construct_x_02201(
            model: Model, A: spg.Point, B: spg.Point, C: spg.Point
        ) -> spg.Point:
            """Construct X_2201 = X_2-ISOCONJUGATE OF X_295 on reference triangle ABC."""
            X_19 = eval_trilinear_point(model, A, B, C, 'tan(A)', ID="X_19", classes=["center"])
            X_25 = eval_trilinear_point(model, A, B, C, 'sin(A)*tan(A)', ID="X_25", classes=["center"])
            X_27 = eval_trilinear_point(model, A, B, C, '(sec(A))/(b + c)', ID="X_27", classes=["center"])
            X_86 = eval_trilinear_point(model, A, B, C, 'b*c/(b + c)', ID="X_86", classes=["center"])
            central_line(model, X_19, X_25, 19, 25)
            central_line(model, X_27, X_86, 27, 86)
            X_2201 = intersect_lines(model, X_19, X_25, X_27, X_86, ID="X_2201", classes=["selected", "target"])
            X_48 = eval_trilinear_point(model, A, B, C, 'tan(B) + tan(C)', ID="X_48", classes=["center", "incident"])
            X_497 = eval_trilinear_point(model, A, B, C, '1 - cos(B)*cos(C)', ID="X_497", classes=["center", "incident"])
            central_line(model, X_48, X_497, 48, 497, incident=True)
            return promote_point_to_top(model, X_2201)


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