Previous topic

xsect.calc.rotate2

Next topic

xsect.calc.area

This Page

xsect.calc.close_points

xsect.calc.close_points(points)[source]

If the input points do not form a closed polygon, closes the polygon and returns the result.

Parameters:
points : array

An array of (x, y) coordinates of shape (N, 2).