Can other "building blocks" be used to define a CW complex?

59 Views Asked by At

When we define a CW complex, we use closed balls as its "building blocks." But is there a concept using more general building blocks, maybe something like a topological space equipped with one of its closed set (so that a topological space would behave like a closed ball $D^n$ and the closed set would behave like $S^{n-1}$)?