X2160

X2-ISOCONJUGATE OF X35

< 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) { 9, 46 }: Central Line L(9, 46) { 55, 199 }: Central Line L(55, 199) { 284, 501 }: Central Line L(284, 501) { 396, 554 }: Central Line L(396, 554) { 6, 1406 }: Central Line L(6, 1406) { 395, 1081 }: Central Line L(395, 1081) A = Vertex A (0.0000, 0.0000) B = Vertex B (1.0000, 0.0000) C = Vertex C (0.6122, 0.5999) X_1652 = 4th EVANS PERSPECTOR (0.5899, 0.2763) X_1653 = 5th EVANS PERSPECTOR (0.6584, 0.3759) X_9 = MITTENPUNKT (0.5110, 0.1615) X_46 = -CEVA CONJUGATE OF X(1) (0.6917, 0.4543) X_55 = INSIMILICENTER(CIRCUMCIRCLE, INCIRCLE) (0.5490, 0.1921) X_199 = -CEVA CONJUGATE OF X(6) (0.4796, 0.0487) X_284 = -CROSS CONJUGATE OF X(21) (0.5646, 0.2088) X_501 = MIQUEL ASSOCIATE OF INCENTER (0.5444, 0.1612) X_396 = MIDPOINT OF X(13) AND X(15) (0.5699, 0.2349) X_554 = (X(1),X(13))-ANSWER TO QUESTION A (0.5802, 0.2562) X_6 = SYMMEDIAN POINT (LEMOINE POINT, GREBE POINT) (0.6000, 0.2672) X_1406 = -BETH CONJUGATE OF X(46) (0.6653, 0.5088) X_395 = MIDPOINT OF X(14) AND X(16) (1.3794, 1.1048) X_1081 = POINT ALPHECCA (0.6056, 0.3226) X_2160 = -ISOCONJUGATE OF X(35) (0.6185, 0.3356) A B C X1652 X1653 X9 X46 X55 X199 X284 X501 X396 X554 X6 X1406 X395 X1081 X2160 (a, b, c) = (5, 6, 7) | AB = 1

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

"""GEOMETOR construction model for X_2160 = X_2-ISOCONJUGATE OF X_35."""

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


        def construct_x_02160(
            model: Model, A: spg.Point, B: spg.Point, C: spg.Point
        ) -> spg.Point:
            """Construct X_2160 = X_2-ISOCONJUGATE OF X_35 on reference triangle ABC."""
            X_2160 = eval_trilinear_point(model, A, B, C, '(sin(A))/(1 + 2*cos(A))', ID="X_2160", classes=["selected", "target"])
            X_9 = mittenpunkt_of(model, A, B, C, ID="X_9", classes=["center", "incident"])
            X_46 = eval_trilinear_point(model, A, B, C, 'cos(B) + cos(C) - cos(A)', ID="X_46", classes=["center", "incident"])
            central_line(model, X_9, X_46, 9, 46, incident=True)
            X_55 = eval_trilinear_point(model, A, B, C, 'a*(b + c - a)', ID="X_55", classes=["center", "incident"])
            X_199 = eval_trilinear_point(model, A, B, C, '(a*(b**(4) + c**(4) - a**(4) + (b**(2) + c**(2) - a**(2))*(b*c + c*a + a*b)))', ID="X_199", classes=["center", "incident"])
            central_line(model, X_55, X_199, 55, 199, incident=True)
            X_284 = eval_trilinear_point(model, A, B, C, '(sin(A))/(cos(B) + cos(C))', ID="X_284", classes=["center", "incident"])
            X_501 = eval_trilinear_point(model, A, B, C, '(a*(a**(3) - b**(3) - c**(3) - b*c*(a + b + c) + a*b*(a - b) + a*c*(a - c))/(b + c))', ID="X_501", classes=["center", "incident"])
            central_line(model, X_284, X_501, 284, 501, incident=True)
            return promote_point_to_top(model, X_2160)


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