We present a general mesh-free description of the magnetic field distribution in various electromagnetic machines, actuators, and devices. Our method is based on transfer relations and Fourier theory, which gives the magnetic field solution for a wide class of twodimensional (2-D) boundary value problems. This technique can be applied to rotary, linear, and tubular permanent-magnet actuators, either with a slotless or slotted armature. In addition to permanent-magnet machines, this technique can be applied to any 2-D geometry with the restriction that the geometry should consist of rectangular regions. The method obtains the electromagnetic field distribution by solving the Laplace and Poisson equations for every region, together with a set of boundary conditions. Here, we compare the method with finite-element analyses for various examples and show its applicability to a wide class of geometries.