createGenericProjection

Generic version of createProjection. Accepts a custom projector function to map arbitrary type of domains.

Refer to createProjection and useProjection