INTERSECT


Math command INTERSECT


10
20  INTERSECT Ax, Ay, Bx, By, Cx, Cy, Dx, Dy, BYREF type, BYREF Rx, BYREF Ry
30
Calculates the intersection of the two line segments A-B and C-D. Returns: Rx,Ry = cross.


See examples


If there is insufficient information on this page and you wish learn more about INTERSECT, please send an email to smallbasic@gmail.com. You can help to improve information about INTERSECT by submitting an article using the comments link below. Note, an offline language reference text file is now avialable – see the Download section.

type = cross-type

  • 0 No cross (R = external cross)
  • 1 One cross
  • 2 Parallel
  • 3 Parallel (many crosses)
  • 4 The cross is one of the line segments edges.