code: @Pure
  	public RoadSegment getConnectableSegmentToFirstPoint(RoadPath path) {
  		assert path != null;
  		if (path.isEmpty()) {
  			return null;
  		}
  		RoadConnection first1 = getFirstPoint();
  		RoadConnection first2 = path.getFirstPoint();
  		RoadConnection last2 = path.getLastPoint();
  		first1 = first1.getWrappedRoadConnection();
  		first2 = first2.getWrappedRoadConnection();
  		last2 = last2.getWrappedRoadConnection();
  		if (first1.equals(first2)) {
  			return path.getFirstSegment();
  		}
  		if (first1.equals(last2)) {
  			return path.getLastSegment();
  		}
  		return null;
  	}
docs: Replies if the road segment of <var>path</var> (the first or the last in this order)
  that could be connected to the first point of the current path.
  
  @param path is the path from which a road segment should be read.
  @return the connectable segment from the <var>path</var>; or <code>null</code>
  if no connection is possible.
  @since 4.0