AnyLogic
Expand
Font size

Interface IGISMarkupDescriptorConverter<T,P extends T,R extends T,MR>

Type Parameters:
T - Base type of search result entry
P - Point on the Earth
R - Region on the Earth
MR - Multiregion

@AnyLogicInternalAPI
public interface IGISMarkupDescriptorConverter<T,P extends T,R extends T,MR>
This class is internal and shouldn't be called by user.
it may be removed/renamed in future.
Internal interface for geographical search in AnyLogic.
Author:
AnyLogic North America, LLC https://anylogic.com

Method Summary

Modifier and TypeMethodDescription
voidaddMultiRegion(List<T> resultList, GISMultiRegionDescriptor multiRegionDescriptor) 
static List<GISRegionDescriptor>extractRegionDescriptors(GISMarkupDescriptor markupDescriptor)
Just an utility to extract regions from the given descriptor if it is either region or multiregion descriptor.
MRgetMultiRegion(GISMarkupDescriptor markupDescriptor) 
PgetPoint(GISPointDescriptor pointDescriptor) 
RgetRegion(GISRegionDescriptor regionDescriptor) 

Method Details

getPoint

P getPoint(GISPointDescriptor pointDescriptor)

getRegion

R getRegion(GISRegionDescriptor regionDescriptor)

getMultiRegion

MR getMultiRegion(GISMarkupDescriptor markupDescriptor)
See Also:
helful utility

addMultiRegion

void addMultiRegion(List<T> resultList,
 GISMultiRegionDescriptor multiRegionDescriptor)

extractRegionDescriptors

static List<GISRegionDescriptor> extractRegionDescriptors(GISMarkupDescriptor markupDescriptor)
Just an utility to extract regions from the given descriptor if it is either region or multiregion descriptor. In other case (when it is a point descriptor) returns empty list.