Added support for per-geometry local coordinates