X1282

5th SHARYGIN POINT

X1282 is the perspector of the excentral triangle and the triangle D'E'F' constructed at X1281. Coordinates were found by Jean-Pierre Ehrmann. See Hyacinthos #6293 and #6315.
< 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) { 1, 41 }: Central Line L(1, 41) { 43, 57 }: Central Line L(43, 57) { 10, 150 }: Central Line L(10, 150) { 63, 100 }: Central Line L(63, 100) { 40, 170 }: Central Line L(40, 170) { 152, 516 }: Central Line L(152, 516) A = Vertex A (0.0000, 0.0000) B = Vertex B (1.0000, 0.0000) C = Vertex C (0.6122, 0.5999) X_1 = INCENTER (0.5714, 0.2333) X_41 = -CEVA CONJUGATE OF X(31) (0.5823, 0.2244) X_43 = -CEVA CONJUGATE OF X(1) (0.6358, 0.2963) X_57 = ISOGONAL CONJUGATE OF X(9) (0.6138, 0.3110) X_10 = SPIEKER CENTER (0.5204, 0.1833) X_150 = REFLECTION OF X(20) IN X(103) (1.1837, -0.4499) X_63 = ISOGONAL CONJUGATE OF X(19) (0.4566, 0.0823) X_100 = ANTICOMPLEMENT OF FEUERBACH POINT (0.1429, 0.4666) X_40 = BEVAN POINT (0.4286, -0.0292) X_170 = -ALEPH CONJUGATE OF X(9) (0.4465, -0.0557) X_152 = REFLECTION OF X(20) IN X(101) (0.0408, 1.2414) X_516 = ISOGONAL CONJUGATE OF X(103) (0.7703, 0.7386) X_1282 = 5th SHARYGIN POINT (-0.1429, 0.8165) A B C X1 X41 X43 X57 X10 X150 X63 X100 X40 X170 X152 X516 X1282 (a, b, c) = (5, 6, 7) | AB = 1

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

"""GEOMETOR construction model for X_1282 = 5th SHARYGIN 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,
            incenter_of,
            intersect_lines,
            promote_point_to_top,
            spieker_center_of,
        )
        from geometor.etc.render import write_center_svg


        def construct_x_01282(
            model: Model, A: spg.Point, B: spg.Point, C: spg.Point
        ) -> spg.Point:
            """Construct X_1282 = 5th SHARYGIN POINT on reference triangle ABC."""
            X_1 = incenter_of(model, A, B, C, ID="X_1", classes=["center"])
            X_41 = eval_trilinear_point(model, A, B, C, 'a**(2)*(b + c - a)', ID="X_41", classes=["center"])
            X_43 = eval_trilinear_point(model, A, B, C, 'a*b + a*c - b*c', ID="X_43", classes=["center"])
            X_57 = eval_trilinear_point(model, A, B, C, '1/(b + c - a)', ID="X_57", classes=["center"])
            central_line(model, X_1, X_41, 1, 41)
            central_line(model, X_43, X_57, 43, 57)
            X_1282 = intersect_lines(model, X_1, X_41, X_43, X_57, ID="X_1282", classes=["selected", "target"])
            X_10 = spieker_center_of(model, A, B, C, ID="X_10", classes=["center", "incident"])
            X_150 = eval_trilinear_point(model, A, B, C, '(b*c*(b**(4) + c**(4) - a**(4) + a*(b*c**(2) +c*b**(2) - b**(3) - c**(3)) - b*c*(a**(2) + b**(2) + c**(2)) + (b + c)*a**(3)))', ID="X_150", classes=["center", "incident"])
            central_line(model, X_10, X_150, 10, 150, incident=True)
            return promote_point_to_top(model, X_1282)


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