X692

X110-CEVA CONJUGATE OF X101

< 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) { 100, 110 }: Central Line L(100, 110) { 55, 184 }: Central Line L(55, 184) { 154, 197 }: Central Line L(154, 197) { 206, 219 }: Central Line L(206, 219) { 59, 513 }: Central Line L(59, 513) { 99, 785 }: Central Line L(99, 785) A = Vertex A (0.0000, 0.0000) B = Vertex B (1.0000, 0.0000) C = Vertex C (0.6122, 0.5999) X_110 = FOCUS OF KIEPERT PARABOLA (0.2516, 0.5478) X_101 = Ψ(INCENTER, SYMMEDIAN POINT) (0.2143, 0.5249) X_100 = ANTICOMPLEMENT OF FEUERBACH POINT (0.1429, 0.4666) X_55 = INSIMILICENTER(CIRCUMCIRCLE, INCIRCLE) (0.5490, 0.1921) X_184 = INVERSE OF X(125) IN THE BROCARD CIRCLE (0.5788, 0.1496) X_154 = -CEVA CONJUGATE OF X(6) (0.4807, -0.3954) X_197 = -CEVA CONJUGATE OF X(6) (0.4333, -0.1633) X_206 = -CEVA CONJUGATE OF X(32) (0.5105, -0.2297) X_219 = -CEVA CONJUGATE OF X(55) (0.4277, 0.0625) X_59 = ISOGONAL CONJUGATE OF X(11) (0.5333, 0.4355) X_513 = ISOGONAL CONJUGATE OF X(100) (1.0529, -0.0806) X_99 = STEINER POINT (0.1109, 0.4322) X_785 = o-(- 3, - 2) CIRCUMCIRCLE POINT (0.2590, 0.5519) X_692 = -CEVA CONJUGATE OF X(101) (0.2833, 0.5715) A B C X110 X101 X100 X55 X184 X154 X197 X206 X219 X59 X513 X99 X785 X692 (a, b, c) = (5, 6, 7) | AB = 1

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

"""GEOMETOR construction model for X_692 = X_110-CEVA CONJUGATE OF X_101."""

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


        def construct_x_00692(
            model: Model, A: spg.Point, B: spg.Point, C: spg.Point
        ) -> spg.Point:
            """Construct X_692 = X_110-CEVA CONJUGATE OF X_101 on reference triangle ABC."""
            X_692 = eval_trilinear_point(model, A, B, C, 'a**(2)/(b - c)', ID="X_692", classes=["selected", "target"])
            X_100 = eval_trilinear_point(model, A, B, C, '1/(b - c)', ID="X_100", classes=["center", "incident"])
            X_110 = eval_trilinear_point(model, A, B, C, 'csc(B - C)', ID="X_110", classes=["center", "incident"])
            central_line(model, X_100, X_110, 100, 110, incident=True)
            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)
            X_154 = eval_trilinear_point(model, A, B, C, '(cos(A) - cos(B)*cos(C))*a**(2)', ID="X_154", classes=["center", "incident"])
            X_197 = eval_trilinear_point(model, A, B, C, 'a*(-a**(2)*tan(A/2) + b**(2)*tan(B/2) + c**(2)*tan(C/2))', ID="X_197", classes=["center", "incident"])
            central_line(model, X_154, X_197, 154, 197, incident=True)
            return promote_point_to_top(model, X_692)


        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_692 on the given reference triangle."""
            model = create_model('X_692 = X_110-CEVA CONJUGATE OF X_101')
            A, B, C = construct_baseline_triangle(model, *sides, show_guides=show_guides)
            construct_x_00692(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-00692.json"))
            write_center_svg(
                model_acute,
                here / "x-00692.svg",
                subtitle="(a, b, c) = (5, 6, 7) | AB = 1",
            )