public class Bounds
extends java.lang.Object
Constructor and Description |
---|
Bounds(edu.stanford.smi.protege.model.Instance instance)
Create Bounds and load OMTPolys from corresponding slots.
|
Modifier and Type | Method and Description |
---|---|
OMTPoly[] |
getExcluded() |
OMTPoly[] |
getIncluded() |
boolean |
inBounds(double lat,
double lon)
Check if point fulfill restrictions of Bounds.
|
void |
setExcluded(OMTPoly[] excluded) |
void |
setIncluded(OMTPoly[] included) |
public Bounds(edu.stanford.smi.protege.model.Instance instance)
instance
- of cls Boundspublic boolean inBounds(double lat, double lon)
lat
- - latitude of point in degreeslon
- - longitude of point in degreespublic OMTPoly[] getIncluded()
public void setIncluded(OMTPoly[] included)
public OMTPoly[] getExcluded()
public void setExcluded(OMTPoly[] excluded)