Package oracle.spatial.network.lod
Interface FeatureElement
-
- All Superinterfaces:
java.lang.Cloneable
- All Known Implementing Classes:
FeatureElementImpl
public interface FeatureElement extends java.lang.Cloneable
A feature element is a point or line defined on a network element. A network element is a node or link on a network. A feature element can be a point on a node, a point along a link, a link or partial link.- Since:
- 12.1
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
FeatureElement.FeatureElementType
A list of valid feature element types.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Object
clone()
Support cloneabledouble
getEndPercentage()
Returns the end percentage of the feature element.long
getLinkId()
Returns the ID of the link on which the feature element is defined.long
getNodeId()
Returns the ID of the node on which the feature element is defined.double
getStartPercentage()
Returns the start percentage of the feature element.FeatureElement.FeatureElementType
getType()
Returns the type of the feature element.
-
-
-
Method Detail
-
getType
FeatureElement.FeatureElementType getType()
Returns the type of the feature element.- Returns:
-
getLinkId
long getLinkId()
Returns the ID of the link on which the feature element is defined. This method is meaningless for feature elements of type POINT_ON_NODE.- Returns:
-
getNodeId
long getNodeId()
Returns the ID of the node on which the feature element is defined. This method is only meaningful for feature elements of type POINT_ON_NODE.- Returns:
-
getStartPercentage
double getStartPercentage()
Returns the start percentage of the feature element. For feature elements of type POINT_ON_NODE, the returned value is ignored; For feature elements of type POINT_ON_LINK, this method returns the percentage of the point along the link; For feature elements of type LINE, this method returns the start percentage of the line along the link.- Returns:
-
getEndPercentage
double getEndPercentage()
Returns the end percentage of the feature element. For feature elements of type POINT_ON_NODE, the returned value is ignored; For feature elements of type POINT_ON_LINK, the returned value is ignored; For feature elements of type LINE, this method returns the end percentage of the line along the link.- Returns:
-
clone
java.lang.Object clone() throws java.lang.CloneNotSupportedException
Support cloneable- Returns:
- cloned object
- Throws:
java.lang.CloneNotSupportedException
-
-