Class NFENetworkElementGeoObject

  • All Implemented Interfaces:
    java.lang.Cloneable, GeoObject

    public class NFENetworkElementGeoObject
    extends NFEGeoObject
    A GeoObject representation of a network element. It holds a reference to a network element.
    • Constructor Detail

      • NFENetworkElementGeoObject

        public NFENetworkElementGeoObject​(NFENetworkElement netElem)
        Allocates a new network element GeoObject
        Parameters:
        netElem - the GeoObject's network element
    • Method Detail

      • refreshGeometry

        public void refreshGeometry()
        Description copied from class: NFEGeoObject
        Updates the geoobject's geometry. Do not call this method directly if the geometry is spatial-indexed
        Specified by:
        refreshGeometry in class NFEGeoObject
      • getNetworkElement

        public NFENetworkElement getNetworkElement()
        Gets the GeoObject's network element
        Returns:
        a network element object
      • isLink

        public boolean isLink()
        Tells whether the GeoObject's network element is a link
        Returns:
        true if the network element is a link
      • isNode

        public boolean isNode()
        Tells whether the GeoObject's network element is a node
        Returns:
        true if the network element is a node