public interface FeatureLayer
Modifier and Type | Method and Description |
---|---|
void |
addFeature(Feature feature)
Adds a feature to the feature layer.
|
Feature |
getFeature(long featureId)
Returns the feature with the input feature ID.
|
long[] |
getFeatureIds()
Returns all the feature IDs in this feature layer.
|
Feature[] |
getFeatures()
Returns all the features in this feature layer.
|
Feature[] |
getFeaturesOnLink(long linkId)
Returns the features associated with the input link.
|
Feature[] |
getFeaturesOnNode(long nodeId)
Returns the features associated with the input node.
|
void addFeature(Feature feature)
feature
-Feature getFeature(long featureId)
featureId
-Feature[] getFeatures()
Feature[] getFeaturesOnNode(long nodeId)
nodeId
- ID of the nodeFeature[] getFeaturesOnLink(long linkId)
linkId
- ID of the linklong[] getFeatureIds()