X1633

TCC-PERSPECTOR OF X651

X1633 is the tcc-perspector of X651.
< 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) { 651, 692 }: Central Line L(651, 692) { 108, 109 }: Central Line L(108, 109) { 100, 190 }: Central Line L(100, 190) { 105, 1086 }: Central Line L(105, 1086) { 59, 1310 }: Central Line L(59, 1310) A = Vertex A (0.0000, 0.0000) B = Vertex B (1.0000, 0.0000) C = Vertex C (0.6122, 0.5999) X_651 = TRILINEAR POLE OF LINE X(1)X(3) (0.3048, 0.5599) X_692 = -CEVA CONJUGATE OF X(101) (0.2833, 0.5715) X_108 = Ψ(CIRCUMCENTER, INCENTER) (0.5320, 0.6114) X_109 = Ψ(INCENTER, CIRCUMCENTER) (0.3636, 0.5938) X_100 = ANTICOMPLEMENT OF FEUERBACH POINT (0.1429, 0.4666) X_190 = YFF PARABOLIC POINT (0.0748, 0.3999) X_105 = Λ(INCENTER, SYMMEDIAN POINT) (0.9714, -0.0933) X_1086 = CENTER OF HYPERBOLA {{A,B,C,X(2),X(7)|} (0.7687, 0.1000) X_59 = ISOGONAL CONJUGATE OF X(11) (0.5333, 0.4355) X_1310 = COLLINGS TRANSFORM OF X(940) (0.1699, 0.4912) X_1633 = TCC-PERSPECTOR OF X(651) (0.2619, 0.5832) A B C X651 X692 X108 X109 X100 X190 X105 X1086 X59 X1310 X1633 (a, b, c) = (5, 6, 7) | AB = 1

X1633 (TCC-PERSPECTOR OF X651) constructed on acute reference triangle \((a, b, c) = (5, 6, 7)\) with unit baseline AB = \(1\).

"""GEOMETOR construction model for X_1633 = TCC-PERSPECTOR OF X_651."""

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


        def construct_x_01633(
            model: Model, A: spg.Point, B: spg.Point, C: spg.Point
        ) -> spg.Point:
            """Construct X_1633 = TCC-PERSPECTOR OF X_651 on reference triangle ABC."""
            X_651 = eval_trilinear_point(model, A, B, C, '1/(cos(B) - cos(C))', ID="X_651", classes=["center"])
            X_692 = eval_trilinear_point(model, A, B, C, 'a**(2)/(b - c)', ID="X_692", classes=["center"])
            X_1633 = reflection_in_point(model, X_651, X_692, ID="X_1633", classes=["selected", "target"], guide=False)
            X_108 = eval_trilinear_point(model, A, B, C, 'a/(sec(B) - sec(C))', ID="X_108", classes=["center", "incident"])
            X_109 = eval_trilinear_point(model, A, B, C, 'a/(cos(B) - cos(C))', ID="X_109", classes=["center", "incident"])
            central_line(model, X_108, X_109, 108, 109, incident=True)
            X_100 = eval_trilinear_point(model, A, B, C, '1/(b - c)', ID="X_100", classes=["center", "incident"])
            X_190 = eval_trilinear_point(model, A, B, C, 'b*c/(b - c)', ID="X_190", classes=["center", "incident"])
            central_line(model, X_100, X_190, 100, 190, incident=True)
            X_105 = eval_trilinear_point(model, A, B, C, '1/(b**(2) + c**(2) - a*(b + c))', ID="X_105", classes=["center", "incident"])
            X_1086 = eval_trilinear_point(model, A, B, C, '(b*c*(b - c)**(2))', ID="X_1086", classes=["center", "incident"])
            central_line(model, X_105, X_1086, 105, 1086, incident=True)
            return promote_point_to_top(model, X_1633)


        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_1633 on the given reference triangle."""
            model = create_model('X_1633 = TCC-PERSPECTOR OF X_651')
            A, B, C = construct_baseline_triangle(model, *sides, show_guides=show_guides)
            construct_x_01633(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-01633.json"))
            write_center_svg(
                model_acute,
                here / "x-01633.svg",
                subtitle="(a, b, c) = (5, 6, 7) | AB = 1",
            )