<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://cmm.ozdeadmeat.com/index.php?action=history&amp;feed=atom&amp;title=PointInZone</id>
	<title>PointInZone - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://cmm.ozdeadmeat.com/index.php?action=history&amp;feed=atom&amp;title=PointInZone"/>
	<link rel="alternate" type="text/html" href="https://cmm.ozdeadmeat.com/index.php?title=PointInZone&amp;action=history"/>
	<updated>2026-06-04T14:17:56Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://cmm.ozdeadmeat.com/index.php?title=PointInZone&amp;diff=5813&amp;oldid=prev</id>
		<title>Ozdeadmeat: pointInZone – created via PowerShell script (2025-11-11T21:12:07Z)</title>
		<link rel="alternate" type="text/html" href="https://cmm.ozdeadmeat.com/index.php?title=PointInZone&amp;diff=5813&amp;oldid=prev"/>
		<updated>2025-11-11T10:12:09Z</updated>

		<summary type="html">&lt;p&gt;pointInZone – created via PowerShell script (2025-11-11T21:12:07Z)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Template:FunctionInfo|fName=          pointInZone|fDescription=   Determines whether a given 2‑D point (x, z) lies within the area of a named zone. The function accepts both circular zones (defined by a radius) and polygonal zones (defined by vertices). It first retrieves the zone data via CMM.getZone and then performs either a radial distance check or a point‑in‑polygon test.|parentFile=     cmm.DCSFunctions.lua|syntax=         CMM.pointInZone(&amp;lt;TBL&amp;gt;, &amp;lt;string&amp;gt;)|return=         boolean|returnDesc=     returns true if the coordinates are within the Zone perimeter|example=        local inside = CMM.pointInZone({x=12000, z=-65000}, &amp;quot;WeaponsRange02&amp;quot;)|exampleDesc=    The example demonstrates a simple call to check whether a specific location falls inside the zone &amp;quot;WeaponsRange02&amp;quot;.  The function will automatically handle circular or polygonal zones and return a boolean result.|related=        |note=           |envType= CMM|par1=         table point|reqType1=     table|reqName1=     point|desc1=       Table containing at least x and z coordinates (e.g., {x = 12345, z = -67890}).|par2=         string ZoneName|reqType2=     string|reqName2=     ZoneName|desc2=       Name of a zone defined in the mission editor.}}&lt;/div&gt;</summary>
		<author><name>Ozdeadmeat</name></author>
	</entry>
</feed>