X181

APOLLONIUS POINT

Let O(A),O(B),O(C) be the excircles. Apollonius’s Problem includes the construction of the circle O tangent to the three excircles and encompassing them. (The circle is called the Apollonius circle.) Let A' = O∩O(A), B'=O∩O(B), C'=O∩O(C). The lines AA',BB',CC' concur in X181. Yff derived trilinears in 1992.
< 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) { 10, 12 }: Central Line L(10, 12) { 31, 51 }: Central Line L(31, 51) { 43, 57 }: Central Line L(43, 57) { 6, 197 }: Central Line L(6, 197) { 42, 228 }: Central Line L(42, 228) { 44, 375 }: Central Line L(44, 375) A = Vertex A (0.0000, 0.0000) B = Vertex B (1.0000, 0.0000) C = Vertex C (0.6122, 0.5999) X_261 = ISOTOMIC CONJUGATE OF X(12) (0.5072, 0.1625) X_10 = SPIEKER CENTER (0.5204, 0.1833) X_12 = {X(1),X(5)}-HARMONIC CONJUGATE OF X(11) (0.5641, 0.2407) X_31 = 2nd POWER POINT (0.6228, 0.3008) X_51 = CENTROID OF ORTHIC TRIANGLE (0.6093, 0.3186) X_43 = -CEVA CONJUGATE OF X(1) (0.6358, 0.2963) X_57 = ISOGONAL CONJUGATE OF X(9) (0.6138, 0.3110) X_6 = SYMMEDIAN POINT (LEMOINE POINT, GREBE POINT) (0.6000, 0.2672) X_197 = -CEVA CONJUGATE OF X(6) (0.4333, -0.1633) X_42 = CROSSPOINT OF INCENTER AND SYMMEDIAN POINT (0.5880, 0.2495) X_228 = -CEVA CONJUGATE OF X(71) (0.5231, 0.1126) X_44 = -LINE CONJUGATE OF X(1) (2.1429, 2.0996) X_375 = CENTROID OF THE PEDAL TRIANGLE OF X(10) (0.5509, 0.2326) X_181 = APOLLONIUS POINT (0.6163, 0.3093) A B C X261 X10 X12 X31 X51 X43 X57 X6 X197 X42 X228 X44 X375 X181 (a, b, c) = (5, 6, 7) | AB = 1

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

"""GEOMETOR construction model for X_181 = APOLLONIUS 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,
            promote_point_to_top,
            spieker_center_of,
        )
        from geometor.etc.render import write_center_svg


        def construct_x_00181(
            model: Model, A: spg.Point, B: spg.Point, C: spg.Point
        ) -> spg.Point:
            """Construct X_181 = APOLLONIUS POINT on reference triangle ABC."""
            X_181 = eval_trilinear_point(model, A, B, C, 'a*(b + c)**(2)/(b + c - a)', ID="X_181", classes=["selected", "target"])
            X_10 = spieker_center_of(model, A, B, C, ID="X_10", classes=["center", "incident"])
            X_12 = eval_trilinear_point(model, A, B, C, '1 + cos(B - C)', ID="X_12", classes=["center", "incident"])
            central_line(model, X_10, X_12, 10, 12, incident=True)
            X_31 = eval_trilinear_point(model, A, B, C, 'a**(2)', ID="X_31", classes=["center", "incident"])
            X_51 = eval_trilinear_point(model, A, B, C, 'a**(2)*cos(B - C)', ID="X_51", classes=["center", "incident"])
            central_line(model, X_31, X_51, 31, 51, incident=True)
            X_43 = eval_trilinear_point(model, A, B, C, 'a*b + a*c - b*c', ID="X_43", classes=["center", "incident"])
            X_57 = eval_trilinear_point(model, A, B, C, '1/(b + c - a)', ID="X_57", classes=["center", "incident"])
            central_line(model, X_43, X_57, 43, 57, incident=True)
            return promote_point_to_top(model, X_181)


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