Utility functions for working with shapes.
Note that these are all linear functions so it is necessary to calculate separately for x, y (and z, w if present) components of a vector.
Utility functions for working with shapes.
Note that these are all linear functions so it is necessary to calculate separately for x, y (and z, w if present) components of a vector.