SEGLEN

f = SEGLEN (Ax, Ay, Bx, By)

Length of line segment AB. The starting and ending point of the line segment is given by (Ax, Ay) and (Bx, By).

Example

Ax = 150
Ay = 50
Bx = 50
By = 100

print "SEGLEN: "; SEGLEN(Ax, Ay, Bx, By); " pixel"   ' Outut: SEGLEN: 111.8 Pixel