VolMesh.edge_point

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

Return the location of a point along an edge.

Parameters
  • edge (tuple of int) – The edge identifier.

  • t (float (0.5)) – 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 – The XYZ coordinates of the point.