 Lines and planes are not compact, since one can take a set of equally-spaced points in any given direction without approaching any point.Various definitions of compactness may apply, depending on the level of generality.A subset of Euclidean space in particular is called compact if it is closed and bounded.