X2190

X2-ISOCONJUGATE OF X216

< 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) { 54, 65 }: Central Line L(54, 65) { 47, 91 }: Central Line L(47, 91) { 31, 158 }: Central Line L(31, 158) { 10, 275 }: Central Line L(10, 275) { 82, 240 }: Central Line L(82, 240) { 75, 255 }: Central Line L(75, 255) A = Vertex A (0.0000, 0.0000) B = Vertex B (1.0000, 0.0000) C = Vertex C (0.6122, 0.5999) X_54 = KOSNITA POINT (0.5880, 0.2176) X_65 = ORTHOCENTER OF THE INTOUCH TRIANGLE (0.6041, 0.2933) X_47 = -BETH CONJUGATE OF X(34) (0.7279, 0.4389) X_91 = ISOGONAL CONJUGATE OF X(47) (-0.0865, -0.0205) X_31 = 2nd POWER POINT (0.6228, 0.3008) X_158 = -CROSS CONJUGATE OF X(92) (0.6215, 0.5117) X_10 = SPIEKER CENTER (0.5204, 0.1833) X_275 = CEVAPOINT OF ORTHOCENTER AND SYMMEDIAN POINT (0.6057, 0.3473) X_82 = ISOGONAL CONJUGATE OF X(38) (0.5943, 0.2703) X_240 = -LINE CONJUGATE OF X(48) (0.7457, 0.8594) X_75 = ISOTOMIC CONJUGATE OF INCENTER (0.4988, 0.1682) X_255 = ISOGONAL CONJUGATE OF X(158) (0.4217, 0.0365) X_2190 = -ISOCONJUGATE OF X(216) (0.6223, 0.3794) A B C X54 X65 X47 X91 X31 X158 X10 X275 X82 X240 X75 X255 X2190 (a, b, c) = (5, 6, 7) | AB = 1

X2190 (X2-ISOCONJUGATE OF X216) constructed on acute reference triangle \((a, b, c) = (5, 6, 7)\) with unit baseline AB = \(1\).

"""GEOMETOR construction model for X_2190 = X_2-ISOCONJUGATE OF X_216."""

        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_02190(
            model: Model, A: spg.Point, B: spg.Point, C: spg.Point
        ) -> spg.Point:
            """Construct X_2190 = X_2-ISOCONJUGATE OF X_216 on reference triangle ABC."""
            X_2190 = eval_trilinear_point(model, A, B, C, 'sec(A)*sec(B - C)', ID="X_2190", classes=["selected", "target"])
            X_54 = eval_trilinear_point(model, A, B, C, 'sec(B - C)', ID="X_54", classes=["center", "incident"])
            X_65 = eval_trilinear_point(model, A, B, C, 'cos(B) + cos(C)', ID="X_65", classes=["center", "incident"])
            central_line(model, X_54, X_65, 54, 65, incident=True)
            X_47 = eval_trilinear_point(model, A, B, C, 'cos(2*A)', ID="X_47", classes=["center", "incident"])
            X_91 = eval_trilinear_point(model, A, B, C, 'sec(2*A)', ID="X_91", classes=["center", "incident"])
            central_line(model, X_47, X_91, 47, 91, incident=True)
            X_31 = eval_trilinear_point(model, A, B, C, 'a**(2)', ID="X_31", classes=["center", "incident"])
            X_158 = eval_trilinear_point(model, A, B, C, '(sec(A))**(2)', ID="X_158", classes=["center", "incident"])
            central_line(model, X_31, X_158, 31, 158, incident=True)
            return promote_point_to_top(model, X_2190)


        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_2190 on the given reference triangle."""
            model = create_model('X_2190 = X_2-ISOCONJUGATE OF X_216')
            A, B, C = construct_baseline_triangle(model, *sides, show_guides=show_guides)
            construct_x_02190(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-02190.json"))
            write_center_svg(
                model_acute,
                here / "x-02190.svg",
                subtitle="(a, b, c) = (5, 6, 7) | AB = 1",
            )