Package oracle.spatial.network.lod
Interface FeatureLayer
-
- All Known Implementing Classes:
FeatureLayerImpl
public interface FeatureLayerFeatures associated with elements in a network, sub-network or a partition, in a feature layer.- Since:
- 12.1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddFeature(Feature feature)Adds a feature to the feature layer.FeaturegetFeature(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.
-
-
-
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:
-
-