class RoadPolyline extends MapPolyline implements RoadSegment {

	@Pure
	@Override
	public RoadConnection getOtherSidePoint(RoadConnection ref_point) {
		final RoadConnection pt = ref_point.getWrappedRoadConnection();
		if (getBeginPoint(StandardRoadConnection.class).equals(pt)) {
			return getEndPoint(StandardRoadConnection.class);
		}
		if (getEndPoint(StandardRoadConnection.class).equals(pt)) {
			return getBeginPoint(StandardRoadConnection.class);
		}
		return null;
	}

	public  RoadPolyline();
	public  RoadPolyline(AttributeCollection attributeProvider);
	public  RoadPolyline(UUID id);
	public  RoadPolyline(UUID id, AttributeCollection attributeProvider);

}