Having the constituent parts so compact, or so firmly adhering, as to resist the impression or penetration of other bodies; having a fixed form; hard…
Open English WordNet links these adjective senses as similar in meaning; they are not necessarily interchangeable.
