VolMesh.edge_point

VolMesh.edge_point(edge, t=0.5)[source]

Return the location of a point along an edge.

Parameters
  • edge (tuple[int, int]) – The edge identifier.

  • t (float, optional) – The location of the point on the edge. If the value of t is outside the range 0-1, the point will lie in the direction of the edge, but not on the edge vector.

Returns

list[float] – The XYZ coordinates of the point.