Pattern synthesis of hexagonal planar arrays