X3196

X36-CEVA CONJUGATE OF X55

< 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) { 36, 44 }: Central Line L(36, 44) { 45, 55 }: Central Line L(45, 55) { 6, 101 }: Central Line L(6, 101) { 9, 1030 }: Central Line L(9, 1030) { 198, 2265 }: Central Line L(198, 2265) { 909, 3207 }: Central Line L(909, 3207) A = Vertex A (0.0000, 0.0000) B = Vertex B (1.0000, 0.0000) C = Vertex C (0.6122, 0.5999) X_36 = INVERSE-IN-CIRCUMCIRCLE OF INCENTER (1.3333, 1.6330) X_55 = INSIMILICENTER(CIRCUMCIRCLE, INCIRCLE) (0.5490, 0.1921) X_44 = -LINE CONJUGATE OF X(1) (2.1429, 2.0996) X_45 = -BETH CONJUGATE OF X(1) (0.5418, 0.1981) X_6 = SYMMEDIAN POINT (LEMOINE POINT, GREBE POINT) (0.6000, 0.2672) X_101 = Ψ(INCENTER, SYMMEDIAN POINT) (0.2143, 0.5249) X_9 = MITTENPUNKT (0.5110, 0.1615) X_1030 = ISOGONAL CONJUGATE OF X(1029) (0.5271, 0.1468) X_198 = -CEVA CONJUGATE OF X(6) (0.4741, -0.0381) X_2265 = -ISOCONJUGATE OF X(953) (-3.6429, 5.2489) X_909 = POINT ADHAFERA (0.9286, -0.3499) X_3207 = -CEVA CONJUGATE OF X(6) (0.5198, 0.0728) X_3196 = -CEVA CONJUGATE OF X(55) (-0.1579, 0.7735) A B C X36 X55 X44 X45 X6 X101 X9 X1030 X198 X2265 X909 X3207 X3196 (a, b, c) = (5, 6, 7) | AB = 1

X3196 (X36-CEVA CONJUGATE OF X55) constructed on acute reference triangle \((a, b, c) = (5, 6, 7)\) with unit baseline AB = \(1\).

"""GEOMETOR construction model for X_3196 = X_36-CEVA CONJUGATE OF X_55."""

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


        def construct_x_03196(
            model: Model, A: spg.Point, B: spg.Point, C: spg.Point
        ) -> spg.Point:
            """Construct X_3196 = X_36-CEVA CONJUGATE OF X_55 on reference triangle ABC."""
            X_36 = eval_trilinear_point(model, A, B, C, '1 - 2*cos(A)', ID="X_36", classes=["center"])
            X_44 = eval_trilinear_point(model, A, B, C, 'b + c - 2*a', ID="X_44", classes=["center"])
            X_45 = eval_trilinear_point(model, A, B, C, '2*b + 2*c - a', ID="X_45", classes=["center"])
            X_55 = eval_trilinear_point(model, A, B, C, 'a*(b + c - a)', ID="X_55", classes=["center"])
            central_line(model, X_36, X_44, 36, 44)
            central_line(model, X_45, X_55, 45, 55)
            X_3196 = intersect_lines(model, X_36, X_44, X_45, X_55, ID="X_3196", classes=["selected", "target"])
            X_6 = symmedian_point_of(model, A, B, C, ID="X_6", classes=["center", "incident"])
            X_101 = eval_trilinear_point(model, A, B, C, 'a/(b - c)', ID="X_101", classes=["center", "incident"])
            central_line(model, X_6, X_101, 6, 101, incident=True)
            return promote_point_to_top(model, X_3196)


        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_3196 on the given reference triangle."""
            model = create_model('X_3196 = X_36-CEVA CONJUGATE OF X_55')
            A, B, C = construct_baseline_triangle(model, *sides, show_guides=show_guides)
            construct_x_03196(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-03196.json"))
            write_center_svg(
                model_acute,
                here / "x-03196.svg",
                subtitle="(a, b, c) = (5, 6, 7) | AB = 1",
            )