Interface ILcdGML3LinearRing
- All Superinterfaces:
ILcdGML3AbstractGeometry
,ILcdGML3AbstractGML
,ILcdGML3AbstractRing
,ILcdGML3SrsInformationGroup
,ILcdGML3SrsReferenceGroup
,ILcdGML3StandardObjectProperties
Deprecated.
Interface for the
gml:LinearRingType
type.
A LinearRing is defined by four or more coordinate tuples, with linear interpolation between
them; the first and last coordinates must be coincident.
GML supports two different ways to specify the control points of a linear ring. - 1. A sequence of "pos" (DirectPositionType) or "pointProperty" (PointPropertyType) elements. "pos" elements are control points that are only part of this ring, "pointProperty" elements contain a point that may be referenced from other geometry elements or reference another point defined outside of this ring (reuse of existing points).
- 2. The "posList" element allows for a compact way to specify the coordinates of the control points, if all control points are in the same coordinate reference systems and belong to this ring only. The number of direct positions in the list must be at least four.
-
Method Summary
Modifier and TypeMethodDescriptiongetPointProperty
(int aIndex) Deprecated.Returns the point property at the given index.int
Deprecated.Returns the number of point properties contained in this linear ring.getPos
(int aIndex) Deprecated.Returns the direct position at the given index.int
Deprecated.Returns the number of positions contained in this linear ring.Deprecated.Returns the direct position list contained in this linear ring.void
setPointProperties
(ILcdGML3PointProperty[] aPointProperties) Deprecated.Sets the array of point properties that define this linear ring.void
setPos
(ILcdGML3DirectPosition[] aPos) Deprecated.Sets the array of positions that define this linear ring.void
setPosList
(ILcdGML3DirectPositionList aPosList) Deprecated.Sets the direct position list that defines this linear ring.Methods inherited from interface com.luciad.format.gml3.model.base.ILcdGML3AbstractGML
getId, setId
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
Methods inherited from interface com.luciad.format.gml3.model.base.ILcdGML3StandardObjectProperties
getDescription, getMetaDataProperty, getMetaDataPropertyCount, getName, getNameCount, setDescription, setMetaDataProperties, setNames
-
Method Details
-
getPos
Deprecated.Returns the direct position at the given index.- Parameters:
aIndex
- the index of the direct position to be returned.- Returns:
- the direct position at the given index.
- Throws:
IndexOutOfBoundsException
- ifaIndex < 0 || aIndex >= getPosCount()
-
getPosCount
int getPosCount()Deprecated.Returns the number of positions contained in this linear ring.- Returns:
- the number of positions contained in this linear ring.
-
getPointProperty
Deprecated.Returns the point property at the given index.- Parameters:
aIndex
- the index of the point property to be returned.- Returns:
- the point property at the given index.
- Throws:
IndexOutOfBoundsException
- ifaIndex < 0 || aIndex >= getPointPropertyCount()
-
getPointPropertyCount
int getPointPropertyCount()Deprecated.Returns the number of point properties contained in this linear ring.- Returns:
- the number of point properties contained in this linear ring.
-
getPosList
ILcdGML3DirectPositionList getPosList()Deprecated.Returns the direct position list contained in this linear ring.- Returns:
- the direct position list contained in this linear ring.
-
setPos
Deprecated.Sets the array of positions that define this linear ring.- Parameters:
aPos
- the array of positions that define this linear ring.
-
setPointProperties
Deprecated.Sets the array of point properties that define this linear ring.- Parameters:
aPointProperties
- the array of point properties that define this linear ring.
-
setPosList
Deprecated.Sets the direct position list that defines this linear ring.- Parameters:
aPosList
- the direct position list that defines this linear ring.
-
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
.