Package com.luciad.format.gdf
Class TLcdGDFFeatureCategory
java.lang.Object
com.luciad.format.gdf.TLcdGDFFeatureCategory
This class represents all feature categories that are available within GDF.
It follows the typesafe enumeration pattern, as described in Effective Java, p104
- Since:
- 5.1
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TLcdGDFFeatureCategoryThis object represents the GDF area feature category.static final TLcdGDFFeatureCategoryThis object represents the GDF complex feature category.static final TLcdGDFFeatureCategoryThis object represents the GDF line feature category.static final TLcdGDFFeatureCategoryThis object represents the GDF point feature category. -
Method Summary
Modifier and TypeMethodDescriptionintgetCode()Returns the feature category code of this category.Returns a general description of this feature category.static TLcdGDFFeatureCategorygetFeatureCategory(int aCode) Returns the feature category that corresponds to the given code, as specified in the GDF data format.
-
Field Details
-
POINT
This object represents the GDF point feature category. -
LINE
This object represents the GDF line feature category. -
AREA
This object represents the GDF area feature category. -
COMPLEX
This object represents the GDF complex feature category.
-
-
Method Details
-
getFeatureCategory
Returns the feature category that corresponds to the given code, as specified in the GDF data format.- 1 = POINT
- 2 = LINE
- 3 = AREA
- 4 = COMPLEX
- Parameters:
aCode- the GDF feature category code of the feature category to be returned.- Returns:
- the TLcdGDFFeatureCategory object corresponding to the given feature category code.
-
getCode
public int getCode()Returns the feature category code of this category.- Returns:
- the feature category code of this category.
-
getDescription
Returns a general description of this feature category. The exact details of the representation are unspecified and are subject to change.- Returns:
- a general description of this feature category.
-