This considerably enriched new edition provides a self-contained presentation of the mathematical foundations, constructions, and tools necessary for studying problems where the modeling, optimization, or control variable is the shape or the structure of a geometric object.