mesh_points, a FreeFem++ code which shows how an irregularly shaped region can be defined by reading from a file the coordinates of a sequence of boundary points that outline the region.
The information on this web page is distributed under the MIT license.