mymesh.delaunay.FanTriangulation#

mymesh.delaunay.FanTriangulation(NodeCoords, Hull=None)[source]#

Generate a fan triangulation of a two dimensional convex hull around the points.

Parameters:
  • NodeCoords (array_like) – Coordinates of points whose convex hull will be the basis of the fan triangulation. If 3 dimensional coordinates are given, the third coordinate will be ignored

  • Hull (array_like) – Node connectivity of the 2D convex hull. If not provided, it will be calculated internally.

Returns:

NodeConn – Nodal connectivity of the triangulated hull.

Return type:

np.ndarray