Figure 3:
Elliptical gate in coordinate systems
and
.