Package org.planit.utils.network.virtual
Interface Zone
-
- All Known Implementing Classes:
ZoneImpl
public interface ZoneZone represent a geographical area with a centroid which in turn represent the single point of departure of all traffic in the zone- Author:
- markr
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CentroidgetCentroid()Returns the centroid of this zoneObjectgetExternalId()Returns the external id of this zonelonggetId()Returns the unique id of this zonebooleanhasExternalId()Returns whether this zone has its external Id set
-
-
-
Method Detail
-
getId
long getId()
Returns the unique id of this zone- Returns:
- id of this zone
-
getExternalId
Object getExternalId()
Returns the external id of this zone- Returns:
- the external id
-
hasExternalId
boolean hasExternalId()
Returns whether this zone has its external Id set- Returns:
- true if the external id has been set, false otherwise
-
getCentroid
Centroid getCentroid()
Returns the centroid of this zone- Returns:
- centroid of this zone
-
-