The OpenGL function glVertex2d is one form of the set of functions for establishing the vertices of the geometry. The suffix part 2d states that the vertex is given with two coordinates (x and y), with each coordinate having type double. Another form of the vertex functions is glVertex2dv. Further discussion of the glVertex functions is given with the tutorial Geometry.