X1669

INSIMILICENTER(BROCARD CIRCLE, 2nd LEMOINE CIRCLE)

X1669 is the insimilicenter(Brocard 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) { 3, 6 }: Brocard Axis { 485, 1349 }: Central Line L(485, 1349) { 486, 1348 }: Central Line L(486, 1348) { 1124, 1675 }: Central Line L(1124, 1675) { 1335, 1674 }: Central Line L(1335, 1674) { 1377, 1679 }: Central Line L(1377, 1679) 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_6 = SYMMEDIAN POINT (LEMOINE POINT, GREBE POINT) (0.6000, 0.2672) X_485 = VECTEN POINT (0.5773, 0.2578) X_1349 = EXSIMILICENTER(NINE-POINT CIRCLE, BROCARD CIRCLE) (0.5463, 0.1455) X_486 = INNER VECTEN POINT (-0.0810, -0.0170) X_1348 = INSIMILICENTER(NINE-POINT CIRCLE, BROCARD CIRCLE) (0.5517, 0.2023) X_1124 = ISOGONAL CONJUGATE OF X(1123) (0.5846, 0.2489) X_1675 = EXSIMILICENTER(INCIRCLE, BROCARD CIRCLE) (0.5349, 0.1503) X_1335 = {X(1),X(6)}-HARMONIC CONJUGATE OF X(1124) (0.4024, 0.0326) X_1674 = INSIMILICENTER(INCIRCLE, BROCARD CIRCLE) (0.5563, 0.1989) X_1377 = INSIMILICENTER(2nd LEMOINE CIRCLE, SPIEKER CIRCLE) (0.5443, 0.2084) X_1679 = EXSIMILICENTER(BROCARD CIRCLE, SPIEKER CIRCLE) (0.6921, 0.1911) X_1669 = INSIMILICENTER(BROCARD CIRCLE, 2nd LEMOINE CIRCLE) (0.5631, 0.2062) A B C X3 X6 X485 X1349 X486 X1348 X1124 X1675 X1335 X1674 X1377 X1679 X1669 (a, b, c) = (5, 6, 7) | AB = 1

X1669 (INSIMILICENTER(BROCARD 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_1669 = INSIMILICENTER(BROCARD 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,
            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_01669(
            model: Model, A: spg.Point, B: spg.Point, C: spg.Point
        ) -> spg.Point:
            """Construct X_1669 = INSIMILICENTER(BROCARD CIRCLE, 2nd LEMOINE CIRCLE) on reference triangle ABC."""
            X_1669 = eval_trilinear_point(model, A, B, C, 'cos(A -  omega  ) + e*sin(A)', ID="X_1669", classes=["selected", "target"])
            X_3 = circumcenter_of(model, A, B, C, ID="X_3", classes=["center", "incident"])
            X_6 = symmedian_point_of(model, A, B, C, ID="X_6", classes=["center", "incident"])
            central_line(model, X_3, X_6, 3, 6, incident=True)
            X_485 = eval_trilinear_point(model, A, B, C, 'sec(A -  pi  /4)', ID="X_485", classes=["center", "incident"])
            X_1349 = eval_trilinear_point(model, A, B, C, 'e*cos(B - C) - cos(A -  omega  )', ID="X_1349", classes=["center", "incident"])
            central_line(model, X_485, X_1349, 485, 1349, incident=True)
            X_486 = eval_trilinear_point(model, A, B, C, 'sec(A +  pi  /4)', ID="X_486", classes=["center", "incident"])
            X_1348 = eval_trilinear_point(model, A, B, C, 'e*cos(B - C) + cos(A -  omega  )', ID="X_1348", classes=["center", "incident"])
            central_line(model, X_486, X_1348, 486, 1348, incident=True)
            return promote_point_to_top(model, X_1669)


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