A bucket on the blockmap should contain only a small fraction of the full zone's entities.</p></div><dlclass="attributes block"><dt>Source</dt><dd><ahref="https://github.com/psforever/PSF-LoginServer/blob/master//home/runner/work/PSF-LoginServer/PSF-LoginServer/src/main/scala/net/psforever/objects/zones/blockmap/BlockMap.scala"target="_blank">BlockMap.scala</a></dd></dl><divclass="toggleContainer"><divclass="toggle block"><span>Linear Supertypes</span><divclass="superTypes hiddenContent"><spanname="scala.AnyRef"class="extype">AnyRef</span>, <spanname="scala.Any"class="extype">Any</span></div></div></div></div><divid="mbrsel"><divclass="toggle"></div><divid="memberfilter"><iclass="material-icons arrow"></i><spanclass="input"><inputplaceholder="Filter all members"id="mbrsel-input"type="text"accesskey="/"/></span><iclass="clear material-icons"></i></div><divid="filterby"><divid="order"><spanclass="filtertype">Ordering</span><ol><liclass="alpha in"><span>Alphabetic</span></li><liclass="inherit out"><span>By Inheritance</span></li></ol></div><divclass="ancestors"><spanclass="filtertype">Inherited<br/></span><olid="linearization"><liclass="in"name="net.psforever.objects.zones.blockmap.BlockMap"><span>BlockMap</span></li><liclass="in"name="scala.AnyRef"><span>AnyRef</span></li><liclass="in"name="scala.Any"><span>Any</span></li></ol></div><divclass="ancestors"><spanclass="filtertype"></span><ol><liclass="hideall out"><span>Hide All</span></li><liclass="showall in"><span>Show All</span></li></ol></div><divid="visbl"><spanclass="filtertype">Visibility</span><ol><liclass="public in"><span>Public</span></li><liclass="protected out"><span>Protected</span></li></ol></div></div></div><divid="template"><divid="allMembers"><divid="constructors"class="members"><h3>Instance Constructors</h3><ol><liclass="indented0 "name="net.psforever.objects.zones.blockmap.BlockMap#<init>"group="Ungrouped"fullComment="yes"data-isabs="false"visbl="pub"><aid="<init>(fullMapWidth:Int,fullMapHeight:Int,desiredSpanSize:Int):net.psforever.objects.zones.blockmap.BlockMap"></a><aid="<init>:BlockMap"></a><spanclass="permalink"><ahref="../../../../../net/psforever/objects/zones/blockmap/BlockMap.html#<init>(fullMapWidth:Int,fullMapHeight:Int,desiredSpanSize:Int):net.psforever.objects.zones.blockmap.BlockMap"title="Permalink"><iclass="material-icons"></i></a></span><spanclass="modifier_kind"><spanclass="modifier"></span><spanclass="kind">new</span></span><spanclass="symbol"><spanclass="name">BlockMap</span><spanclass="params">(<spanname="fullMapWidth">fullMapWidth: <spanname="scala.Int"class="extype">Int</span></span>, <spanname="fullMapHeight">fullMapHeight: <spanname="scala.Int"class="extype">Int</span></span>, <spanname="desiredSpanSize">desiredSpanSize: <spanname="scala.Int"class="extype">Int</span></span>)</span></span><pclass="shortcomment cmt"></p><divclass="fullcomment"><divclass="comment cmt"></div><dlclass="paramcmts block"><dtclass="param">fullMapWidth</dt><ddclass="cmt"><p>maximum width of the coordinate space (m)</p></dd><dtclass="param">fullMapHeight</dt><ddclass="cmt"><p>maximum height of the coordinate space (m)</p></dd><dtclass="param">desiredSpanSize</dt><ddclass="cmt"><p>the amount of coordinate space attributed to each bucket in the blockmap (m)</p></dd></dl></div></li></ol></div><divclass="values members"><h3>Value Members</h3><ol><liclass="indented0 "name="scala.AnyRef#!="group="Ungrouped"fullComment="yes"data-isabs="false"visbl="pub"><aid="!=(x$1:Any):Boolean"></a><aid="!=(Any):Boolean"></a><spanclass="permalink"><ahref="../../../../../net/psforever/objects/zones/blockmap/BlockMap.html#!=(x$1:Any):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"title="gt4s: $bang$eq">!=</span><spanclass="params">(<spanname="arg0">arg0: <spanname="scala.Any"class=
using the provided game world coordinates and the provided axis range.</p><divclass="fullcomment"><divclass="comment cmt"><p>Allocate this entity into appropriate sectors on the blockmap
using the provided game world coordinates and the provided axis range.</p></div><dlclass="paramcmts block"><dtclass="param">target</dt><ddclass="cmt"><p>the entity</p></dd><dtclass="param">toPosition</dt><ddclass="cmt"><p>the game world coordinates that indicate the central sector</p></dd><dtclass="param">rangeX</dt><ddclass="cmt"><p>the distance from the central sector along the major x-axis</p></dd><dtclass="param">rangeY</dt><ddclass="cmt"><p>the distance from the central sector along the major y-axis</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><dlclass="attributes block"><dt>See also</dt><dd><spanclass="cmt"><p><code>BlockMap.findSectorIndices</code></p></span></dd></dl></div></li><liclass="indented0 "name="net.psforever.objects.zones.blockmap.BlockMap#addTo"group="Ungrouped"fullComment="yes"data-isabs="false"visbl="pub"><aid="addTo(target:net.psforever.objects.zones.blockmap.BlockMapEntity,toPosition:net.psforever.types.Vector3,range:Float):net.psforever.objects.zones.blockmap.SectorPopulation"></a><aid="addTo(BlockMapEntity,Vector3,Float):SectorPopulation"></a><spanclass="permalink"><ahref="../../../../../net/psforever/objects/zones/blockmap/BlockMap.html#addTo(target:net.psforever.objects.zones.blockmap.BlockMapEntity,toPosition:net.psforever.types.Vector3,range:Float):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">addTo</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="toPosition">toPosition: <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">: <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">Allocate this entity into appropriate sectors on the blockmap
using the provided game world coordinates and the provided axis range.</p><divclass="fullcomment"><divclass="comment cmt"><p>Allocate this entity into appropriate sectors on the blockmap
using the provided game world coordinates and the provided axis range.</p></div><dlclass="paramcmts block"><dtclass="param">target</dt><ddclass="cmt"><p>the entity</p></dd><dtclass="param">toPosition</dt><ddclass="cmt"><p>the game world coordinates that indicate the central sector</p></dd><dtclass="param">range</dt><ddclass="cmt"><p>the distance from the central sector along the major axes</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><dlclass="attributes block"><dt>See also</dt><dd><spanclass="cmt"><p><code>BlockMap.findSectorIndices</code></p></span></dd></dl></div></li><liclass="indented0 "name="net.psforever.objects.zones.blockmap.BlockMap#addTo"group="Ungrouped"fullComment="yes"data-isabs="false"visbl="pub"><aid="addTo(target:net.psforever.objects.zones.blockmap.BlockMapEntity,range:Float):net.psforever.objects.zones.blockmap.SectorPopulation"></a><aid="addTo(BlockMapEntity,Float):SectorPopulation"></a><spanclass="permalink"><ahref="../../../../../net/psforever/objects/zones/blockmap/BlockMap.html#addTo(target:net.psforever.objects.zones.blockmap.BlockMapEntity,range:Float):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">addTo</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="range">range: <spanname="scala.Float"class="extype">Float</span></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">Allocate this entity into appropriate sectors on the blockmap
using the provided custom axis range.</p><divclass="fullcomment"><divclass="comment cmt"><p>Allocate this entity into appropriate sectors on the blockmap
using the provided custom axis range.</p></div><dlclass="paramcmts block"><dtclass="param">target</dt><ddclass="cmt"><p>the entity</p></dd><dtclass="param">range</dt><ddclass="cmt"><p>the custom distance from the central sector along the major axes</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><dlclass="attributes block"><dt>See also</dt><dd><spanclass="cmt"><p><code>addTo(BlockMapEntity, Vector3, Float)</code></p></span></dd></dl></div></li><liclass="indented0 "name="net.psforever.objects.zones.blockmap.BlockMap#addTo"group="Ungrouped"fullComment="yes"data-isabs="false"visbl="pub"><aid="addTo(target:net.psforever.objects.zones.blockmap.BlockMapEntity,toPosition:net.psforever.types.Vector3):net.psforever.objects.zones.blockmap.SectorPopulation"></a><aid="addTo(BlockMapEntity,Vector3):SectorPopulation"></a><spanclass="permalink"><ahref="../../../../../net/psforever/objects/zones/blockmap/BlockMap.html#addTo(target:net.psforever.objects.zones.blockmap.BlockMapEntity,toPosition:net.psforever.types.Vector3):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">addTo</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="toPosition">toPosition: <ahref="../../../types/Vector3.html"name="net.psforever.types.Vector3"id="net.psforever.types.Vector3"class="extype">Vector3</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">Allocate this entity into appropriate sectors on the blockmap
at the provided game world coordinates.</p><divclass="fullcomment"><divclass="comment cmt"><p>Allocate this entity into appropriate sectors on the blockmap
at the provided game world coordinates.</p></div><dlclass="paramcmts block"><dtclass="param">target</dt><ddclass="cmt"><p>the entity</p></dd><dtclass="param">toPosition</dt><ddclass="cmt"><p>the custom game world coordinates that indicate the central sector</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><dlclass="attributes block"><dt>See also</dt><dd><spanclass="cmt"><p><code>addTo(BlockMapEntity, Vector3, Float)</code></p></span><spanclass="cmt"><p><code>BlockMap.rangeFromEntity</code></p></span></dd></dl></div></li><liclass="indented0 "name="net.psforever.objects.zones.blockmap.BlockMap#addTo"group="Ungrouped"fullComment="yes"data-isabs="false"visbl="pub"><aid="addTo(target:net.psforever.objects.zones.blockmap.BlockMapEntity):net.psforever.objects.zones.blockmap.SectorPopulation"></a><aid="addTo(BlockMapEntity):SectorPopulation"></a><spanclass="permalink"><ahref="../../../../../net/psforever/objects/zones/blockmap/BlockMap.html#addTo(target:net.psforever.objects.zones.blockmap.BlockMapEntity):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">addTo</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>)</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">Allocate this entity into appropriate sectors on the blockmap.</p><divclass="fullcomment"><divclass="comment cmt"><p>Allocate this entity into appropriate sectors on the blockmap.</p></div><dlclass="paramcmts block"><dtclass="param">target</dt><ddclass="cmt"><p>the entity</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><dlclass="attributes block"><dt>See also</dt><dd><spanclass="cmt"><p><code>addTo(BlockMapEntity, Vector3)</code></p></span></dd></dl></div></li><liclass="indented0 "name="scala.Any#asInstanceOf"group="Ungrouped"fullComment="yes"data-isabs="false"visbl="pub"><aid="asInstanceOf[T0]:T0"></a><spanclass="permalink"><ahref="../../../../../net/psforever/objects/zones/blockmap/BlockMap.html#asInstanceOf[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">asInstanceOf</span><spanclass="tparams">[<spanname="T0">T0</span>]</span><spanclass="result">: <spanname="scala.Any.asInstanceOf.T0"class="extype">T0</span></span></span><divclass="fullcomment"><dlclass="attributes block"><dt>Definition Classes</dt><dd>Any</dd></dl></div></li><liclass="indented0 "name="net.psforever.objects.zones.blockmap.BlockMap#blocks"group="Ungrouped"fullComment="no"data-isabs="false"visbl="pub"><aid="blocks:scala.collection.mutable.ListBuffer[net.psforever.objects.zones.blockmap.Sector]"></a><aid="blocks:ListBuffer[Sector]"></a><spanclass="permalink"><ahref="../../../../../net/psforever/objects/zones/blockmap/BlockMap.html#blocks:scala.collection.mutable.ListBuffer[net.psforever.objects.zones.blockmap.Sector]"title="Permalink"><iclass="material-icons"></i></a></span><spanclass="modifier_kind"><spanclass="modifier"></span><spanclass="kind">val</span></span><spanclass="symbol"><spanclass="name">blocks</span><spanclass="result">: <spanname="scala.collection.mutable.ListBuffer"class="extype">ListBuffer</span>[<ahref="Sector.html"name="net.psforever.objects.zones.blockmap.Sector"id="net.psforever.object
while the represented region need not be square, the sectors are defined as squares
</p></li><liclass="indented0 "name="net.psforever.objects.zones.blockmap.BlockMap#blocksInRow"group="Ungrouped"fullComment="no"data-isabs="false"visbl="pub"><aid="blocksInRow:Int"></a><spanclass="permalink"><ahref="../../../../../net/psforever/objects/zones/blockmap/BlockMap.html#blocksInRow:Int"title="Permalink"><iclass="material-icons"></i></a></span><spanclass="modifier_kind"><spanclass="modifier"></span><spanclass="kind">val</span></span><spanclass="symbol"><spanclass="name">blocksInRow</span><spanclass="result">: <spanname="scala.Int"class="extype">Int</span></span></span><pclass="shortcomment cmt">how many sectors are in a row;
the far side sector may run off into un-navigable regions but will always contain a sliver of represented map space,
for example, on a 0-10 grid where the span size is 3, the spans will begin at (0, 3, 6, 9)
and the last span will only have two-thirds of its region valid;
the invalid, not represented regions should be silently ignored
Other parameters are included for symmetry with a respective <code>addto</code> method,
but are ignored since removing an entity from a sector from which it is not represented is ill-advised
as is not removing an entity from any sector that it occupies.</p></div><dlclass="paramcmts block"><dtclass="param">target</dt><ddclass="cmt"><p>the entity</p></dd><dtclass="param">fromPosition</dt><ddclass="cmt"><p>ignored</p></dd><dtclass="param">range</dt><ddclass="cmt"><p>ignored</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><dlclass="attributes block"><dt>See also</dt><dd><spanclass="cmt"><p><code>removeFrom(BlockMapEntity)</code></p></span></dd></dl></div></li><liclass="indented0 "name="net.psforever.objects.zones.blockmap.BlockMap#removeFrom"group="Ungrouped"fullComment="yes"data-isabs="false"visbl="pub"><aid="removeFrom(target:net.psforever.objects.zones.blockmap.BlockMapEntity,range:Float):net.psforever.objects.zones.blockmap.SectorPopulation"></a><aid="removeFrom(BlockMapEntity,Float):SectorPopulation"></a><spanclass="permalink"><ahref="../../../../../net/psforever/objects/zones/blockmap/BlockMap.html#removeFrom(target:net.psforever.objects.zones.blockmap.BlockMapEntity,range:Float):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">removeFrom</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="range">range: <spanname="scala.Float"class="extype">Float</span></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">Deallocate this entity from appropriate sectors on the blockmap.</p><divclass="fullcomment"><divclass="comment cmt"><p>Deallocate this entity from appropriate sectors on the blockmap.
Other parameters are included for symmetry with a respective <code>addto</code> method,
but are ignored since removing an entity from a sector from which it is not represented is ill-advised
as is not removing an entity from any sector that it occupies.</p></div><dlclass="paramcmts block"><dtclass="param">target</dt><ddclass="cmt"><p>the entity</p></dd><dtclass="param">range</dt><ddclass="cmt"><p>ignored</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><dlclass="attributes block"><dt>See also</dt><dd><spanclass="cmt"><p><code>removeFrom(BlockMapEntity)</code></p></span></dd></dl></div></li><liclass="indented0 "name="net.psforever.objects.zones.blockmap.BlockMap#removeFrom"group="Ungrouped"fullComment="yes"data-isabs="false"visbl="pub"><aid="removeFrom(target:net.psforever.objects.zones.blockmap.BlockMapEntity,fromPosition:net.psforever.types.Vector3):net.psforever.objects.zones.blockmap.SectorPopulation"></a><aid="removeFrom(BlockMapEntity,Vector3):SectorPopulation"></a><spanclass="permalink"><ahref="../../../../../net/psforever/objects/zones/blockmap/BlockMap.html#removeFrom(target:net.psforever.objects.zones.blockmap.BlockMapEntity,fromPosition:net.psforever.types.Vector3):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">removeFrom</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="fromPosition">fromPosition: <ahref="../../../types/Vector3.html"name="net.psforever.types.Vector3"id="net.psforever.types.Vector3"class="extype">Vector3</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">Deallocate this entity from appropriate sectors on the blockmap.</p><divclass="fullcomment"><divclass="comment cmt"><p>Deallocate this entity from appropriate sectors on the blockmap.
Other parameters are included for symmetry with a respective <code>addto</code> method,
but are ignored since removing an entity from a sector from which it is not represented is ill-advised
as is not removing an entity from any sector that it occupies.</p></div><dlclass="paramcmts block"><dtclass="param">target</dt><ddclass="cmt"><p>the entity</p></dd><dtclass="param">fromPosition</dt><ddclass="cmt"><p>ignored</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><dlclass="attributes block"><dt>See also</dt><dd><spanclass="cmt"><p><code>removeFrom(BlockMapEntity)</code></p></span></dd></dl></div></li><liclass="indented0 "name="net.psforever.objects.zones.blockmap.BlockMap#removeFrom"group="Ungrouped"fullComment="yes"data-isabs="false"visbl="pub"><aid="removeFrom(target:net.psforever.objects.zones.blockmap.BlockMapEntity):net.psforever.objects.zones.blockmap.SectorPopulation"></a><aid="removeFrom(BlockMapEntity):SectorPopulation"></a><spanclass="permalink"><ahref="../../../../../net/psforever/objects/zones/blockmap/BlockMap.html#removeFrom(target:net.psforever.objects.zones.blockmap.BlockMapEntity):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">removeFrom</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>)</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">Deallocate this entity from appropriate sectors on the blockmap.</p><divclass="fullcomment"><divclass="comment cmt"><p>Deallocate this entity from appropriate sectors on the blockmap.</p></div><dlclass="paramcmts block"><dtclass="param">target</dt><ddclass="cmt"><p>the entity</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><dlclass="attributes block"><dt>See also</dt><dd><spanclass="cmt"><p><code>actuallyRemoveFrom(BlockMapEntity, Vector3, Float)</code></p></span></dd></dl></div></li><liclass="indented0 "name="net.psforever.objects.zones.blockmap.BlockMap#sector"group="Ungrouped"fullComment="yes"data-isabs="false"visbl="pub"><aid="sector(p:net.psforever.types.Vector3,range:Float):net.psforever.objects.zones.blockmap.SectorPopulation"></a><aid="sector(Vector3,Float):SectorPopulation"></a><spanclass="permalink"><ahref="../../../../../net/psforever/objects/zones/blockmap/BlockMap.html#sector(p:net.psforever.types.Vector3,range:Float):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">sector</span><spanclass="params">(<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">: <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">Given a coordinate position within representable space and a range from that representable space,
find the sector conglomerate to which this range allocates.</p><divclass="fullcomment"><divclass="comment cmt"><p>Given a coordinate position within representable space and a range from that representable space,
find the sector conglomerate to which this range allocates.</p></div><dlclass="paramcmts block"><dtclass="param">p</dt><ddclass="cmt"><p>the game world coordinates</p></dd><dtclass="param">range</dt><ddclass="cmt"><p>the axis distance from the provided coordinates</p></dd><dt>returns</dt><ddclass="cmt"><p>a conglomerate sector which lists all of the entities in the discovered sector(s)</p></dd></dl><dlclass="attributes block"><dt>See also</dt><dd><spanclass="cmt"><p><code>BlockMap.findSectorIndices</code></p></span><spanclass="cmt"><p><code>BlockMap.quickToSectorGroup</code></p></span></dd></dl></div></li><liclass="indented0 "name="net.psforever.objects.zones.blockmap.BlockMap#sector"group="Ungrouped"fullComment="yes"data-isabs="false"visbl="pub"><aid="sector(entity:net.psforever.objects.zones.blockmap.BlockMapEntity):net.psforever.objects.zones.blockmap.SectorPopulation"></a><aid="sector(BlockMapEntity):SectorPopulation"></a><spanclass="permalink"><ahref="../../../../../net/psforever/objects/zones/blockmap/BlockMap.html#sector(entity:net.psforever.objects.zones.blockmap.BlockMapEntity):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">sector</span><spanclass="params">(<spanname="entity">entity: <ahref="BlockMapEntity.html"name="net.psforever.objects.zones.blockmap.BlockMapEntity"id="net.psforever.objects.zones.blockmap.BlockMapEntity"class="extype">BlockMapEntity</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">Given a blockmap entity,
one that is allegedly represented on this blockmap,
find the sector conglomerate in which this entity is allocated.</p><divclass="fullcomment"><divclass="comment cmt"><p>Given a blockmap entity,
one that is allegedly represented on this blockmap,
find the sector conglomerate in which this entity is allocated.</p></div><dlclass="paramcmts block"><dtclass="param">entity</dt><ddclass="cmt"><p>the target entity</p></dd><dt>returns</dt><ddclass="cmt"><p>a conglomerate sector which lists all of the entities in the discovered sector(s)</p></dd></dl><dlclass="attributes block"><dt>See also</dt><dd><spanclass="cmt"><p><code>BlockMap.quickToSectorGroup</code></p></span></dd></dl></div></li><liclass="indented0 "name="net.psforever.objects.zones.blockmap.BlockMap#spanSize"group="Ungrouped"fullComment="no"data-isabs="false"visbl="pub"><aid="spanSize:Int"></a><spanclass="permalink"><ahref="../../../../../net/psforever/objects/zones/blockmap/BlockMap.html#spanSize:Int"title="Permalink"><iclass="material-icons"></i></a></span><spanclass="modifier_kind"><spanclass="modifier"></span><spanclass="kind">val</span></span><spanclass="symbol"><spanclass="name">spanSize</span><spanclass="result">: <spanname="scala.Int"class="extype">Int</span></span></span><pclass="shortcomment cmt">a clamping of the desired span size to a realistic value to use for the span size;
blocks can not be too small, but also should not be much larger than the width of the representable region
a block spanning as wide as the map is an acceptable cap