Hermes@Neo4j
|
Classes | |
class | PointResult |
Static Public Member Functions | |
static ArrayList< PointResult > | findClosestEdges (TemporalPoint point, LayerST layer) |
static ArrayList< PointResult > | findClosestEdges (TemporalPoint point, LayerST layer, double distance) |
static ArrayList< PointResult > | findClosestEdges (TemporalPoint point, LayerST layer, Geometry filter) |
static Point | locatePoint (LayerST layer, Geometry geometry, double measure) |
static TemporalCoordinate | locatePoint (Geometry geometry, double measure) |
static TemporalPoint | locatePoint (LayerST layer, Geometry geometry, double measure, double offset) |
static TemporalCoordinate | locatePoint (Geometry geometry, double measure, double offset) |
static ReferencedTemporalEnvelope | adjustBounds (ReferencedTemporalEnvelope bounds, double zoomFactor, double[] offsetFactor) |
static MBB | adjustBounds (MBB bounds, double zoomFactor, double[] offset) |
static MBB | createEnvelopeForGeometryDensityEstimate (LayerST layer, TemporalCoordinate point, int limit) |
static MBB | createEnvelopeForGeometryDensityEstimate (LayerST layer, TemporalCoordinate point, double fraction) |
This class is a temporary location for collecting a number of spatial utilities before we have decided on a more complete analysis structure. Do not rely on this API remaining constant.
|
static |
Adjust the size and position of a ReferencedEnvelope using fractions of the current size. For example:
bounds = adjustBounds(bounds, 0.3, new double[] { -0.1, 0.1 });
This will zoom in to show 30% of the height and width, and will also move the visible window 10% to the left and 10% up.
bounds | current envelope |
zoomFactor | fraction of size to zoom in by |
offsetFactor | fraction of size to offset visible window by |
|
static |
|
static |
Create an Envelope that should approximately include the specified number of geometries, based on a simple linear calculation of the geometry density. If the layer has fewer geometries, then the layer bounds will be returned. If the limit is set to zero (or negative), a point Envelope will be returned.
layer | the layer whose geometry density is to be used to estimate the size of the envelope |
point | the coordinate around which to build the envelope |
limit | the number of geometries to be included in the envelope |
|
static |
Create an Envelope that should approximately include the specified number of geometries, based on a simple linear calculation of the geometry density. If the layer has fewer geometries, then the layer bounds will be returned. If the limit is set to zero (or negative), a point Envelope will be returned.
layer | the layer whose geometry density is to be used to estimate the size of the envelope |
point | the coordinate around which to build the envelope |
fraction | the fractional number of geometries to be included in the envelope |
|
static |
|
static |
|
static |
|
static |
Create a Point located at the specified 'measure' distance along a Geometry. This is achieved through using the JTS LengthIndexedLine.extractPoint(measure) method for finding the coordinates at the specified measure along the geometry. It is equivalent to Oracle's SDO_LRS.LOCATE_PT.
layer | Layer the geometry is contained by, and is used to access the GeometryFactory for creating the Point |
geometry | Geometry to measure |
measure | the distance along the geometry |
|
static |
Find the coordinate at the specified 'measure' distance along a Geometry. This is achieved through using the JTS LengthIndexedLine.extractPoint(measure) method for finding the coordinates at the specified measure along the geometry. It is equivalent to Oracle's SDO_LRS.LOCATE_PT.
geometry | Geometry to measure |
measure | the distance along the geometry |
|
static |
Create a Point located at the specified 'measure' distance along a Geometry, and offset to the left of the Geometry by the specified offset distance. This is achieved through using the JTS LengthIndexedLine.extractPoint(measure) method for finding the coordinates at the specified measure along the geometry. It is equivalent to Oracle's SDO_LRS.LOCATE_PT.
layer | Layer the geometry is contained by, and is used to access the GeometryFactory for creating the Point |
geometry | Geometry to measure |
measure | the distance along the geometry |
offset | the distance offset to the left (or right for negative numbers) |
|
static |
Find the coordinate located at the specified 'measure' distance along a Geometry, and offset to the left of the Geometry by the specified offset distance. This is achieved through using the JTS LengthIndexedLine.extractPoint(measure) method for finding the coordinates at the specified measure along the geometry. It is equivalent to Oracle's SDO_LRS.LOCATE_PT.
layer | Layer the geometry is contained by, and is used to access the GeometryFactory for creating the Point |
geometry | Geometry to measure |
measure | the distance along the geometry |
offset | the distance offset to the left (or right for negative numbers) |