X765

CEVAPOINT OF X1 AND X100

X765 is the cevapoint of X1 and X100.
< 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) { 59, 518 }: Central Line L(59, 518) { 100, 513 }: Central Line L(100, 513) { 109, 522 }: Central Line L(109, 522) { 238, 519 }: Central Line L(238, 519) { 660, 662 }: Central Line L(660, 662) { 101, 898 }: Central Line L(101, 898) 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_100 = ANTICOMPLEMENT OF FEUERBACH POINT (0.1429, 0.4666) X_59 = ISOGONAL CONJUGATE OF X(11) (0.5333, 0.4355) X_518 = ISOGONAL CONJUGATE OF X(105) (0.9154, 0.6489) X_513 = ISOGONAL CONJUGATE OF X(100) (1.0529, -0.0806) X_109 = Ψ(INCENTER, CIRCUMCENTER) (0.3636, 0.5938) X_522 = ISOGONAL CONJUGATE OF X(109) (-0.0318, 0.3430) X_238 = -LINE CONJUGATE OF X(37) (1.6190, 1.4775) X_519 = ISOGONAL CONJUGATE OF X(106) (0.9566, 0.6107) X_660 = TRILINEAR POLE OF LINE X(1)X(39) (0.9483, -0.0755) X_662 = TRILINEAR POLE OF LINE X(1)X(21) (0.1811, 0.4951) X_101 = Ψ(INCENTER, SYMMEDIAN POINT) (0.2143, 0.5249) X_898 = ISOGONAL CONJUGATE OF X(891) (0.9234, -0.1828) X_765 = CEVAPOINT OF X(1) AND X(100) (0.4286, 0.3110) A B C X1 X100 X59 X518 X513 X109 X522 X238 X519 X660 X662 X101 X898 X765 (a, b, c) = (5, 6, 7) | AB = 1

X765 (CEVAPOINT OF X1 AND X100) constructed on acute reference triangle \((a, b, c) = (5, 6, 7)\) with unit baseline AB = \(1\).

"""GEOMETOR construction model for X_765 = CEVAPOINT OF X_1 AND X_100."""

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


        def construct_x_00765(
            model: Model, A: spg.Point, B: spg.Point, C: spg.Point
        ) -> spg.Point:
            """Construct X_765 = CEVAPOINT OF X_1 AND X_100 on reference triangle ABC."""
            X_244 = eval_trilinear_point(model, A, B, C, '(b - c)**(2)', ID="X_244", classes=["center"])
            X_765 = isogonal_conjugate(model, A, B, C, X_244, ID="X_765", classes=["selected", "target"])
            X_59 = eval_trilinear_point(model, A, B, C, '1/(1 - cos(B - C))', ID="X_59", classes=["center", "incident"])
            X_518 = eval_trilinear_point(model, A, B, C, '(a*b + a*c - b**(2) - c**(2))', ID="X_518", classes=["center", "incident"])
            central_line(model, X_59, X_518, 59, 518, incident=True)
            X_100 = eval_trilinear_point(model, A, B, C, '1/(b - c)', ID="X_100", classes=["center", "incident"])
            X_513 = eval_trilinear_point(model, A, B, C, 'b - c', ID="X_513", classes=["center", "incident"])
            central_line(model, X_100, X_513, 100, 513, incident=True)
            X_109 = eval_trilinear_point(model, A, B, C, 'a/(cos(B) - cos(C))', ID="X_109", classes=["center", "incident"])
            X_522 = eval_trilinear_point(model, A, B, C, '(cos(B) - cos(C))*(csc(A))', ID="X_522", classes=["center", "incident"])
            central_line(model, X_109, X_522, 109, 522, incident=True)
            return promote_point_to_top(model, X_765)


        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_765 on the given reference triangle."""
            model = create_model('X_765 = CEVAPOINT OF X_1 AND X_100')
            A, B, C = construct_baseline_triangle(model, *sides, show_guides=show_guides)
            construct_x_00765(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-00765.json"))
            write_center_svg(
                model_acute,
                here / "x-00765.svg",
                subtitle="(a, b, c) = (5, 6, 7) | AB = 1",
            )