In geometry, given a triangle ABC and a point P on its circumcircle, the three closest points to P on lines AB, AC, and BC are collinear. The line through these points is the Simson line of P, named for Robert Simson. The concept was first published, however, by William Wallace in 1799. The converse is also true; if the three closest points to P on three lines are collinear, and no two of the lines are parallel, then P lies on the circumcircle of the triangle formed by the three lines. Or in other words, the Simson line of a triangle ABC and a point P is just the pedal triangle of ABC and P that has degenerated into a straight line and this condition constrains the locus of P to trace the circumcircle of triangle ABC. Placing the triangle in the complex plane, let the triangle ABC with unit circumcircle have vertices whose locations have complex coordinates a, b, c, and let P with complex coordinates p be a point on the circumcircle. The Simson line is the set of points z satisfying where an overbar indicates complex conjugation. The Simson line of a vertex of the triangle is the altitude of the triangle dropped from that vertex, and the Simson line of the point diametrically opposite to the vertex is the side of the triangle opposite to that vertex. If P and Q are points on the circumcircle, then the angle between the Simson lines of P and Q is half the angle of the arc PQ. In particular, if the points are diametrically opposite, their Simson lines are perpendicular and in this case the intersection of the lines lies on the nine-point circle. Letting H denote the orthocenter of the triangle ABC, the Simson line of P bisects the segment PH in a point that lies on the nine-point circle. Given two triangles with the same circumcircle, the angle between the Simson lines of a point P on the circumcircle for both triangles does not depend of P. The set of all Simson lines, when drawn, form an envelope in the shape of a deltoid known as the Steiner deltoid of the reference triangle.