X1995

ORTHOCORRESPONDENT OF X6

Let P be a point in the plane of ABC and not on the circumcircle. Let (OA) be the circle tangent to the circumcircle at A and passing through P. Let A' be the antipode of A in (OA). Let LA be the tangent to (OA) at A'. Define LB and LC cyclically. Let TA = LB∩LC, and define TB and TC cyclically. Triangle TATBTC is homothetic to the tangential triangle. When P = X6, the center of homothety is X1995. (Randy Hutson, June 7, 2019)
< 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) circumcircle: Circumcircle of △ABC { 2, 3 }: Euler Line { 6, 110 }: Central Line L(6, 110) { 107, 264 }: Central Line L(107, 264) { 100, 344 }: Central Line L(100, 344) { 182, 373 }: Central Line L(182, 373) { 51, 576 }: Central Line L(51, 576) A = Vertex A (0.0000, 0.0000) B = Vertex B (1.0000, 0.0000) C = Vertex C (0.6122, 0.5999) X_3 = CIRCUMCENTER (0.5000, 0.1021) X_2 = CENTROID (0.5374, 0.2000) X_4 = ORTHOCENTER (0.6122, 0.3958) X_6 = SYMMEDIAN POINT (LEMOINE POINT, GREBE POINT) (0.6000, 0.2672) X_110 = FOCUS OF KIEPERT PARABOLA (0.2516, 0.5478) X_107 = Ψ(SYMMEDIAN POINT, ORTHOCENTER) (0.5733, 0.6071) X_264 = ISOTOMIC CONJUGATE OF CIRCUMCENTER (0.5720, 0.3293) X_100 = ANTICOMPLEMENT OF FEUERBACH POINT (0.1429, 0.4666) X_344 = ISOTOMIC CONJUGATE OF X(277) (0.6218, 0.2693) X_182 = MIDPOINT OF BROCARD DIAMETER (0.5500, 0.1846) X_373 = CENTROID OF THE PEDAL TRIANGLE OF THE CENTROID (0.5614, 0.2395) X_51 = CENTROID OF ORTHIC TRIANGLE (0.6093, 0.3186) X_576 = ORTHOHARMONIC OF X(187) (0.6500, 0.3498) X_1995 = ORTHOCORRESPONDENT OF X(6) (0.5718, 0.2899) A B C X3 X2 X4 X6 X110 X107 X264 X100 X344 X182 X373 X51 X576 X1995 (a, b, c) = (5, 6, 7) | AB = 1

X1995 (ORTHOCORRESPONDENT OF X6) constructed on acute reference triangle \((a, b, c) = (5, 6, 7)\) with unit baseline AB = \(1\).

"""GEOMETOR construction model for X_1995 = ORTHOCORRESPONDENT OF X_6."""

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


        def construct_x_01995(
            model: Model, A: spg.Point, B: spg.Point, C: spg.Point
        ) -> spg.Point:
            """Construct X_1995 = ORTHOCORRESPONDENT OF X_6 on reference triangle ABC."""
            X_598 = eval_trilinear_point(model, A, B, C, 'b*c/(a**(2) - 2*b**(2) - 2*c**(2))', ID="X_598", classes=["center"])
            X_6 = symmedian_point_of(model, A, B, C, ID="X_6", classes=["center"])
            X_1995 = ceva_conjugate(model, A, B, C, X_598, X_6, ID="X_1995", classes=["selected", "target"])
            X_2 = centroid_of(model, A, B, C, ID="X_2", classes=["center"])
            X_3 = circumcenter_of(model, A, B, C, ID="X_3", classes=["center"])
            central_line(model, X_2, X_3, 2, 3)
            X_110 = eval_trilinear_point(model, A, B, C, 'csc(B - C)', ID="X_110", classes=["center", "incident"])
            central_line(model, X_6, X_110, 6, 110, incident=True)
            X_107 = eval_trilinear_point(model, A, B, C, '1/(cos(A)*(sin(2*B) - sin(2*C)))', ID="X_107", classes=["center", "incident"])
            X_264 = eval_trilinear_point(model, A, B, C, 'csc(A)*csc(2*A)', ID="X_264", classes=["center", "incident"])
            central_line(model, X_107, X_264, 107, 264, incident=True)
            return promote_point_to_top(model, X_1995)


        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_1995 on the given reference triangle."""
            model = create_model('X_1995 = ORTHOCORRESPONDENT OF X_6')
            A, B, C = construct_baseline_triangle(model, *sides, show_guides=show_guides)
            construct_x_01995(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-01995.json"))
            write_center_svg(
                model_acute,
                here / "x-01995.svg",
                subtitle="(a, b, c) = (5, 6, 7) | AB = 1",
            )