Transformation
The most common type of shape optimization involves simple transformation of domains or boundaries:
This can also be achieved by changing the geometry directly, but that approach excludes the use of gradient-based optimization and in some cases one might be interested in the optimal translation and/or scaling of many objects, so that gradient based optimization is necessary.