X3863

PERSPECTOR OF ABC AND T(-bc, b²)

X3863 is the perspector of ABC and t(-bc, b²).
< 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) { 37, 256 }: Central Line L(37, 256) { 75, 257 }: Central Line L(75, 257) { 6, 893 }: Central Line L(6, 893) { 1178, 1333 }: Central Line L(1178, 1333) { 904, 1964 }: Central Line L(904, 1964) { 3061, 3094 }: Central Line L(3061, 3094) A = Vertex A (0.0000, 0.0000) B = Vertex B (1.0000, 0.0000) C = Vertex C (0.6122, 0.5999) X_37 = CROSSPOINT OF INCENTER AND CENTROID (0.5567, 0.2158) X_256 = 1st SHARYGIN POINT (0.5601, 0.2146) X_75 = ISOTOMIC CONJUGATE OF INCENTER (0.4988, 0.1682) X_257 = ISOGONAL CONJUGATE OF X(172) (0.5240, 0.1822) X_6 = SYMMEDIAN POINT (LEMOINE POINT, GREBE POINT) (0.6000, 0.2672) X_893 = -CROSS CONJUGATE OF X(292) (0.5910, 0.2480) X_1178 = 1st SARAGOSSA POINT OF X(82) (0.6029, 0.2656) X_1333 = POINT ALULA (0.6308, 0.3181) X_904 = -HIRST INVERSE OF X(256) (0.6163, 0.2816) X_1964 = BICENTRIC SUM OF PU(36) (0.6058, 0.2641) X_3061 = INTERSECTION OF LINES X(1)X(6) AND X(2)X(257) (0.4848, 0.1304) X_3094 = INTERSECTION OF LINES X(2)X(694) AND X(3)X(6) (0.5556, 0.1938) X_3863 = PERSPECTOR OF ABC AND T(-bc, b2) (0.5731, 0.2095) A B C X37 X256 X75 X257 X6 X893 X1178 X1333 X904 X1964 X3061 X3094 X3863 (a, b, c) = (5, 6, 7) | AB = 1

X3863 (PERSPECTOR OF ABC AND T(-bc, b²)) constructed on acute reference triangle \((a, b, c) = (5, 6, 7)\) with unit baseline AB = \(1\).

"""GEOMETOR construction model for X_3863 = PERSPECTOR OF ABC AND T(-bc, b²)."""

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


        def construct_x_03863(
            model: Model, A: spg.Point, B: spg.Point, C: spg.Point
        ) -> spg.Point:
            """Construct X_3863 = PERSPECTOR OF ABC AND T(-bc, b²) on reference triangle ABC."""
            X_3863 = eval_barycentric_point(model, A, B, C, '(a**(2)*(b**(2) + a*c)*(c**(2) + a*b)*(b**(2) - b*c + c**(2)))', ID="X_3863", classes=["selected", "target"])
            X_37 = eval_trilinear_point(model, A, B, C, 'b + c', ID="X_37", classes=["center", "incident"])
            X_256 = eval_trilinear_point(model, A, B, C, '1/(a**(2) + b*c)', ID="X_256", classes=["center", "incident"])
            central_line(model, X_37, X_256, 37, 256, incident=True)
            X_75 = eval_trilinear_point(model, A, B, C, '1/a**(2)', ID="X_75", classes=["center", "incident"])
            X_257 = eval_trilinear_point(model, A, B, C, '1/(a**(3) + a*b*c)', ID="X_257", classes=["center", "incident"])
            central_line(model, X_75, X_257, 75, 257, incident=True)
            X_6 = symmedian_point_of(model, A, B, C, ID="X_6", classes=["center", "incident"])
            X_893 = eval_trilinear_point(model, A, B, C, 'a/(a**(2) + b*c)', ID="X_893", classes=["center", "incident"])
            central_line(model, X_6, X_893, 6, 893, incident=True)
            return promote_point_to_top(model, X_3863)


        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_3863 on the given reference triangle."""
            model = create_model('X_3863 = PERSPECTOR OF ABC AND T(-bc, b²)')
            A, B, C = construct_baseline_triangle(model, *sides, show_guides=show_guides)
            construct_x_03863(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-03863.json"))
            write_center_svg(
                model_acute,
                here / "x-03863.svg",
                subtitle="(a, b, c) = (5, 6, 7) | AB = 1",
            )