setasign\SetaPDF2\Extractor\Storage
SpatialStorage The implementation of a spatial storage
File: /SetaPDF v2/Extractor/Storage/SpatialStorage.php
Old class name (alias):
\SetaPDF_Extractor_Storage_SpatialStorage
Class hierarchy
Implements
Summary
Properties
$_cellSize
protected int|float SpatialStorage::$_cellSize
The given cell-size that will be used to hash the points.
$_objects
protected SpatialStorage::$_objects = array()
Methods
_getCoordinateRange()
Creates a coordinate range for a geometry.
Parameters
get()
Get all entries intersecting with the given geometry.
Parameters
getIntersecting()
Get all entries intersecting with the given entry.
Parameters
insert()
Create 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()
Insert an entry into the storage.
Parameters
removeEntry()
Remove an entry from the storage.