-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class EHIntersection implements Parcelable
This structure defines the intersection information.
-
-
Field Summary
Fields Modifier and Type Field Description private final EHDistancedistanceprivate final EHLinkentryLinkprivate final EHConnectionLinkexitLinkprivate final List<EHConnectionLink>connectionLinks
-
Constructor Summary
Constructors Constructor Description EHIntersection(EHDistance distance, EHLink entryLink, EHConnectionLink exitLink, List<EHConnectionLink> connectionLinks)
-
Method Summary
Modifier and Type Method Description final EHDistancegetDistance()The distance information of the intersection. final EHLinkgetEntryLink()The entry link of the intersection. final EHConnectionLinkgetExitLink()The exit link of the intersection. final List<EHConnectionLink>getConnectionLinks()The connection links of the intersection. -
-
Constructor Detail
-
EHIntersection
EHIntersection(EHDistance distance, EHLink entryLink, EHConnectionLink exitLink, List<EHConnectionLink> connectionLinks)
-
-
Method Detail
-
getDistance
final EHDistance getDistance()
The distance information of the intersection. It's the distance to the entry link's end point.
-
getEntryLink
final EHLink getEntryLink()
The entry link of the intersection.
-
getExitLink
final EHConnectionLink getExitLink()
The exit link of the intersection. It is only available when there is an exit link, otherwise is null.
-
getConnectionLinks
final List<EHConnectionLink> getConnectionLinks()
The connection links of the intersection.
-
-
-
-