neso_fame.wall.wall_points_to_segments(points: Iterable[Point2D], tol: float = 1e-08) list[WallSegment]

Compute the edges connecting a series of vertices.

This is useful for working with the list of points defining the wall of a tokamak. The wall is assumed to be closed and an edge will be inserted between the last and the first point.


Last update: Nov 07, 2024