public interface GeoArea extends Membership
Modifier and Type | Field and Description |
---|---|
static int |
CONTAINS
The referenced shape CONTAINS this area
|
static int |
DISJOINT
The referenced shape has no relation to this area
|
static int |
OVERLAPS
The referenced shape OVERLAPS this area
|
static int |
WITHIN
The referenced shape IS WITHIN this area
|
Modifier and Type | Method and Description |
---|---|
int |
getRelationship(GeoShape shape)
Find the spatial relationship between a shape and the current geo area.
|
isWithin, isWithin
static final int CONTAINS
static final int WITHIN
static final int OVERLAPS
static final int DISJOINT
int getRelationship(GeoShape shape)
shape
- is the shape to consider.Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.