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

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    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 index aIndex.
    int
    Returns the number of relationships in which this S-57 object is involved.
    int
    Gets the type of the shape: POINT, LINE, AREA or NONE.
  • Field Details

  • 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 or NONE.
    • 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

      ILcdS57Relationship getRelationship(int aIndex)
      Returns the relationship at index aIndex.
      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())