X3192

X29-CEVA CONJUGATE OF X19

< 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) { 6, 25 }: Central Line L(6, 25) { 33, 42 }: Central Line L(33, 42) { 24, 58 }: Central Line L(24, 58) { 73, 208 }: Central Line L(73, 208) { 4, 386 }: Central Line L(4, 386) { 1, 406 }: Central Line L(1, 406) A = Vertex A (0.0000, 0.0000) B = Vertex B (1.0000, 0.0000) C = Vertex C (0.6122, 0.5999) X_29 = CEVAPOINT OF INCENTER AND ORTHOCENTER (0.5903, 0.3384) X_19 = CLAWSON POINT (0.6246, 0.4244) X_6 = SYMMEDIAN POINT (LEMOINE POINT, GREBE POINT) (0.6000, 0.2672) X_25 = HOMOTHETIC CENTER OF ORTHIC AND TANGENTIAL TRIANGLES (0.6329, 0.4497) X_33 = PERSPECTOR OF THE ORTHIC AND INTANGENTS TRIANGLES (0.6019, 0.3546) X_42 = CROSSPOINT OF INCENTER AND SYMMEDIAN POINT (0.5880, 0.2495) X_24 = PERSPECTOR OF ABC AND ORTHIC-OF-ORTHIC TRIANGLE (0.6627, 0.5278) X_58 = ISOGONAL CONJUGATE OF X(10) (0.6107, 0.2850) X_73 = CROSSPOINT OF INCENTER AND CIRCUMCENTER (0.5487, 0.1428) X_208 = -CEVA CONJUGATE OF X(34) (0.6242, -0.2728) X_4 = ORTHOCENTER (0.6122, 0.3958) X_386 = INVERSE-IN-BROCARD-CIRCLE OF X(58) (0.5912, 0.2526) X_1 = INCENTER (0.5714, 0.2333) X_406 = EULER LINE INTERCEPT OF LINE X(10)X(33) (0.5745, 0.2970) X_3192 = -CEVA CONJUGATE OF X(19) (0.5632, 0.0629) A B C X29 X19 X6 X25 X33 X42 X24 X58 X73 X208 X4 X386 X1 X406 X3192 (a, b, c) = (5, 6, 7) | AB = 1

X3192 (X29-CEVA CONJUGATE OF X19) constructed on acute reference triangle \((a, b, c) = (5, 6, 7)\) with unit baseline AB = \(1\).

"""GEOMETOR construction model for X_3192 = X_29-CEVA CONJUGATE OF X_19."""

        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,
            ceva_conjugate,
            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_03192(
            model: Model, A: spg.Point, B: spg.Point, C: spg.Point
        ) -> spg.Point:
            """Construct X_3192 = X_29-CEVA CONJUGATE OF X_19 on reference triangle ABC."""
            X_29 = eval_trilinear_point(model, A, B, C, '(sec(A))/(cos(B) + cos(C))', ID="X_29", classes=["center"])
            X_19 = eval_trilinear_point(model, A, B, C, 'tan(A)', ID="X_19", classes=["center"])
            X_3192 = ceva_conjugate(model, A, B, C, X_29, X_19, ID="X_3192", classes=["selected", "target"])
            X_6 = symmedian_point_of(model, A, B, C, ID="X_6", classes=["center", "incident"])
            X_25 = eval_trilinear_point(model, A, B, C, 'sin(A)*tan(A)', ID="X_25", classes=["center", "incident"])
            central_line(model, X_6, X_25, 6, 25, incident=True)
            X_33 = eval_trilinear_point(model, A, B, C, '1 + sec(A)', ID="X_33", classes=["center", "incident"])
            X_42 = eval_trilinear_point(model, A, B, C, 'a*(b + c)', ID="X_42", classes=["center", "incident"])
            central_line(model, X_33, X_42, 33, 42, incident=True)
            X_24 = eval_trilinear_point(model, A, B, C, 'sec(A)*cos(2*A)', ID="X_24", classes=["center", "incident"])
            X_58 = eval_trilinear_point(model, A, B, C, 'a/(b + c)', ID="X_58", classes=["center", "incident"])
            central_line(model, X_24, X_58, 24, 58, incident=True)
            return promote_point_to_top(model, X_3192)


        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_3192 on the given reference triangle."""
            model = create_model('X_3192 = X_29-CEVA CONJUGATE OF X_19')
            A, B, C = construct_baseline_triangle(model, *sides, show_guides=show_guides)
            construct_x_03192(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-03192.json"))
            write_center_svg(
                model_acute,
                here / "x-03192.svg",
                subtitle="(a, b, c) = (5, 6, 7) | AB = 1",
            )