Factory methods for Shape.
Retrieves a factory of Shape compatible with the given vector and transformation types.
Retrieves a factory of Shape compatible with the given space (Java-friendly overload).