| java.lang.Object org.openjump.core.spatialAttributeOps.SpatialRelationOp
SpatialRelationOp | public class SpatialRelationOp (Code) | | contains some method to extract sets of features
which fullfill some spatial criterion
notes:
- use "intersects" only for polygon geometries (condition intersection area > 0).
- "contains" can be used for polygons and points (centroid from polygon is calculated)
author: sstein |
Method Summary | |
public static List | evaluateSpatial(int spatialRelation, Quadtree featureTree, Geometry g, double radius) | public static String | getName(int spatialRel) |
CONTAINS | final public static int CONTAINS(Code) | | |
COVEREDBY | final public static int COVEREDBY(Code) | | |
INTERSECTS | final public static int INTERSECTS(Code) | | |
evaluateSpatial | public static List evaluateSpatial(int spatialRelation, Quadtree featureTree, Geometry g, double radius)(Code) | | note: if input feature is point and spatial attribute is "intersect" or "covered by" the
candidate features are selected from a 10.0m radius
Parameters: spatialRelation - Parameters: featureTree - Parameters: g - Parameters: radius - ArrayList of Feature fullfilling the spatial criterion |
|
|