EGI.insert_vertex
- EGI.insert_vertex(fkey, key=None, xyz=None, return_fkeys=False)
Insert a vertex in the specified face.
- Parameters
fkey (int) – The key of the face in which the vertex should be inserted.
key (int, optional) – The key to be used to identify the inserted vertex.
xyz (list, optional) – Specific XYZ coordinates for the inserted vertex.
return_fkeys (bool, optional) – By default, this method returns only the key of the inserted vertex. This flag can be used to indicate that the keys of the newly created faces should be returned as well.
- Returns
int – The key of the inserted vertex, if
return_fkeys
is false.tuple – The key of the newly created vertex and a list with the newly created faces, if
return_fkeys
is true.
Examples
>>>