|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@UML(identifier="GM_Position",
specification=ISO_19107)
public interface PositionA type consisting of either a direct position or of a point from which a direct position shall be obtained. The use of this data type allows the identification of a position either directly as a coordinate (variant direct) or indirectly as a point (variant indirect).
Position like a C/C++ union of DirectPosition and
Point. Since unions are not allowed in Java, GeoAPI defines Position as the
base interface of the above. This leads to a slightly different semantic since ISO defines
getDirectPosition() as conditional, while GeoAPI defines it as mandatory by allowing
the method to return this.| Method Summary | |
|---|---|
DirectPosition |
getDirectPosition()
Returns the direct position. |
DirectPosition |
getPosition()
Deprecated. Renamed as getDirectPosition() for avoiding ambiguity. |
| Method Detail |
|---|
@Deprecated
@UML(identifier="direct",
obligation=CONDITIONAL,
specification=ISO_19107)
DirectPosition getPosition()
getDirectPosition() for avoiding ambiguity.
@UML(identifier="direct",
obligation=CONDITIONAL,
specification=ISO_19107)
DirectPosition getDirectPosition()
null, but may returns
this if invoked on an object which is already a DirectPosition instance.
this).
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||