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
    • Method Detail

      • 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