njDistanceL2L | Japanese
    <-|INDEX|->
Returns the distance between two lines.

### FORMAT

      #include <Ninja.h>

      Float njDisatnceL2L(*l1, *l2, *p1, *p2)
      NJS_LINE *l1
      NJS_LINE *l2
      NJS_POINT3 *p1
      NJS_POINT3 *p2

### PARAMETERS

NJS_LINE *l1
  line data 1
NJS_LINE *l2
  line data 2
NJS_POINT3 *p1
  coordinates of closest point on line 1
NJS_POINT3 *p2
  coordinates of closest point on line 2

### RETURN VALUE

  Minimum distance between the two lines.

### FUNCTION

- Returns the minimum distance between two lines.
- When parameters p1 and 2 are not NULL, the coordinates of the two closest points on the two lines are determined and stored in p1 (for the point on l1) and p2 (for the point on l2).

### EXAMPLE

### NOTES

### RELATED TOPICS

  NJS_POINT3
  NJS_LINE

njDistanceL2L |
    <-|INDEX|->