I'm reading the differential geometry written by DoCarmo and having trouble when understanding the definition of regular surface. What troubles me is that I could not see why the definition would rule out those case when the surface has boundaries.
For example, the set $\lbrace z=0$ and $x^2+y^2 \leq 1\rbrace$. It is said that a regular surface should be locally homeomorphic to an open set in $\mathbb{R}^2$. While since any boundary point is an interior point in the surface itself, I couldn't see why a boundary point cannot exists in a regular surface. Could anyone clear this concept for me? I really appreciate it!