Package com.luciad.format.s57
Interface ILcdS57FeatureObject
- All Known Subinterfaces:
ILcdS57Object
,ILcdS57SoundingPoint
- All Known Implementing Classes:
TLcdS57Area
,TLcdS57FeatureObject
,TLcdS57Line
,TLcdS57Point
,TLcdS57SoundingPoint
public interface ILcdS57FeatureObject
An S-57 feature object.
An S-57 feature object can be of one of four different types (meta, cartographic, geo or
collection), can
have some attributes associated with it, and can optionally also have a geometry.
If a geometry is present, the feature object should implement
ILcdS57Object
.-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getGroup()
Returns the group to which the S-57 object belongs, this can be 1 (= skin of the earth) or 2 (= all other objects).Gets the identifier of this shape.getRelationship
(int aIndex) Returns the relationship at indexaIndex
.int
Returns the number of relationships in which this S-57 object is involved.int
getShape()
Gets the type of the shape:POINT
,LINE
,AREA
orNONE
.
-
Field Details
-
POINT
static final int POINT- See Also:
-
LINE
static final int LINE- See Also:
-
AREA
static final int AREA- See Also:
-
NONE
static final int NONE- See Also:
-
-
Method Details
-
getIdentifier
ILcdS57Identifier getIdentifier()Gets the identifier of this shape. -
getGroup
int getGroup()Returns the group to which the S-57 object belongs, this can be 1 (= skin of the earth) or 2 (= all other objects).- Returns:
- the group to which the S-57 object belongs
-
getShape
int getShape()Gets the type of the shape:POINT
,LINE
,AREA
orNONE
. -
getRelationshipCount
int getRelationshipCount()Returns the number of relationships in which this S-57 object is involved.- Returns:
- the number of relationships in which this S-57 object is involved.
-
getRelationship
Returns the relationship at indexaIndex
.- Parameters:
aIndex
- index of the relationship to return- Returns:
- the relationship at the specified position.
- Throws:
IndexOutOfBoundsException
- if the index is out of range (index < 0 || index >= getRelationshipCount()
)
-