A new, general-purpose two-dimensional mesh generator for finite elements, generalized finite differences, and moment method applications