update_polygon_vertices#

FdtdSession.update_polygon_vertices(vertices: ndarray)#

Update the optimization polygon object in the FDTD CAD with new vertices.

Parameters:
verticesnp.ndarray

Array of polygon vertices with shape (N, 2) for 2D vertices [x, y].