pylbm.elements.Ellipse.distance

method

Ellipse.distance(self, grid, v, dmax=None)

Compute the distance in the v direction between the ellipse and the points defined by (x, y).

Parameters
gridndarray

coordinates of the points

vndarray

direction of interest

dmaxfloat

distance max

Returns
ndarray

array of distances