to_curve_vertex example