GEOF Shapes

Shared utility functions for working with geometry.

To be decided: whether to migrate all general geometric functions to this component even if it’s only used for a specific component.