private long GetGeoIndex(Point structureGeoPosition) { GeoIndexReceiverEvent geoIndexReceiverEvent = new GeoIndexReceiverEvent(structureGeoPosition); _eventBus.Post(geoIndexReceiverEvent); return(geoIndexReceiverEvent.GeoIndex); }
public void GeoIndexListener(GeoIndexReceiverEvent geoIndexReceiverEvent) { geoIndexReceiverEvent.GeoIndex = _grid.GetNodeIndex(geoIndexReceiverEvent.PointToTranslate); }