X2466

EXSIMILICENTER(ORTHOCENTROIDAL CIRCLE, 2nd LEMOINE CIRCLE)

X2466 is the exsimilicenter(orthocentroidal circle, 2nd Lemoine circle).
< 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, 13 }: Central Line L(6, 13) { 1124, 2463 }: Central Line L(1124, 2463) { 1335, 2464 }: Central Line L(1335, 2464) { 1377, 2467 }: Central Line L(1377, 2467) { 1378, 2468 }: Central Line L(1378, 2468) { 1668, 2470 }: Central Line L(1668, 2470) A = Vertex A (0.0000, 0.0000) B = Vertex B (1.0000, 0.0000) C = Vertex C (0.6122, 0.5999) X_6 = SYMMEDIAN POINT (LEMOINE POINT, GREBE POINT) (0.6000, 0.2672) X_13 = 1st ISOGONIC CENTER (FERMAT POINT, TORRICELLI POINT) (0.5879, 0.2819) X_1124 = ISOGONAL CONJUGATE OF X(1123) (0.5846, 0.2489) X_2463 = INSIMILICENTER(ORTHOCENTROIDAL CIRCLE, INCIRCLE) (0.5738, 0.2778) X_1335 = {X(1),X(6)}-HARMONIC CONJUGATE OF X(1124) (0.4024, 0.0326) X_2464 = EXSIMILICENTER(ORTHOCENTROIDAL CIRCLE, INCIRCLE) (0.5776, 0.3505) X_1377 = INSIMILICENTER(2nd LEMOINE CIRCLE, SPIEKER CIRCLE) (0.5443, 0.2084) X_2467 = INSIMILICENTER(ORTHOCENTROIDAL CIRCLE, SPIEKER CIRCLE) (0.5491, 0.2436) X_1378 = EXSIMILICENTER(2nd LEMOINE CIRCLE, SPIEKER CIRCLE) (0.4609, 0.1206) X_2468 = EXSIMILICENTER(ORTHOCENTROIDALCIRCLE, SPIEKER CIRCLE) (1.0566, 1.3119) X_1668 = EXSIMILICENTER(BROCARD CIRCLE, 2nd LEMOINE CIRCLE) (0.5226, 0.1394) X_2470 = EXSIMILICENTER(ORTHOCENTROIDAL CIRCLE, BROCARD CIRCLE) (0.2601, -1.1373) X_2466 = EXSIMILICENTER(ORTHOCENTROIDAL CIRCLE, 2nd LEMOINE CIRCLE) (0.5591, 0.3170) A B C X6 X13 X1124 X2463 X1335 X2464 X1377 X2467 X1378 X2468 X1668 X2470 X2466 (a, b, c) = (5, 6, 7) | AB = 1

X2466 (EXSIMILICENTER(ORTHOCENTROIDAL CIRCLE, 2nd LEMOINE CIRCLE)) constructed on acute reference triangle \((a, b, c) = (5, 6, 7)\) with unit baseline AB = \(1\).

"""GEOMETOR construction model for X_2466 = EXSIMILICENTER(ORTHOCENTROIDAL CIRCLE, 2nd LEMOINE CIRCLE)."""

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


        def construct_x_02466(
            model: Model, A: spg.Point, B: spg.Point, C: spg.Point
        ) -> spg.Point:
            """Construct X_2466 = EXSIMILICENTER(ORTHOCENTROIDAL CIRCLE, 2nd LEMOINE CIRCLE) on reference triangle ABC."""
            X_2466 = eval_trilinear_point(model, A, B, C, '(cos(A) + 4*cos(B)*cos(C) - J*sin(A))', ID="X_2466", classes=["selected", "target"])
            X_6 = symmedian_point_of(model, A, B, C, ID="X_6", classes=["center", "incident"])
            X_13 = eval_trilinear_point(model, A, B, C, 'csc(A +  pi  /3)', ID="X_13", classes=["center", "incident"])
            central_line(model, X_6, X_13, 6, 13, incident=True)
            X_1124 = eval_trilinear_point(model, A, B, C, '1 + sin(A)', ID="X_1124", classes=["center", "incident"])
            X_2463 = eval_trilinear_point(model, A, B, C, '(J + cos(A) + 4*cos(B)*cos(C))', ID="X_2463", classes=["center", "incident"])
            central_line(model, X_1124, X_2463, 1124, 2463, incident=True)
            X_1335 = eval_trilinear_point(model, A, B, C, '(1 - sin(A))', ID="X_1335", classes=["center", "incident"])
            X_2464 = eval_trilinear_point(model, A, B, C, '(J - cos(A) - 4*cos(B)*cos(C))', ID="X_2464", classes=["center", "incident"])
            central_line(model, X_1335, X_2464, 1335, 2464, incident=True)
            return promote_point_to_top(model, X_2466)


        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_2466 on the given reference triangle."""
            model = create_model('X_2466 = EXSIMILICENTER(ORTHOCENTROIDAL CIRCLE, 2nd LEMOINE CIRCLE)')
            A, B, C = construct_baseline_triangle(model, *sides, show_guides=show_guides)
            construct_x_02466(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-02466.json"))
            write_center_svg(
                model_acute,
                here / "x-02466.svg",
                subtitle="(a, b, c) = (5, 6, 7) | AB = 1",
            )