Package com.luciad.format.gdf
Interface ILcdGDFComplexFeature
- All Superinterfaces:
Cloneable
,ILcdBounded
,ILcdCloneable
,ILcdDataObject
,ILcdGDFFeature
,ILcdShape
,ILcdShapeList
,Serializable
Represents a GDF complex feature. A complex feature consists of zero or more other GDF features
(point, line, area or also complex features).
- Since:
- 5.1
-
Method Summary
Modifier and TypeMethodDescriptiongetFeature
(int aIndex) Returns the GDF feature at the given index.int
Returns the number of features contained in this complex feature.Returns the first bounding ILcdGDComplexFeature of this feature, or null if none exists.Returns the last bounding ILcdGDComplexFeature of this feature, or null if none exists.boolean
Returns true if this feature is part of a split feature,false otherwise.
boolean
Returns true if this feature is repeated in another section,false otherwise.
Methods inherited from interface com.luciad.shape.ILcdBounded
getBounds
Methods inherited from interface com.luciad.util.ILcdCloneable
clone
Methods inherited from interface com.luciad.datamodel.ILcdDataObject
getDataType, getValue, getValue, hasValue, hasValue, setValue, setValue
Methods inherited from interface com.luciad.format.gdf.ILcdGDFFeature
getAttribute, getAttributeCount, getFeatureCategory, getFeatureClass, getFeatureKey, getRelationship, getRelationshipCount, getSourceDescription
Methods inherited from interface com.luciad.shape.ILcdShape
contains2D, contains2D, contains3D, contains3D, getFocusPoint
Methods inherited from interface com.luciad.shape.ILcdShapeList
getShape, getShapeCount
-
Method Details
-
isPartOfSplitFeature
boolean isPartOfSplitFeature()Returns true if this feature is part of a split feature,false otherwise.
- Returns:
- true if this feature is part of a split feature,
false otherwise.
-
isRepeatedInOtherSection
boolean isRepeatedInOtherSection()Returns true if this feature is repeated in another section,false otherwise.
- Returns:
- true if this feature is repeated in another section,
false otherwise.
-
getFeatureCount
int getFeatureCount()Returns the number of features contained in this complex feature.- Returns:
- the number of features contained in this complex feature.
-
getFeature
Returns the GDF feature at the given index.- Parameters:
aIndex
- the index of the feature to be returned.- Returns:
- the feature at the given index.
- Throws:
IndexOutOfBoundsException
- ifaIndex < 0 || aIndex >= getFeatureCount()
.
-
getFromComplexFeature
ILcdGDFComplexFeature getFromComplexFeature()Returns the first bounding ILcdGDComplexFeature of this feature, or null if none exists.- Returns:
- the first bounding ILcdGDComplexFeature of this feature.
-
getToComplexFeature
ILcdGDFComplexFeature getToComplexFeature()Returns the last bounding ILcdGDComplexFeature of this feature, or null if none exists.- Returns:
- the last bounding ILcdGDComplexFeature of this feature.
-