X3

CIRCUMCENTER

X3 is the point of concurrence of the perpendicular bisectors of the sides of ABC. The lengths of segments AX, BX, CX are equal if and only if X = X3. This common distance is the radius of the circumcircle, which passes through vertices A, B, C. Called the circumradius, it is given by \(R = a/(2 \sin A) = abc/(4 \operatorname{area}(ABC))\).
< 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) circumcircle: Circumcircle of △ABC [ X_3 M_a ]: Perpendicular Bisector of BC [ X_3 M_b ]: Perpendicular Bisector of CA [ X_3 M_c ]: Perpendicular Bisector of AB { 2, 4 }: Euler Line { 6, 15 }: Brocard Axis { 13, 17 }: Central Line L(13, 17) { 14, 18 }: Central Line L(14, 18) { 1, 35 }: OI Line (Incenter–Circumcenter Line) { 1, 40 }: OI Line (Incenter–Circumcenter Line) A = Vertex A (0.0000, 0.0000) B = Vertex B (1.0000, 0.0000) C = Vertex C (0.6122, 0.5999) M_a = Midpoint M_a of BC (0.8061, 0.2999) M_b = Midpoint M_b of CA (0.3061, 0.2999) M_c = Midpoint M_c of AB (0.5000, 0.0000) X_2 = CENTROID (0.5374, 0.2000) X_4 = ORTHOCENTER (0.6122, 0.3958) X_6 = SYMMEDIAN POINT (LEMOINE POINT, GREBE POINT) (0.6000, 0.2672) X_15 = 1st ISODYNAMIC POINT (0.5519, 0.1878) X_13 = 1st ISOGONIC CENTER (FERMAT POINT, TORRICELLI POINT) (0.5879, 0.2819) X_17 = 1st NAPOLEON POINT (0.5666, 0.2383) X_14 = 2nd ISOGONIC CENTER (0.9134, -0.1143) X_18 = 2nd NAPOLEON POINT (0.4434, 0.1317) X_1 = INCENTER (0.5714, 0.2333) X_35 = {X(1),X(3)}-HARMONIC CONJUGATE OF X(36) (0.5373, 0.1706) X_5 = NINE-POINT CENTER (0.5561, 0.2489) X_40 = BEVAN POINT (0.4286, -0.0292) X_3 = CIRCUMCENTER (0.5000, 0.1021) A B C Ma Mb Mc X2 X4 X6 X15 X13 X17 X14 X18 X1 X35 X5 X40 X3

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

"""GEOMETOR construction model for X_3 = CIRCUMCENTER."""

        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,
            centroid_of,
            circumcenter_of,
            construct_baseline_triangle,
            create_model,
            eval_trilinear_point,
            orthocenter_of,
            promote_point_to_top,
            symmedian_point_of,
        )
        from geometor.etc.render import write_center_svg


        def construct_x_00003(
            model: Model, A: spg.Point, B: spg.Point, C: spg.Point
        ) -> spg.Point:
            """Construct X_3 = CIRCUMCENTER on reference triangle ABC."""
            X_3 = circumcenter_of(model, A, B, C, ID="X_3", classes=["selected", "target"], draw_bisectors=True, draw_circumcircle=True)
            X_2 = centroid_of(model, A, B, C, ID="X_2", classes=["center"])
            X_4 = orthocenter_of(model, A, B, C, ID="X_4", classes=["center"])
            central_line(model, X_2, X_4, 2, 4)
            X_6 = symmedian_point_of(model, A, B, C, ID="X_6", classes=["center", "incident"])
            X_15 = eval_trilinear_point(model, A, B, C, 'sin(A +  pi  /3)', ID="X_15", classes=["center", "incident"])
            central_line(model, X_6, X_15, 6, 15, incident=True)
            X_13 = eval_trilinear_point(model, A, B, C, 'csc(A +  pi  /3)', ID="X_13", classes=["center", "incident"])
            X_17 = eval_trilinear_point(model, A, B, C, 'csc(A +  pi  /6)', ID="X_17", classes=["center", "incident"])
            central_line(model, X_13, X_17, 13, 17, incident=True)
            return promote_point_to_top(model, X_3)


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