Class Zone<T>
- java.lang.Object
-
- org.matsim.contrib.accessibility.gis.Zone<T>
-
-
Constructor Summary
Constructors Constructor Description Zone(org.locationtech.jts.geom.Geometry geometry)
Creates a new zone wrapping feature.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
getAttribute()
org.locationtech.jts.geom.Geometry
getGeometry()
Returns the default geometry of the wrapped feature.void
setAttribute(T attribute)
-
-
-
Constructor Detail
-
Zone
public Zone(org.locationtech.jts.geom.Geometry geometry)
Creates a new zone wrapping feature.- Parameters:
feature
- a feature of typeZone#FEATURE_TYPE_NAME
-
-
Method Detail
-
getGeometry
public org.locationtech.jts.geom.Geometry getGeometry()
Returns the default geometry of the wrapped feature.- Returns:
- the default geometry of the wrapped feature.
-
getAttribute
public T getAttribute()
-
setAttribute
public void setAttribute(T attribute)
-
-