Difference between revisions of "MIST segmentIntersect"
From DCS World Wiki - Hoggitworld.com
(Created page with "{{Mission Scripting |fName= mist.shape.segmentIntersect| |vNum = Mist 4.5 |desc= Returns whether or not two line segments intersect and the point at which they intersect....") |
(No difference)
|
Latest revision as of 22:29, 11 February 2022
mist.shape.segmentIntersect
Added with: Mist 4.5 |
Description |
Returns whether or not two line segments intersect and the point at which they intersect. |
Syntax |
boolean, vec2 mist.shape.segmentIntersect(table segment1 ,table segment2 ) |
Valid Input Values: |
Segment: Table of two points in vec2 |
Return value: |
boolean, vec2 |
Return example: |
boolean, vec3 |
Usage Examples: |
Notes: |
Related Functions |
insideShape, circleInCircle, circleInPoly, polyInPoly, polyInCircle, getPointOnSegment, segmentIntersect |