so find the indices of the sectors that correspond to the region
defined by the range around a coordinate position.</p><divclass="fullcomment"><divclass="comment cmt"><p>The blockmap is mapped to a coordinate range in two directions,
so find the indices of the sectors that correspond to the region
defined by the range around a coordinate position.</p></div><dlclass="paramcmts block"><dtclass="param">blockMap</dt><ddclass="cmt"><p>the blockmap structure</p></dd><dtclass="param">p</dt><ddclass="cmt"><p>the coordinate position</p></dd><dtclass="param">rangeX</dt><ddclass="cmt"><p>a rectangular range aigned with the lateral x-axis extending from a coordinate position</p></dd><dtclass="param">rangeY</dt><ddclass="cmt"><p>a rectangular range aigned with the lateral y-axis extending from a coordinate position</p></dd><dt>returns</dt><ddclass="cmt"><p>the indices of the sectors in the blockmap structure</p></dd></dl></div></li><liclass="indented0 "name="net.psforever.objects.zones.blockmap.BlockMap#findSectorIndices"group="Ungrouped"fullComment="yes"data-isabs="false"visbl="pub"><aid="findSectorIndices(blockMap:net.psforever.objects.zones.blockmap.BlockMap,p:net.psforever.types.Vector3,range:Float):Iterable[Int]"></a><aid="findSectorIndices(BlockMap,Vector3,Float):Iterable[Int]"></a><spanclass="permalink"><ahref="../../../../../net/psforever/objects/zones/blockmap/BlockMap$.html#findSectorIndices(blockMap:net.psforever.objects.zones.blockmap.BlockMap,p:net.psforever.types.Vector3,range:Float):Iterable[Int]"title="Permalink"><iclass="material-icons"></i></a></span><spanclass="modifier_kind"><spanclass="modifier"></span><spanclass="kind">def</span></span><spanclass="symbol"><spanclass="name">findSectorIndices</span><spanclass="params">(<spanname="blockMap">blockMap: <ahref="BlockMap.html"name="net.psforever.objects.zones.blockmap.BlockMap"id="net.psforever.objects.zones.blockmap.BlockMap"class="extype">BlockMap</a></span>, <spanname="p">p: <ahref="../../../types/Vector3.html"name="net.psforever.types.Vector3"id="net.psforever.types.Vector3"class="extype">Vector3</a></span>, <spanname="range">range: <spanname="scala.Float"class="extype">Float</span></span>)</span><spanclass="result">: <spanname="scala.Iterable"class="extype">Iterable</span>[<spanname="scala.Int"class="extype">Int</span>]</span></span><pclass="shortcomment cmt">The blockmap is mapped to a coordinate range in two directions,
so find the indices of the sectors that correspond to the region
defined by the range around a coordinate position.</p><divclass="fullcomment"><divclass="comment cmt"><p>The blockmap is mapped to a coordinate range in two directions,
so find the indices of the sectors that correspond to the region
defined by the range around a coordinate position.</p></div><dlclass="paramcmts block"><dtclass="param">blockMap</dt><ddclass="cmt"><p>the blockmap structure</p></dd><dtclass="param">p</dt><ddclass="cmt"><p>the coordinate position</p></dd><dtclass="param">range</dt><ddclass="cmt"><p>a rectangular range aigned with lateral axes extending from a coordinate position</p></dd><dt>returns</dt><ddclass="cmt"><p>the indices of the sectors in the blockmap structure</p></dd></dl></div></li><liclass="indented0 "name="scala.AnyRef#getClass"group="Ungrouped"fullComment="yes"data-isabs="false"visbl="pub"><aid="getClass():Class[_]"></a><aid="getClass():Class[_<:AnyRef]"></a><spanclass="permalink"><ahref="../../../../../net/psforever/objects/zones/blockmap/BlockMap$.html#getClass():Class[_]"title="Permalink"><iclass="material-icons"></i></a></span><spanclass="modifier_kind"><spanclass="modifier">final </span><spanclass="kind">def</span></span><spanclass="symbol"><spanclass="name">getClass</span><spanclass="params">()</span><spanclass="result">: <ahref="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html#java.lang.Class"name="java.lang.Class"id="java.lang.Class"class="extype">Class</a>[_ <: <spanname="scala.AnyRef"class="extype">AnyRef</span>]</span></span><divclass="fullcomment"><dlclass="attributes block"><dt>Definition Classes</dt><dd>AnyRef → Any</dd><dt>Annotations</dt><dd><spanclass="name">@native</span><spanclass="args">()</span></dd></dl></div></li><liclass="indented0 "name="scala.AnyRef#hashCode"group="Ungrouped"fullComment="yes"data-isabs="false"visbl="pub"><aid="hashCode():Int"></a><spanclass="permalink"><ahref="../../../../../net/psforever/objects/zones/blockmap/BlockMap$.html#hashCode():Int"title="Permalink"><iclass="material-icons"></i></a></span><spanclass="modifier_kind"><spanclass="modifier"></span><spanclass="kind">def</span></span><spanclass="symbol"><spanclass="name">hashCode</span><spanclass="params">()</span><spanclass="result">: <spanname="scala.Int"class="extype">Int</span></span></span><divclass="fullcomment"><dlclass="attributes block"><dt>Definition Classes</dt><dd>AnyRef → Any</dd><dt>Annotations</dt><dd><spanclass="name">@native</span><spanclass="args">()</span></dd></dl></div></li><liclass="indented0 "name="scala.Any#isInstanceOf"group="Ungrouped"fullComment="yes"data-isabs="false"visbl="pub"><aid="isInstanceOf[T0]:Boolean"></a><spanclass="permalink"><ahref="../../../../../net/psforever/objects/zones/blockmap/BlockMap$.html#isInstanceOf[T0]:Boolean"title="Permalink"><iclass="material-icons"></i></a></span><spanclass="modifier_kind"><spanclass="modifier">final </span><spanclass="kind">def</span></span><spanclass="symbol"><spanclass="name">isInstanceOf</span><spanclass="tparams">[<spanname="T0">T0</span>]</span><spanclass="result">: <spanname="scala.Boolean"class="extype">Boolean</span></span></span><divclass="fullcomment"><dlclass="attributes block"><dt>Definition Classes</dt><dd>Any</dd></dl></div></li><liclass="indented0 "name="scala.AnyRef#ne"group="Ungrouped"fullComment="yes"data-isabs="false"visbl="pub"><aid="ne(x$1:AnyRef):Boolean"></a><aid="ne(AnyRef):Boolean"></a><spanclass="permalink"><ahref="../../../../../net/psforever/objects/zones/blockmap/BlockMap$.html#ne(x$1:AnyRef):Boolean"title="Permalink"><iclass="material-icons"></i></a></span><spanclass="modifier_kind"><spanclass="modifier">final </span><spanclass="kind">def</span></span><spanclass="symbol"><spanclass="name">ne</span><spanclass="params">(<spanname="arg0">arg0: <spanname="scala.AnyRef"class="extype">AnyRef</span></span>)</span><spanclass="result">: <spanname="scala.Boolean"class="extype">Boolean</span></span></span><divclass="fullcomment"><dlclass="attributes block"><dt>Definition Classes</dt><dd>AnyRef</dd></dl></div></li><liclass="indented0 "name="scala.AnyRef#notify"group="Ungrouped"fullComment="yes"data-isabs="false"visbl="pub"><aid="notify():Unit"></a><spanclass="per
If a group of sectors, organize them into a single referential sector.</p></div><dlclass="paramcmts block"><dtclass="param">rangeX</dt><ddclass="cmt"><p>a custom range value for the x-axis</p></dd><dtclass="param">rangeY</dt><ddclass="cmt"><p>a custom range value for the y-axis</p></dd><dtclass="param">to</dt><ddclass="cmt"><p>all allocated sectors</p></dd><dt>returns</dt><ddclass="cmt"><p>a conglomerate sector which lists all of the entities in the allocated sector(s)</p></dd></dl></div></li><liclass="indented0 "name="net.psforever.objects.zones.blockmap.BlockMap#quickToSectorGroup"group="Ungrouped"fullComment="yes"data-isabs="false"visbl="pub"><aid="quickToSectorGroup(range:Float,to:Iterable[net.psforever.objects.zones.blockmap.Sector]):net.psforever.objects.zones.blockmap.SectorPopulation"></a><aid="quickToSectorGroup(Float,Iterable[Sector]):SectorPopulation"></a><spanclass="permalink"><ahref="../../../../../net/psforever/objects/zones/blockmap/BlockMap$.html#quickToSectorGroup(range:Float,to:Iterable[net.psforever.objects.zones.blockmap.Sector]):net.psforever.objects.zones.blockmap.SectorPopulation"title="Permalink"><iclass="material-icons"></i></a></span><spanclass="modifier_kind"><spanclass="modifier"></span><spanclass="kind">def</span></span><spanclass="symbol"><spanclass="name">quickToSectorGroup</span><spanclass="params">(<spanname="range">range: <spanname="scala.Float"class="extype">Float</span></span>, <spanname="to">to: <spanname="scala.Iterable"class="extype">Iterable</span>[<ahref="Sector.html"name="net.psforever.objects.zones.blockmap.Sector"id="net.psforever.objects.zones.blockmap.Sector"class="extype">Sector</a>]</span>)</span><spanclass="result">: <ahref="SectorPopulation.html"name="net.psforever.objects.zones.blockmap.SectorPopulation"id="net.psforever.objects.zones.blockmap.SectorPopulation"class="extype">SectorPopulation</a></span></span><pclass="shortcomment cmt">If only one sector, just return that sector.</p><divclass="fullcomment"><divclass="comment cmt"><p>If only one sector, just return that sector.
If a group of sectors, organize them into a single referential sector.</p></div><dlclass="paramcmts block"><dtclass="param">range</dt><ddclass="cmt"><p>a custom range value</p></dd><dtclass="param">to</dt><ddclass="cmt"><p>all allocated sectors</p></dd><dt>returns</dt><ddclass="cmt"><p>a conglomerate sector which lists all of the entities in the allocated sector(s)</p></dd></dl></div></li><liclass="indented0 "name="net.psforever.objects.zones.blockmap.BlockMap#quickToSectorGroup"group="Ungrouped"fullComment="yes"data-isabs="false"visbl="pub"><aid="quickToSectorGroup(to:Iterable[net.psforever.objects.zones.blockmap.Sector]):net.psforever.objects.zones.blockmap.SectorPopulation"></a><aid="quickToSectorGroup(Iterable[Sector]):SectorPopulation"></a><spanclass="permalink"><ahref="../../../../../net/psforever/objects/zones/blockmap/BlockMap$.html#quickToSectorGroup(to:Iterable[net.psforever.objects.zones.blockmap.Sector]):net.psforever.objects.zones.blockmap.SectorPopulation"title="Permalink"><iclass="material-icons"></i></a></span><spanclass="modifier_kind"><spanclass="modifier"></span><spanclass="kind">def</span></span><spanclass="symbol"><spanclass="name">quickToSectorGroup</span><spanclass="params">(<spanname="to">to: <spanname="scala.Iterable"class="extype">Iterable</span>[<ahref="Sector.html"name="net.psforever.objects.zones.blockmap.Sector"id="net.psforever.objects.zones.blockmap.Sector"class="extype">Sector</a>]</span>)</span><spanclass="result">: <ahref="SectorPopulation.html"name="net.psforever.objects.zones.blockmap.SectorPopulation"id="net.psforever.objects.zones.blockmap.SectorPopulation"class="extype">SectorPopulation</a></span></span><pclass="shortcomment cmt">If only one sector, just return that sector.</p><divclass="fullcomment"><divclass="comment cmt"><p>If only one sector, just return that sector.
If a group of sectors, organize them into a single referential sector.</p></div><dlclass="paramcmts block"><dtclass="param">to</dt><ddclass="cmt"><p>all allocated sectors</p></dd><dt>returns</dt><ddclass="cmt"><p>a conglomerate sector which lists all of the entities in the allocated sector(s)</p></dd></dl></div></li><liclass="indented0 "name="net.psforever.objects.zones.blockmap.BlockMap#rangeFromEntity"group="Ungrouped"fullComment="yes"data-isabs="false"visbl="pub"><aid="rangeFromEntity(target:net.psforever.objects.zones.blockmap.BlockMapEntity,defaultX:Option[Float],defaultY:Option[Float]):(Float,Float)"></a><aid="rangeFromEntity(BlockMapEntity,Option[Float],Option[Float]):(Float,Float)"></a><spanclass="permalink"><ahref="../../../../../net/psforever/objects/zones/blockmap/BlockMap$.html#rangeFromEntity(target:net.psforever.objects.zones.blockmap.BlockMapEntity,defaultX:Option[Float],defaultY:Option[Float]):(Float,Float)"title="Permalink"><iclass="material-icons"></i></a></span><spanclass="modifier_kind"><spanclass="modifier"></span><spanclass="kind">def</span></span><spanclass="symbol"><spanclass="name">rangeFromEntity</span><spanclass="params">(<spanname="target">target: <ahref="BlockMapEntity.html"name="net.psforever.objects.zones.blockmap.BlockMapEntity"id="net.psforever.objects.zones.blockmap.BlockMapEntity"class="extype">BlockMapEntity</a></span>, <spanname="defaultX">defaultX: <spanname="scala.Option"class="extype">Option</span>[<spanname="scala.Float"class="extype">Float</span>] = <spanclass="symbol">None</span></span>, <spanname="defaultY">defaultY: <spanname="scala.Option"class="extype">Option</span>[<spanname="scala.Float"class="extype">Float</span>] = <spanclass="symbol">None</span></span>)</span><spanclass="result">: (<spanname="scala.Float"class="extype">Float</span>, <spanname="scala.Float"class="extype">Float</span>)</span></span><pclass="shortcomment cmt">Calculate the range expressed by a certain entity that can be allocated into a sector on the blockmap.</p><divclass="fullcomment"><divclass="comment cmt"><p>Calculate the range expressed by a certain entity that can be allocated into a sector on the blockmap.
Entities have different ways of expressing these ranges.</p></div><dlclass="paramcmts block"><dtclass="param">target</dt><ddclass="cmt"><p>the entity</p></dd><dtclass="param">defaultX</dt><ddclass="cmt"><p>a default range for the x-axis, if no specific case is discovered;
if no default case, the default-default case is a single unit (<code>1.0f</code>)</p></dd><dtclass="param">defaultY</dt><ddclass="cmt"><p>a default range for the y-axis, if no specific case is discovered;
if no default case, the default-default case is a single unit (<code>1.0f</code>)</p></dd><dt>returns</dt><ddclass="cmt"><p>the distance from a central position along the major axes (y-axis, then x-axis)</p></dd></dl></div></li><liclass="indented0 "name="scala.AnyRef#synchronized"group="Ungrouped"fullComment="yes"data-isabs="false"visbl="pub"><aid="synchronized[T0](x$1:=>T0):T0"></a><aid="synchronized[T0](=>T0):T0"></a><spanclass="permalink"><ahref="../../../../../net/psforever/objects/zones/blockmap/BlockMap$.html#synchronized[T0](x$1:=>T0):T0"title="Permalink"><iclass="material-icons"></i></a></span><spanclass="modifier_kind"><spanclass="modifier">final </span><spanclass="kind">def</span></span><spanclass="symbol"><spanclass="name">synchronized</span><spanclass="tparams">[<spanname="T0">T0</span>]</span><spanclass="params">(<spanname="arg0">arg0: =><spanname="java.lang.AnyRef.synchronized.T0"class="extype">T0</span></span>)</span><spanclass="result">: <spanname="java.lang.AnyRef.synchronized.T0"class="extype">T0</span></span></span><divclass="fullcomment"><dlclass="attributes block"><dt>Definition Classes</dt><dd>AnyRef</dd></dl></div></li><liclass="indented0 "name="scala.AnyRef#toString"group="Ungrouped"fullComment="yes"data-isabs="false"visbl="pub"><aid="toString():String"></a><spanclass="permalink"><ahref="../../../../../net/psforever/objects/zones/blockmap/BlockMap$.html#toString():String"title="Permalink"><iclass="material-icons"></i></a></span><spanclass="modifier_kind"><spanclass="modifier"></span><spanclass="kind">def</span></span><spanclass="symbol"><spanclass="name">toString</span><spanclass="params">()</span><spanclass="result">: <ahref="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html#java.lang.String"name="java.lang.String"id="java.lang.String"class="extype">String</a></span></span><divclass="fullcomment"><dlclass="attributes block"><dt>Definition Classes</dt><dd>AnyRef → Any</dd></dl></div></li><liclass="indented0 "name="scala.AnyRef#wait"group="Ungrouped"fullComment="yes"data-isabs="false"visbl="pub"><aid="wait():Unit"></a><spanclass="permalink"><ahref="../../../../../net/psforever/objects/zones/blockmap/BlockMap$.html#wait():Unit"title="Permalink"><iclass="material-icons"></i></a></span><spanclass="modifier_kind"><spanclass="modifier">final </span><spanclass="kind">def</span></span><spanclass="symbol"><spanclass="name">wait</span><spanclass="params">()</span><spanclass="result">: <spanname="scala.Unit"class="extype">Unit</span></span></span><divclass="fullcomment"><dlclass="attributes block"><dt>Definition Classes</dt><dd>AnyRef</dd><dt>Annotations</dt><dd><spanclass="name">@throws</span><spanclass="args">(<span><spanclass="defval">classOf[java.lang.InterruptedException]</span></span>)</span></dd></dl></div></li><liclass="indented0 "name="scala.AnyRef#wait"group="Ungrouped"fullComment="yes"data-isabs="false"visbl="pub"><aid="wait(x$1:Long,x$2:Int):Unit"></a><aid="wait(Long,Int):Unit"></a><spanclass="permalink"><ahref="../../../../../net/psforever/objects/zones/blockmap/BlockMap$.html#wait(x$1:Long,x$2:Int):Unit"title="Permalink"><iclass="material-icons"></i></a></span><spanclass="modifier_kind"><spanclass="modifier">final </span><spanclass="kind">def</span></span><spanclass="symbol"><spanclass="name">wait</span><spanclass="params">(<spanname="arg0">arg0: <spanname="scala.Long"class="extype">Long</span></span>, <spanname="arg1">arg1: <spanname="scala.Int"class="extype">Int</span></span>)</span><spanclass="result">: <spanname="scala.Unit"class="extype">Unit</span></span></span><divclass="fullcomment"><dlclass="attributes block"><dt>Definition Classes</dt><dd>AnyRef</dd><dt>Annotations</dt><dd><spanclass="name">@throws</span><spanclass="args">(<span><spanclass="defval">classOf[java.lang.InterruptedException]</span></span>)</span></dd></dl></div></li><liclass="indented0 "name="scala.AnyRef#wait"group="Ungrouped"ful