X3719

X1711com(EXTOUCH TRIANGLE)

X3719 = excentral-to-ABC barycentric image of X1711
< 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) { 63, 69 }: Central Line L(63, 69) { 78, 212 }: Central Line L(78, 212) { 9, 312 }: Central Line L(9, 312) { 326, 394 }: Central Line L(326, 394) { 271, 1265 }: Central Line L(271, 1265) { 740, 1711 }: Central Line L(740, 1711) A = Vertex A (0.0000, 0.0000) B = Vertex B (1.0000, 0.0000) C = Vertex C (0.6122, 0.5999) X_63 = ISOGONAL CONJUGATE OF X(19) (0.4566, 0.0823) X_69 = SYMMEDIAN POINT OF THE ANTICOMPLEMENTARY TRIANGLE (0.4122, 0.0654) X_78 = ISOGONAL CONJUGATE OF X(34) (0.3835, 0.0491) X_212 = -CEVA CONJUGATE OF X(41) (0.4719, 0.0786) X_9 = MITTENPUNKT (0.5110, 0.1615) X_312 = ISOTOMIC CONJUGATE OF X(57) (0.4256, 0.1081) X_326 = ISOTOMIC CONJUGATE OF X(158) (0.3354, 0.0219) X_394 = -CEVA CONJUGATE OF X(3) (0.3778, 0.0284) X_271 = ISOGONAL CONJUGATE OF X(208) (1.1546, 2.8606) X_1265 = ISOTOMIC CONJUGATE OF X(1119) (0.2751, 0.0213) X_740 = EVEN (- 1, 1) INFINITY POINT (0.9745, 0.5915) X_1711 = MIMOSA TRANSFORM OF X(19) (0.8600, 0.5386) X_3719 = com(EXTOUCH TRIANGLE) (0.2722, 0.0121) A B C X63 X69 X78 X212 X9 X312 X326 X394 X271 X1265 X740 X1711 X3719 (a, b, c) = (5, 6, 7) | AB = 1

X3719 (X1711com(EXTOUCH TRIANGLE)) constructed on acute reference triangle \((a, b, c) = (5, 6, 7)\) with unit baseline AB = \(1\).

"""GEOMETOR construction model for X_3719 = X_1711com(EXTOUCH TRIANGLE)."""

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


        def construct_x_03719(
            model: Model, A: spg.Point, B: spg.Point, C: spg.Point
        ) -> spg.Point:
            """Construct X_3719 = X_1711com(EXTOUCH TRIANGLE) on reference triangle ABC."""
            X_3719 = eval_trilinear_point(model, A, B, C, 'cot(A/2)*(cot(A))**(2)', ID="X_3719", classes=["selected", "target"])
            X_63 = eval_trilinear_point(model, A, B, C, 'cot(A)', ID="X_63", classes=["center", "incident"])
            X_69 = eval_trilinear_point(model, A, B, C, '(cos(A))/a**(2)', ID="X_69", classes=["center", "incident"])
            central_line(model, X_63, X_69, 63, 69, incident=True)
            X_78 = eval_trilinear_point(model, A, B, C, '1/(1 - sec(A))', ID="X_78", classes=["center", "incident"])
            X_212 = eval_trilinear_point(model, A, B, C, '(cos(A))*(1 + cos(A))', ID="X_212", classes=["center", "incident"])
            central_line(model, X_78, X_212, 78, 212, incident=True)
            X_9 = mittenpunkt_of(model, A, B, C, ID="X_9", classes=["center", "incident"])
            X_312 = eval_trilinear_point(model, A, B, C, '(b + c - a)*b**(2)*c**(2)', ID="X_312", classes=["center", "incident"])
            central_line(model, X_9, X_312, 9, 312, incident=True)
            return promote_point_to_top(model, X_3719)


        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_3719 on the given reference triangle."""
            model = create_model('X_3719 = X_1711com(EXTOUCH TRIANGLE)')
            A, B, C = construct_baseline_triangle(model, *sides, show_guides=show_guides)
            construct_x_03719(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-03719.json"))
            write_center_svg(
                model_acute,
                here / "x-03719.svg",
                subtitle="(a, b, c) = (5, 6, 7) | AB = 1",
            )