I'm looking for a word that describes an origin and destination, regardless of the route taken.
The words I've come up with so far, route, trip, travel, etc. all imply a specific set of directions.
To clarify: I'm interested in a noun that describes a set of two points, one of which is an origin, and the other a destination. It does not care about how, or even if, the travel is made.
Additional clarification: The motivation for the question is the naming of a software class. This class holds information about traveling one point to another. Those travels can occur along multiple routes (another class), hence the desire for a path-agnostic noun.
Despite the original motivation, I am now very curious for a word to describe this, regardless of the software development context. The best I've found so far is 'commute.'
As a thought... I'd imagine the airline industry must have a term for this. Travel from Hong Kong to New York - one route may have a layover, another may be direct, though the origin and destination are the same.