Package org.planit.utils.zoning
Interface Zone
-
- All Superinterfaces:
Comparable<Idable>,ExternalIdable,Idable
- All Known Subinterfaces:
OdZone,TransferZone
- All Known Implementing Classes:
OdZoneImpl,TransferZoneImpl,ZoneImpl
public interface Zone extends ExternalIdable
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 CentroidgetCentroid()Returns the centroid of this zoneorg.locationtech.jts.geom.PolygongetGeometry()Collect the geometry (outer border) of this zonevoidsetGeometry(org.locationtech.jts.geom.Polygon geometry)set the geometry (outer border) of this zone-
Methods inherited from interface org.planit.utils.id.ExternalIdable
getExternalId, getXmlId, hasExternalId, hasXmlId, setExternalId, setXmlId
-
Methods inherited from interface org.planit.utils.id.Idable
compareTo, getId, idEquals, idHashCode
-
-
-
-
Method Detail
-
getCentroid
Centroid getCentroid()
Returns the centroid of this zone- Returns:
- centroid of this zone
-
setGeometry
void setGeometry(org.locationtech.jts.geom.Polygon geometry)
set the geometry (outer border) of this zone- Parameters:
geometry- of the zone
-
getGeometry
org.locationtech.jts.geom.Polygon getGeometry()
Collect the geometry (outer border) of this zone- Returns:
- geometry of the zone
-
-