X2908

ORTHIC-ISOGONAL CONJUGATE OF X31

X2908 is the orthic-isogonal conjugate of X31.
< 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) { 37, 48 }: Central Line L(37, 48) { 604, 1015 }: Central Line L(604, 1015) { 41, 2092 }: Central Line L(41, 2092) { 1880, 1973 }: Central Line L(1880, 1973) { 2174, 2276 }: Central Line L(2174, 2276) A = Vertex A (0.0000, 0.0000) B = Vertex B (1.0000, 0.0000) C = Vertex C (0.6122, 0.5999) X_4 = ORTHOCENTER (0.6122, 0.3958) X_31 = 2nd POWER POINT (0.6228, 0.3008) X_37 = CROSSPOINT OF INCENTER AND CENTROID (0.5567, 0.2158) X_48 = CROSSPOINT OF X(1) AND X(63) (0.5412, 0.1246) X_604 = -CEVA CONJUGATE OF X(31) (0.6442, 0.3744) X_1015 = EXSIMILICENTER OF MOSES CIRCLE AND INCIRCLE (0.7982, 0.1348) X_41 = -CEVA CONJUGATE OF X(31) (0.5823, 0.2244) X_2092 = DANNEELS-APOLLONIUS PERSPECTOR (0.5833, 0.2396) X_1880 = ZOSMA TRANSFORM OF X(573) (0.6390, 0.4068) X_1973 = TRILINEAR PRODUCT OF PU(39) (0.6378, 0.4717) X_2174 = -ISOCONJUGATE OF X(79) (0.5728, 0.2013) X_2276 = -ISOCONJUGATE OF X(985) (0.5757, 0.2314) X_2908 = ORTHIC-ISOGONAL CONJUGATE OF X(31) (0.5965, 0.4487) A B C X4 X31 X37 X48 X604 X1015 X41 X2092 X1880 X1973 X2174 X2276 X2908 (a, b, c) = (5, 6, 7) | AB = 1

X2908 (ORTHIC-ISOGONAL CONJUGATE OF X31) constructed on acute reference triangle \((a, b, c) = (5, 6, 7)\) with unit baseline AB = \(1\).

"""GEOMETOR construction model for X_2908 = ORTHIC-ISOGONAL CONJUGATE OF X_31."""

        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,
            ceva_conjugate,
            construct_baseline_triangle,
            create_model,
            eval_trilinear_point,
            orthocenter_of,
            promote_point_to_top,
        )
        from geometor.etc.render import write_center_svg


        def construct_x_02908(
            model: Model, A: spg.Point, B: spg.Point, C: spg.Point
        ) -> spg.Point:
            """Construct X_2908 = ORTHIC-ISOGONAL CONJUGATE OF X_31 on reference triangle ABC."""
            X_4 = orthocenter_of(model, A, B, C, ID="X_4", classes=["center"])
            X_31 = eval_trilinear_point(model, A, B, C, 'a**(2)', ID="X_31", classes=["center"])
            X_2908 = ceva_conjugate(model, A, B, C, X_4, X_31, ID="X_2908", classes=["selected", "target"])
            X_37 = eval_trilinear_point(model, A, B, C, 'b + c', ID="X_37", classes=["center", "incident"])
            X_48 = eval_trilinear_point(model, A, B, C, 'tan(B) + tan(C)', ID="X_48", classes=["center", "incident"])
            central_line(model, X_37, X_48, 37, 48, incident=True)
            X_604 = eval_trilinear_point(model, A, B, C, 'a*(1 - cos(A))', ID="X_604", classes=["center", "incident"])
            X_1015 = eval_trilinear_point(model, A, B, C, 'a*(b - c)**(2)', ID="X_1015", classes=["center", "incident"])
            central_line(model, X_604, X_1015, 604, 1015, incident=True)
            X_41 = eval_trilinear_point(model, A, B, C, 'a**(2)*(b + c - a)', ID="X_41", classes=["center", "incident"])
            X_2092 = eval_trilinear_point(model, A, B, C, '(a**(2)*(b + c)**(2) + a*(b + c)*(b**(2) + c**(2)))', ID="X_2092", classes=["center", "incident"])
            central_line(model, X_41, X_2092, 41, 2092, incident=True)
            return promote_point_to_top(model, X_2908)


        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_2908 on the given reference triangle."""
            model = create_model('X_2908 = ORTHIC-ISOGONAL CONJUGATE OF X_31')
            A, B, C = construct_baseline_triangle(model, *sides, show_guides=show_guides)
            construct_x_02908(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-02908.json"))
            write_center_svg(
                model_acute,
                here / "x-02908.svg",
                subtitle="(a, b, c) = (5, 6, 7) | AB = 1",
            )