Find coordinates of a tensor

find_coords(cellcenter, tipUnit, d, scale = 1)

Arguments

cellcenter

x, y, z coordinates.

tipUnit

x, y, z coordinates.

d

Norm of the vector.

scale

Shorten or lengthen the line for visualisation.

Value

a tibble with coordinates (x1, y1, z1, x2, y2, z2)