com.luciad.format.gml3.*
packages are replaced by new decoders and encoders in the
packages com.luciad.format.gml2.xml
, com.luciad.format.gml31.xml
and
com.luciad.format.gml32.xml
.public interface ILcdGML3DirectPosition extendsILcdGML3SrsReferenceGroup
gml:DirectPositionType
type.
DirectPosition instances hold the coordinates for a position within some coordinate reference
system (CRS). Since DirectPositions, as data types, will often be included in larger objects
(such as geometry elements) that have references to CRS, the "srsName" attribute will in general
be missing, if this particular DirectPosition is included in a larger element with such a
reference to a CRS. In this case, the CRS is implicitly assumed to take on the value of the
containing object's CRS.
(GML Specification, v3.1.0, paragraph 9.1.3.1)Modifier and Type | Method and Description |
---|---|
double |
getCoordinate(int aIndex)
Deprecated.
Returns the coordinate at the given index.
|
int |
getCoordinateCount()
Deprecated.
Returns the number of coordinates contained in this direct position.
|
void |
setCoordinates(double[] aDoubles)
Deprecated.
Sets the array of coordinates that define this position.
|
getSrsDimension, getSrsName, setSrsDimension, setSrsName
getAxisLabel, getAxisLabelCount, getUomLabel, getUomLabelCount, setAxisLabels, setUomLabels
double getCoordinate(int aIndex)
aIndex
- the index of the coordinate to be returned.IndexOutOfBoundsException
- if aIndex < 0 || aIndex >= getCoordinateCount()
int getCoordinateCount()
void setCoordinates(double[] aDoubles)
aDoubles
- the array of coordinates that define this position.