C# 클래스 GeoCache.Cache.InMemoryCache

InMemeory implementation of ICache
상속: ICache
파일 보기 프로젝트 열기: OliveiraThales/GeoCache 1 사용 예제들

공개 메소드들

메소드 설명
BuildAllCache ( ) : void

Build the cache for a featureclass

BuildCursor ( IEnumerable geometries ) : void

Build cache based on cursor

BuildEnvelope ( IEnvelope envelope ) : void

Build a cache for a especific featureClass and extent

InMemoryCache ( IRepository repository, IEnvelope fullExtent, string featureClass ) : System

Constructor

RetriveData ( IEnvelope envelop, IList &outerData, IEnvelope &affectedEnvelop ) : bool

Retrive data from cache

비공개 메소드들

메소드 설명
AddGeometries ( IEnumerable geometries ) : void

Add geometries to cache

BuildGrid ( IEnvelope envelop ) : void

Build the grid based on Quadtree algorithm

BuildQuarter ( BoundingBox envelope, int level, List &order ) : void

Build a quarter for index

CreateSpatialIndex ( IEnvelope envelop ) : QuadTree

Generates a spatial index for a specified shape file.

GetAllFeatureBoundingBoxes ( IEnvelope envelop ) : IEnumerable

Reads all boundingboxes of features in the shapefile. This is used for spatial indexing.

메소드 상세

BuildAllCache() 공개 메소드

Build the cache for a featureclass
public BuildAllCache ( ) : void
리턴 void

BuildCursor() 공개 메소드

Build cache based on cursor
public BuildCursor ( IEnumerable geometries ) : void
geometries IEnumerable Geometries to add
리턴 void

BuildEnvelope() 공개 메소드

Build a cache for a especific featureClass and extent
public BuildEnvelope ( IEnvelope envelope ) : void
envelope IEnvelope Envelope
리턴 void

InMemoryCache() 공개 메소드

Constructor
public InMemoryCache ( IRepository repository, IEnvelope fullExtent, string featureClass ) : System
repository IRepository The repository
fullExtent IEnvelope Full Extent
featureClass string FeatureClass name
리턴 System

RetriveData() 공개 메소드

Retrive data from cache
public RetriveData ( IEnvelope envelop, IList &outerData, IEnvelope &affectedEnvelop ) : bool
envelop IEnvelope Envelope for search
outerData IList Output data
affectedEnvelop IEnvelope Affected envelop in the grid
리턴 bool