public abstract class StreetVertex extends Vertex
Constructor and Description |
---|
StreetVertex(Graph g,
String label,
org.locationtech.jts.geom.Coordinate coord,
I18NString streetName) |
StreetVertex(Graph g,
String label,
double x,
double y,
I18NString streetName) |
Modifier and Type | Method and Description |
---|---|
I18NString |
getIntersectionName(Locale locale)
Creates intersection name out of all outgoing names
This can be:
- name of the street if it is only 1
- unnamedStreed (localized in requested language) if it doesn't have a name
- corner of 0 and 1 (localized corner of zero and first street in the corner)
|
addIncoming, addOutgoing, azimuthTo, azimuthTo, getCoordinate, getDegreeIn, getDegreeOut, getIncoming, getIndex, getLabel, getLat, getLon, getMaxIndex, getName, getName, getOutgoing, getOutgoingStreetEdges, getX, getY, hashCode, initEdgeListsIfNeeded, removeIncoming, removeOutgoing, setIndex, toString
public StreetVertex(Graph g, String label, org.locationtech.jts.geom.Coordinate coord, I18NString streetName)
public StreetVertex(Graph g, String label, double x, double y, I18NString streetName)
public I18NString getIntersectionName(Locale locale)
locale
- Wanted localeCopyright © 2019. All rights reserved.