Interface Node

All Superinterfaces:
Feature

public interface Node extends Feature
A Feature that represents a single point.
  • Method Details

    • belongsToWay

      boolean belongsToWay()
      Checks whether this `Node` belongs to a `Way`.
      Returns:
      `true` if this `Node` forms part of a `Way`, or `false` if it is a stand-alone node
    • parentWays

      Features<Way> parentWays()
      Returns all `Way`s to which this `Node` belongs.
      Returns:
      a collection of ways, or an empty collection if this a stand-alone node