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.intReturns 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.booleanReturns true if this feature is part of a split feature,false otherwise.booleanReturns true if this feature is repeated in another section,false otherwise.Methods inherited from interface com.luciad.shape.ILcdBounded
getBoundsMethods inherited from interface com.luciad.util.ILcdCloneable
cloneMethods inherited from interface com.luciad.datamodel.ILcdDataObject
getDataType, getValue, getValue, hasValue, hasValue, setValue, setValueMethods inherited from interface com.luciad.format.gdf.ILcdGDFFeature
getAttribute, getAttributeCount, getFeatureCategory, getFeatureClass, getFeatureKey, getRelationship, getRelationshipCount, getSourceDescriptionMethods inherited from interface com.luciad.shape.ILcdShape
contains2D, contains2D, contains3D, contains3D, getFocusPointMethods 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.
-