Interface FeatureLayer

  • All Known Implementing Classes:
    FeatureLayerImpl

    public interface FeatureLayer
    Features associated with elements in a network, sub-network or a partition, in a feature layer.
    Since:
    12.1
    • Method Detail

      • addFeature

        void addFeature​(Feature feature)
        Adds a feature to the feature layer.
        Parameters:
        feature -
      • getFeature

        Feature getFeature​(long featureId)
        Returns the feature with the input feature ID.
        Parameters:
        featureId -
        Returns:
      • getFeatures

        Feature[] getFeatures()
        Returns all the features in this feature layer.
        Returns:
      • getFeaturesOnNode

        Feature[] getFeaturesOnNode​(long nodeId)
        Returns the features associated with the input node.
        Parameters:
        nodeId - ID of the node
        Returns:
      • getFeaturesOnLink

        Feature[] getFeaturesOnLink​(long linkId)
        Returns the features associated with the input link.
        Parameters:
        linkId - ID of the link
        Returns:
      • getFeatureIds

        long[] getFeatureIds()
        Returns all the feature IDs in this feature layer.
        Returns: