SetaPDF_Extractor_Storage_SpatialStorage The implementation of a spatial storage
File: /SetaPDF v2/Extractor/Storage/SpatialStorage.php
Class hierarchy
Implements
Summary
Properties
$_cellSize
protected int|float SetaPDF_Extractor_Storage_SpatialStorage::$_cellSize
The given cell-size that will be used to hash the points.
$_objects
protected SetaPDF_Extractor_Storage_SpatialStorage::$_objects = array()
Methods
_getCoordinateRange()
Creates a coordinate range for a geometry.
Parameters
_getHashes()
Gets the hashes for a storage entry.
Parameters
get()
Get all entries intersecting with the given geometry.
Parameters
getFirstAvailable()
public SetaPDF_Extractor_Storage_SpatialStorage::getFirstAvailable (
void
): SetaPDF_Extractor_Storage_StorageEntry|falseGet the first available storage-entry or false.
getIntersecting()
public SetaPDF_Extractor_Storage_SpatialStorage::getIntersecting (): SetaPDF_Extractor_Storage_StorageEntry[]
Get all entries intersecting with the given entry.
Parameters
insert()
public SetaPDF_Extractor_Storage_SpatialStorage::insert (
SetaPDF_Core_Geometry_Point|SetaPDF_Core_Geometry_Rectangle $geometry, mixed $data
): SetaPDF_Extractor_Storage_StorageEntryCreate a new entry for the data using the geometry and inserts it into the storage.
Parameters
- $geometry : SetaPDF_Core_Geometry_Point|SetaPDF_Core_Geometry_Rectangle
- $data : mixed
insertEntry()
public SetaPDF_Extractor_Storage_SpatialStorage::insertEntry (): SetaPDF_Extractor_Storage_StorageEntry
Insert an entry into the storage.
Parameters
removeEntry()
public SetaPDF_Extractor_Storage_SpatialStorage::removeEntry (): SetaPDF_Extractor_Storage_StorageEntry
Remove an entry from the storage.