org.jscience.ml.gml.infoset
Interface Coordinate
- All Known Implementing Classes:
- CoordinateImpl
public interface Coordinate
Defines the interface every GML coordinate must implement. Coordinates (1
or more) comprise a coordinate tuple. Note that Coordinate doesn't have a
GML counterpart, because coordinates may be expressed in two different ways
in GML. To circumvent this duality, the Coordinate class is made
independent of XML, an abstract entity created and owned by Coord or
Coordinates GML constructs.
|
Method Summary |
java.math.BigDecimal |
getValue()
Provides access to the value of this coordinate. |
getValue
java.math.BigDecimal getValue()
- Provides access to the value of this coordinate. The value is
BigDecimal because it doesn't lose precision. One may obtain other
representations from BigDecimal.
- Returns:
- Returns the value as BigDecimal. Cannot be null.