public class TLcdOGCDistance extends TLcdDataObject
<ogc:Distance>
.
According to the OGC Filter specification, the content of the <Distance>
element represents the magnitude of the
distance and the units attribute is used to specify the units of measure.Constructor and Description |
---|
TLcdOGCDistance()
Default constructor.
|
TLcdOGCDistance(double aValue,
TLcdDistanceUnit aUnits)
Constructs an instance for a given distance and units.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
TLcdDistanceUnit |
getUnits()
Gets the distance units.
|
double |
getValue()
Gets the distance.
|
int |
hashCode() |
void |
setUnits(TLcdDistanceUnit aUnits)
Sets the distance units.
|
void |
setValue(double aValue)
Sets the distance.
|
public TLcdOGCDistance()
public TLcdOGCDistance(double aValue, TLcdDistanceUnit aUnits)
aValue
- the given distance.aUnits
- the given distance units.public double getValue()
public void setValue(double aValue)
aValue
- the distance.public TLcdDistanceUnit getUnits()
public void setUnits(TLcdDistanceUnit aUnits)
aUnits
- the distance units.