I'm new to manifolds and in my Computer Graphics class, we briefly explored the topic superficially through visual examples. From my intuitive understanding, we should be able to place a Euclidean grid on a manifold's surface or it should appear flat locally. However, I'm puzzled by how a pyramid with sharp edges and corners can still be a manifold. When we zoom in on the edges or corners, we only see flat areas along the faces of the pyramid, in any other direction it doesn't look flat. What is the difference between this case and two pyramids sharing a vertex (as an hourglass shape), which we classified as non-manifold?
I'd appreciate if someone can explain what I'm missing in my intuitive understanding.
The surface of a pyramid is not a smooth manifold, for exactly the reasons that you have perceived: as you zoom in on particular points, the image of that surface does not ever get close to flat.
Nonetheless, the surface of a pyramid is a topological manifold. For example, at each point on an edge of the pyramid, as we zoom in it looks like two half-discs meeting at a dihedral angle, and by a non-smooth yet continuous function we can unbend that angle to get two half-discs meeting along a segment and forming a single flat disc. We can do something similar at a vertex of the pyramid, where three or more "angular" discs meet, stretching them an unbending their angles until we again form a single flat disc, and again the functions needed will be continuous, but they will not be smooth.