Interface INode

    • Method Detail

      • getCoor

        LatLon getCoor()
        Returns lat/lon coordinates of this node.
        Returns:
        lat/lon coordinates of this node
      • setCoor

        void setCoor​(LatLon coor)
        Sets lat/lon coordinates of this node.
        Parameters:
        coor - lat/lon coordinates of this node
      • setEastNorth

        void setEastNorth​(EastNorth eastNorth)
        Sets east/north coordinates of this node.
        Parameters:
        eastNorth - east/north coordinates of this node
      • isConnectionNode

        default boolean isConnectionNode()
        Check whether this node connects 2 ways.
        Returns:
        true if isReferredByWays(2) returns true
        Since:
        13669
        See Also:
        isReferredByWays(int)
      • isReferredByWays

        boolean isReferredByWays​(int n)
        Return true, if this primitive is referred by at least n ways
        Parameters:
        n - Minimal number of ways to return true. Must be positive
        Returns:
        true if this primitive is referred by at least n ways
        Since:
        13669
      • getDisplayName

        default java.lang.String getDisplayName​(NameFormatter formatter)
        Description copied from interface: IPrimitive
        Replies the display name of a primitive formatted by formatter
        Specified by:
        getDisplayName in interface IPrimitive
        Parameters:
        formatter - formatter to use
        Returns:
        the display name