Package org.planit.utils.network.virtual
Interface Zone
-
- All Known Implementing Classes:
ZoneImpl
public interface Zone
Zone 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 Centroid
getCentroid()
Returns the centroid of this zoneObject
getExternalId()
Returns the external id of this zonelong
getId()
Returns the unique id of this zoneboolean
hasExternalId()
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
-
-