X3519

ISOGONAL CONJUGATE OF X3518

< 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) { 6, 17 }: Central Line L(6, 17) { 4, 93 }: Central Line L(4, 93) { 54, 140 }: Central Line L(54, 140) { 49, 343 }: Central Line L(49, 343) { 3, 539 }: Central Line L(3, 539) { 74, 550 }: Central Line L(74, 550) A = Vertex A (0.0000, 0.0000) B = Vertex B (1.0000, 0.0000) C = Vertex C (0.6122, 0.5999) X_3518 = EULER LINE INTERCEPT OF LINE X(51)X(54) (0.6415, 0.4723) X_6 = SYMMEDIAN POINT (LEMOINE POINT, GREBE POINT) (0.6000, 0.2672) X_17 = 1st NAPOLEON POINT (0.5666, 0.2383) X_4 = ORTHOCENTER (0.6122, 0.3958) X_93 = ISOGONAL CONJUGATE OF X(49) (0.5299, 0.2878) X_54 = KOSNITA POINT (0.5880, 0.2176) X_140 = MIDPOINT OF X(3) AND X(5) (0.5281, 0.1755) X_49 = CENTER OF SINE-TRIPLE-ANGLE CIRCLE (0.6275, 0.1789) X_343 = ISOTOMIC CONJUGATE OF X(275) (0.4345, 0.0893) X_3 = CIRCUMCENTER (0.5000, 0.1021) X_539 = DIRECTION OF VECTOR AX + BX + CX, where X = X(54) (1.0917, 0.3927) X_74 = ISOGONAL CONJUGATE OF EULER INFINITY POINT (0.7484, -0.3437) X_550 = MIDPOINT OF X(3) AND X(20) (0.4439, -0.0448) X_3519 = ISOGONAL CONJUGATE OF X(3518) (0.3481, 0.0492) A B C X3518 X6 X17 X4 X93 X54 X140 X49 X343 X3 X539 X74 X550 X3519 (a, b, c) = (5, 6, 7) | AB = 1

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

"""GEOMETOR construction model for X_3519 = ISOGONAL CONJUGATE OF X_3518."""

        from __future__ import annotations

        from pathlib import Path

        import sympy.geometry as spg
        from geometor.model import Model

        from geometor.etc.ops import (
            anticomplement,
            central_line,
            construct_baseline_triangle,
            create_model,
            eval_trilinear_point,
            orthocenter_of,
            promote_point_to_top,
            symmedian_point_of,
        )
        from geometor.etc.render import write_center_svg


        def construct_x_03519(
            model: Model, A: spg.Point, B: spg.Point, C: spg.Point
        ) -> spg.Point:
            """Construct X_3519 = ISOGONAL CONJUGATE OF X_3518 on reference triangle ABC."""
            X_1493 = eval_trilinear_point(model, A, B, C, '(csc(B +  pi  /6)*csc(C -  pi  /6) + csc(C +  pi  /6)*csc(B -  pi  /6))', ID="X_1493", classes=["center"])
            X_3519 = anticomplement(model, A, B, C, X_1493, ID="X_3519", classes=["selected", "target"])
            X_6 = symmedian_point_of(model, A, B, C, ID="X_6", classes=["center", "incident"])
            X_17 = eval_trilinear_point(model, A, B, C, 'csc(A +  pi  /6)', ID="X_17", classes=["center", "incident"])
            central_line(model, X_6, X_17, 6, 17, incident=True)
            X_4 = orthocenter_of(model, A, B, C, ID="X_4", classes=["center", "incident"])
            X_93 = eval_trilinear_point(model, A, B, C, 'sec(3*A)', ID="X_93", classes=["center", "incident"])
            central_line(model, X_4, X_93, 4, 93, incident=True)
            X_54 = eval_trilinear_point(model, A, B, C, 'sec(B - C)', ID="X_54", classes=["center", "incident"])
            X_140 = eval_trilinear_point(model, A, B, C, '2*cos(A) + cos(B - C)', ID="X_140", classes=["center", "incident"])
            central_line(model, X_54, X_140, 54, 140, incident=True)
            return promote_point_to_top(model, X_3519)


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