X3414

2nd KIEPERT INFINITY POINT

As the isogonal conjugate of a point on the circumcircle, X3414 lies on the line at infinity.
< 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) { 30, 511 }: Central Line L(30, 511) { 2, 1340 }: Central Line L(2, 1340) { 98, 1379 }: Central Line L(98, 1379) { 99, 1380 }: Central Line L(99, 1380) { 115, 2029 }: Central Line L(115, 2029) { 114, 2039 }: Central Line L(114, 2039) A = Vertex A (0.0000, 0.0000) B = Vertex B (1.0000, 0.0000) C = Vertex C (0.6122, 0.5999) X_1380 = 2nd BROCARD-AXIS INTERCEPT OF CIRCUMCIRCLE (0.2357, -0.3345) X_30 = EULER INFINITY POINT (0.7469, 0.7481) X_511 = ISOGONAL CONJUGATE OF X(98) (0.2335, -0.3020) X_2 = CENTROID (0.5374, 0.2000) X_1340 = INSIMILICENTER(CIRCUMCIRCLE, BROCARD CIRCLE) (0.5420, 0.1715) X_98 = TARRY POINT (0.8891, -0.2281) X_1379 = 1st BROCARD-AXIS INTERCEPT OF CIRCUMCIRCLE (0.7643, 0.5386) X_99 = STEINER POINT (0.1109, 0.4322) X_115 = CENTER OF KIEPERT HYPERBOLA (0.7507, 0.0838) X_2029 = 2nd BROCARD-AXIS-MOSES-CIRCLE INTERSECTION (0.6952, 0.4245) X_114 = KIEPERT ANTIPODE (0.3616, 0.4140) X_2039 = 1st NINE-POINT-CIRCLE-KIEPERT-ASYMPTOTES INTERSECTION (0.4240, 0.0306) X_3414 = 2nd KIEPERT INFINITY POINT (0.6317, -0.3793) A B C X1380 X30 X511 X2 X1340 X98 X1379 X99 X115 X2029 X114 X2039 X3414 (a, b, c) = (5, 6, 7) | AB = 1

X3414 (2nd KIEPERT INFINITY POINT) constructed on acute reference triangle \((a, b, c) = (5, 6, 7)\) with unit baseline AB = \(1\).

"""GEOMETOR construction model for X_3414 = 2nd KIEPERT INFINITY 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,
            centroid_of,
            construct_baseline_triangle,
            create_model,
            eval_trilinear_point,
            isogonal_conjugate,
            point_from_barycentrics,
            promote_point_to_top,
        )
        from geometor.etc.render import write_center_svg


        def construct_x_03414(
            model: Model, A: spg.Point, B: spg.Point, C: spg.Point
        ) -> spg.Point:
            """Construct X_3414 = 2nd KIEPERT INFINITY POINT on reference triangle ABC."""
            X_1380 = eval_trilinear_point(model, A, B, C, 'e*cos(A) + cos(A +  omega  )', ID="X_1380", classes=["center"])
            X_3414 = isogonal_conjugate(model, A, B, C, X_1380, ID="X_3414", classes=["selected", "target"])
            X_30 = eval_trilinear_point(model, A, B, C, 'cos(A) - 2*cos(B)*cos(C)', ID="X_30", classes=["center", "incident"])
            X_511 = eval_trilinear_point(model, A, B, C, 'cos(A +  omega  )', ID="X_511", classes=["center", "incident"])
            central_line(model, X_30, X_511, 30, 511, incident=True)
            X_2 = centroid_of(model, A, B, C, ID="X_2", classes=["center", "incident"])
            X_1340 = point_from_barycentrics(model, A, B, C, 0.34709524, 0.36700624, 0.28589852, ID="X_1340", classes=["center", "incident"])
            central_line(model, X_2, X_1340, 2, 1340, incident=True)
            X_98 = eval_trilinear_point(model, A, B, C, 'sec(A +  omega  )', ID="X_98", classes=["center", "incident"])
            X_1379 = point_from_barycentrics(model, A, B, C, -0.11245297, 0.21461865, 0.89783432, ID="X_1379", classes=["center", "incident"])
            central_line(model, X_98, X_1379, 98, 1379, incident=True)
            return promote_point_to_top(model, X_3414)


        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_3414 on the given reference triangle."""
            model = create_model('X_3414 = 2nd KIEPERT INFINITY POINT')
            A, B, C = construct_baseline_triangle(model, *sides, show_guides=show_guides)
            construct_x_03414(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-03414.json"))
            write_center_svg(
                model_acute,
                here / "x-03414.svg",
                subtitle="(a, b, c) = (5, 6, 7) | AB = 1",
            )