Interface ILcdGML3DirectPosition
- All Superinterfaces:
ILcdGML3SrsInformationGroup
,ILcdGML3SrsReferenceGroup
Deprecated.
Interface for the
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)-
Method Summary
Modifier and TypeMethodDescriptiondouble
getCoordinate
(int aIndex) Deprecated.Returns the coordinate at the given index.int
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.Methods inherited from interface com.luciad.format.gml3.model.geometry.ILcdGML3SrsInformationGroup
getAxisLabel, getAxisLabelCount, getUomLabel, getUomLabelCount, setAxisLabels, setUomLabels
Methods inherited from interface com.luciad.format.gml3.model.geometry.ILcdGML3SrsReferenceGroup
getSrsDimension, getSrsName, setSrsDimension, setSrsName
-
Method Details
-
getCoordinate
double getCoordinate(int aIndex) Deprecated.Returns the coordinate at the given index.- Parameters:
aIndex
- the index of the coordinate to be returned.- Returns:
- the coordinate at the given index.
- Throws:
IndexOutOfBoundsException
- ifaIndex < 0 || aIndex >= getCoordinateCount()
-
getCoordinateCount
int getCoordinateCount()Deprecated.Returns the number of coordinates contained in this direct position.- Returns:
- the number of coordinates contained in this direct position.
-
setCoordinates
void setCoordinates(double[] aDoubles) Deprecated.Sets the array of coordinates that define this position.- Parameters:
aDoubles
- the array of coordinates that define this position.
-
com.luciad.format.gml3.*
packages are replaced by new decoders and encoders in the packagescom.luciad.format.gml2.xml
,com.luciad.format.gml31.xml
andcom.luciad.format.gml32.xml
.