This function calculates the intersection point of the given two lines. If the lines do not intersect, it returns the value [-1, -1, -1].
If no plane is specified, the intersection is represented in 3-dimensional space. If the plane is set to 1, the intersection will be in the YZ plane (disregarding the X-axis of the points forming the line). If the plane is set to 2, the intersection will be in the XZ plane (disregarding the Y-axis of the points forming the line). If the plane is set to 3, the intersection will be in the XY plane (disregarding the Z-axis of the points forming the line).
intersect(Line1, Line2, optional Number) → list of numbers This function designed to calculate the intersection point of the given two lines |
Example:
| ||
As demonstrated, Intersection1 and Intersection2 returns to the intersection point coordinates. | ||
To view this example in the library, see (https://openbrim.org/app/?incubator=1&author=ParamML_Examples_OpenBrIM+Platform&obj=objid5ly5tvpjppvns0s6j31rpe ) |