X3023

7th STEVANOVIC POINT

X3023 = reflection of X3027 in X1
< 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) { 3027, 1 }: Central Line L(3027, 1) { 11, 115 }: Central Line L(11, 115) { 12, 114 }: Central Line L(12, 114) { 56, 98 }: Central Line L(56, 98) { 147, 388 }: Central Line L(147, 388) A = Vertex A (0.0000, 0.0000) B = Vertex B (1.0000, 0.0000) C = Vertex C (0.6122, 0.5999) X_3027 = INCIRCLE-ANTIPODE OF X(3023) (0.3936, 0.3842) X_1 = INCENTER (0.5714, 0.2333) X_11 = FEUERBACH POINT (0.7347, 0.0667) X_115 = CENTER OF KIEPERT HYPERBOLA (0.7507, 0.0838) X_12 = {X(1),X(5)}-HARMONIC CONJUGATE OF X(11) (0.5641, 0.2407) X_114 = KIEPERT ANTIPODE (0.3616, 0.4140) X_56 = EXSIMILICENTER(CIRCUMCIRCLE, INCIRCLE) (0.6316, 0.3438) X_98 = TARRY POINT (0.8891, -0.2281) X_147 = TARRY POINT OF ANTICOMPLEMENTARY TRIANGLE (-0.1660, 1.0561) X_388 = ∩X(7)X(8) (0.5790, 0.2635) X_3023 = 7th STEVANOVIC POINT (0.7493, 0.0823) A B C X3027 X1 X11 X115 X12 X114 X56 X98 X147 X388 X3023 (a, b, c) = (5, 6, 7) | AB = 1

X3023 (7th STEVANOVIC POINT) constructed on acute reference triangle \((a, b, c) = (5, 6, 7)\) with unit baseline AB = \(1\).

"""GEOMETOR construction model for X_3023 = 7th STEVANOVIC 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,
            construct_baseline_triangle,
            create_model,
            eval_trilinear_point,
            feuerbach_point_of,
            promote_point_to_top,
        )
        from geometor.etc.render import write_center_svg


        def construct_x_03023(
            model: Model, A: spg.Point, B: spg.Point, C: spg.Point
        ) -> spg.Point:
            """Construct X_3023 = 7th STEVANOVIC POINT on reference triangle ABC."""
            X_3023 = eval_trilinear_point(model, A, B, C, '(b*c*(b + c - a)*(b - c)**(2)*(a**(2) + b*c)**(2))', ID="X_3023", classes=["selected", "target"])
            X_11 = feuerbach_point_of(model, A, B, C, ID="X_11", classes=["center", "incident"])
            X_115 = eval_trilinear_point(model, A, B, C, 'b*c*(b**(2) - c**(2))**(2)', ID="X_115", classes=["center", "incident"])
            central_line(model, X_11, X_115, 11, 115, incident=True)
            X_12 = eval_trilinear_point(model, A, B, C, '1 + cos(B - C)', ID="X_12", classes=["center", "incident"])
            X_114 = eval_trilinear_point(model, A, B, C, 'b*c*(b*sec(B +  omega  ) + c*sec(C +  omega  ))', ID="X_114", classes=["center", "incident"])
            central_line(model, X_12, X_114, 12, 114, incident=True)
            X_56 = eval_trilinear_point(model, A, B, C, 'a/(b + c - a)', ID="X_56", classes=["center", "incident"])
            X_98 = eval_trilinear_point(model, A, B, C, 'sec(A +  omega  )', ID="X_98", classes=["center", "incident"])
            central_line(model, X_56, X_98, 56, 98, incident=True)
            return promote_point_to_top(model, X_3023)


        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_3023 on the given reference triangle."""
            model = create_model('X_3023 = 7th STEVANOVIC POINT')
            A, B, C = construct_baseline_triangle(model, *sides, show_guides=show_guides)
            construct_x_03023(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-03023.json"))
            write_center_svg(
                model_acute,
                here / "x-03023.svg",
                subtitle="(a, b, c) = (5, 6, 7) | AB = 1",
            )