X825

o-(0, 3) CIRCUMCIRCLE POINT

X825 = intersection, other than A, B, C, of circumcircle and hyperbola {A, B, C,PU(12)}}
< 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) { 99, 163 }: Central Line L(99, 163) { 103, 572 }: Central Line L(103, 572) { 6, 753 }: Central Line L(6, 753) { 1, 761 }: Central Line L(1, 761) { 32, 731 }: Central Line L(32, 731) { 31, 743 }: Central Line L(31, 743) A = Vertex A (0.0000, 0.0000) B = Vertex B (1.0000, 0.0000) C = Vertex C (0.6122, 0.5999) X_824 = ODD (0, 3) INFINITY POINT (1.0936, 0.0129) X_99 = STEINER POINT (0.1109, 0.4322) X_163 = TRILINEAR PRODUCT X(6)*X(110) (0.3174, 0.5883) X_103 = ANTIPODE OF X(101) (0.7857, -0.3208) X_572 = ORTHOGONAL OF X(58) (7.2953, -0.6907) X_6 = SYMMEDIAN POINT (LEMOINE POINT, GREBE POINT) (0.6000, 0.2672) X_753 = EVEN (0, 3) CIRCUMCIRCLE POINT (0.9725, -0.0907) X_1 = INCENTER (0.5714, 0.2333) X_761 = EVEN (1, 4) CIRCUMCIRCLE POINT (0.9239, -0.1820) X_32 = 3rd POWER POINT (0.6400, 0.3332) X_731 = EVEN (- 2, 1) CIRCUMCIRCLE POINT (1.0101, 0.0876) X_31 = 2nd POWER POINT (0.6228, 0.3008) X_743 = EVEN (- 1, 2) CIRCUMCIRCLE POINT (1.0002, 0.0008) X_825 = o-(0, 3) CIRCUMCIRCLE POINT (0.2886, 0.5665) A B C X824 X99 X163 X103 X572 X6 X753 X1 X761 X32 X731 X31 X743 X825 (a, b, c) = (5, 6, 7) | AB = 1

X825 (o-(0, 3) CIRCUMCIRCLE POINT) constructed on acute reference triangle \((a, b, c) = (5, 6, 7)\) with unit baseline AB = \(1\).

"""GEOMETOR construction model for X_825 = o-(0, 3) CIRCUMCIRCLE POINT."""

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


        def construct_x_00825(
            model: Model, A: spg.Point, B: spg.Point, C: spg.Point
        ) -> spg.Point:
            """Construct X_825 = o-(0, 3) CIRCUMCIRCLE POINT on reference triangle ABC."""
            X_824 = eval_trilinear_point(model, A, B, C, '(a **(-1)*(b**(3) - c**(3)) + a**(2)*(b**(0) - c**(0)))', ID="X_824", classes=["center"])
            X_825 = isogonal_conjugate(model, A, B, C, X_824, ID="X_825", classes=["selected", "target"])
            X_99 = eval_trilinear_point(model, A, B, C, 'b*c/(b**(2) - c**(2))', ID="X_99", classes=["center", "incident"])
            X_163 = eval_trilinear_point(model, A, B, C, '(sin(2*A))/(sin(2*B) - sin(2*C))', ID="X_163", classes=["center", "incident"])
            central_line(model, X_99, X_163, 99, 163, incident=True)
            X_103 = eval_trilinear_point(model, A, B, C, 'a/((a - b)*cot(C) + (a - c)*cot(B))', ID="X_103", classes=["center", "incident"])
            X_572 = eval_trilinear_point(model, A, B, C, '(cos(A - U))', ID="X_572", classes=["center", "incident"])
            central_line(model, X_103, X_572, 103, 572, incident=True)
            X_6 = symmedian_point_of(model, A, B, C, ID="X_6", classes=["center", "incident"])
            X_753 = eval_trilinear_point(model, A, B, C, '(1/(a **(-1)*(b**(3) + c**(3)) - a**(2)*(b**(0) + c**(0))))', ID="X_753", classes=["center", "incident"])
            central_line(model, X_6, X_753, 6, 753, incident=True)
            return promote_point_to_top(model, X_825)


        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_825 on the given reference triangle."""
            model = create_model('X_825 = o-(0, 3) CIRCUMCIRCLE POINT')
            A, B, C = construct_baseline_triangle(model, *sides, show_guides=show_guides)
            construct_x_00825(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-00825.json"))
            write_center_svg(
                model_acute,
                here / "x-00825.svg",
                subtitle="(a, b, c) = (5, 6, 7) | AB = 1",
            )