MIST segmentIntersect

From DCS World Wiki - Hoggitworld.com
Revision as of 22:29, 11 February 2022 by Grimes (talk | contribs) (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....")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


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

Scripting Engine

MIST Root Page