<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.hoggitworld.com/index.php?action=history&amp;feed=atom&amp;title=MIST_insideShape</id>
		<title>MIST insideShape - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.hoggitworld.com/index.php?action=history&amp;feed=atom&amp;title=MIST_insideShape"/>
		<link rel="alternate" type="text/html" href="https://wiki.hoggitworld.com/index.php?title=MIST_insideShape&amp;action=history"/>
		<updated>2026-04-25T10:38:53Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https://wiki.hoggitworld.com/index.php?title=MIST_insideShape&amp;diff=13940&amp;oldid=prev</id>
		<title>Grimes: Created page with &quot;{{Mission Scripting  |fName= mist.shape.insideShape|  |vNum = Mist 4.5  |desc= Determines whether or not the first passed shape is inside of the second passed shape.  Optional...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.hoggitworld.com/index.php?title=MIST_insideShape&amp;diff=13940&amp;oldid=prev"/>
				<updated>2022-02-11T21:49:30Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Mission Scripting  |fName= mist.shape.insideShape|  |vNum = Mist 4.5  |desc= Determines whether or not the first passed shape is inside of the second passed shape.  Optional...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Mission Scripting&lt;br /&gt;
&lt;br /&gt;
|fName= mist.shape.insideShape|&lt;br /&gt;
&lt;br /&gt;
|vNum = Mist 4.5&lt;br /&gt;
&lt;br /&gt;
|desc= Determines whether or not the first passed shape is inside of the second passed shape. &lt;br /&gt;
Optional full entry requires the entire shape to be inside of the other shape to return true. &lt;br /&gt;
&lt;br /&gt;
Accepted shapes are circles and polygons. &lt;br /&gt;
&lt;br /&gt;
This function is used as a master function to call the relevant &amp;quot;shameName in shapeName&amp;quot; function. &lt;br /&gt;
&lt;br /&gt;
|rtnType= boolean&lt;br /&gt;
&lt;br /&gt;
|reqType1= table&lt;br /&gt;
|reqName1= shape1&lt;br /&gt;
|reqType2= table&lt;br /&gt;
|reqName2= shape2&lt;br /&gt;
|reqType3= &lt;br /&gt;
&lt;br /&gt;
|optType1= boolean&lt;br /&gt;
&lt;br /&gt;
|optName1= full&lt;br /&gt;
&lt;br /&gt;
|optType2=&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|varExamples= Circle: table with point and radius entries&lt;br /&gt;
Poly: table of 3 points or more. &lt;br /&gt;
&lt;br /&gt;
|rtnExamples= true or false&lt;br /&gt;
&lt;br /&gt;
|example= The following could determine if the SA-15's weapons range is within the radar coverage of an EWR by distance. &lt;br /&gt;
&lt;br /&gt;
    local tor = Unit.getByName('sa15'):getPoint()&lt;br /&gt;
    tor.radius = 15000&lt;br /&gt;
    local ewr = Unit.getByName('ewr'):getPoint()&lt;br /&gt;
    tor.radius = 320000&lt;br /&gt;
    if mist.shape.inShape(tor, ewr) == true then&lt;br /&gt;
       -- Part of the Tor missile range is within the EWRs radar coverage&lt;br /&gt;
    end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|notes=  &lt;br /&gt;
&lt;br /&gt;
|funcs= {{listOfMistShapeFuncs}}&lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
[[Category:MIST|insideShape]]&lt;/div&gt;</summary>
		<author><name>Grimes</name></author>	</entry>

	</feed>