public interface INode extends IPrimitive, ILatLon
MAX_TAG_LENGTH| Modifier and Type | Method and Description |
|---|---|
default int |
compareTo(IPrimitive o) |
LatLon |
getCoor()
Returns lat/lon coordinates of this node.
|
default java.lang.String |
getDisplayName(NameFormatter formatter)
Replies the display name of a primitive formatted by
formatter |
default EastNorth |
getEastNorth()
Replies the projected east/north coordinates.
|
default boolean |
isConnectionNode()
Check whether this node connects 2 ways.
|
boolean |
isReferredByWays(int n)
Return true, if this primitive is referred by at least n ways
|
void |
setCoor(LatLon coor)
Sets lat/lon coordinates of this node.
|
void |
setEastNorth(EastNorth eastNorth)
Sets east/north coordinates of this node.
|
accept, getBBox, getChangesetId, getDataSet, getDisplayType, getId, getInterestingTags, getLocalName, getName, getOsmId, getOsmPrimitiveId, getPrimitiveId, getRawTimestamp, getReferrers, getReferrers, getTimestamp, getUser, getVersion, hasDirectionKeys, hasSameInterestingTags, isAnnotated, isDeleted, isDisabled, isDisabledAndHidden, isDrawable, isHighlighted, isIncomplete, isMemberOfSelected, isModified, isMultipolygon, isNewOrUndeleted, isOuterMemberOfSelected, isPreserved, isSelectable, isSelected, isTagged, isTimestampEmpty, isUndeleted, isUsable, isVisible, reversedDirection, setChangesetId, setDeleted, setHighlighted, setModified, setOsmId, setRawTimestamp, setTimestamp, setUser, setVisible, visitReferrersget, getKeys, getNumKeys, hasKey, hasKeys, hasTag, hasTag, hasTag, hasTag, hasTagDifferent, hasTagDifferent, hasTagDifferent, isKeyFalse, isKeyTrue, keySet, put, put, remove, removeAll, setKeys, visitKeysgetType, getUniqueId, isNewclearCachedStyle, declareCachedStyleUpToDate, getCachedStyle, isCachedStyleUpToDate, setCachedStylegetEastNorth, isLatLonKnown, lat, lonLatLon getCoor()
void setCoor(LatLon coor)
coor - lat/lon coordinates of this nodedefault EastNorth getEastNorth()
Uses the global projection to project the lat/lon-coordinates.
null if ILatLon.isLatLonKnown() is false.void setEastNorth(EastNorth eastNorth)
eastNorth - east/north coordinates of this nodedefault boolean isConnectionNode()
isReferredByWays(int)boolean isReferredByWays(int n)
n - Minimal number of ways to return true. Must be positivetrue if this primitive is referred by at least n waysdefault int compareTo(IPrimitive o)
compareTo in interface java.lang.Comparable<IPrimitive>default java.lang.String getDisplayName(NameFormatter formatter)
IPrimitiveformattergetDisplayName in interface IPrimitiveformatter - formatter to use