public class TrafficIncidentCluster extends BaseTrafficIncident
Constructor and Description |
---|
TrafficIncidentCluster() |
Modifier and Type | Method and Description |
---|---|
void |
accept(TrafficIncidentVisitor visitor) |
protected void |
addIncident(TrafficIncident incident) |
com.tomtom.online.sdk.common.location.BoundingBox |
getBoundingBox()
Gets a bounding box encompassing all incidents in this cluster.
|
java.util.List<TrafficIncident> |
getIncidents()
Gets a collection of incidents that constitute this cluster.
|
getAdjustedPosition, getIconCategory, getId, getLengthMeters, getMagnitude, setIconCategory, setMagnitude
public com.tomtom.online.sdk.common.location.BoundingBox getBoundingBox()
public java.util.List<TrafficIncident> getIncidents()
public void accept(TrafficIncidentVisitor visitor)
protected void addIncident(TrafficIncident incident)