qit.utils.trisurf

qit.utils.trisurf(p: numpy.array, max_dist: float) numpy.array

Populates a 2D triangular surface with evenly spaced points for Delaunay triangulation.

Parameters
  • p (numpy.array) – vertices of the triangle, p.shape = (3, 2)

  • max_dist (float) – maximum 2-norm distance between the created points

Return type

numpy.array