For a subset π of a topological space π, the boundaryππ is the set of points that are neither the interior nor the exterior, topology
i.e. points in π such that every open neighbourhood intersects both π and πβπ.
Equivalently, it is the closure minus the interior.
Using this definition, a set is open iff. it does not contain any of its boundary points.