The use of tessellation techniques in the planar grid generation