int removevertex(int geohandle, int linear_vertex_index)
A handle to the geometry to write to. Currently the only valid value is
0 or geoself, which means the current geometry in a node. (This argument may be used in the future to allow writing to other geometries.)
If this is
-1, the function has no effect. This is a linear
vertex index, so
vertexindex may be needed to convert from
a primitive and vertex number.
This removes the given vertex from the geometry. Note: This is done as a post process, not immediately when invoked.
Only polygons currently support the removal of vertices.
This can result in degenerate (0 vertex) polygons, as the primitive is not deleted.
Removing many vertices from polygons with high vertex counts can be slow.