public class StreetWithElevationEdge extends StreetEdge
Edge.ValidVertexTypes
ANY_PLATFORM_MASK, bicycleSafetyFactor, CLASS_CROSSING, CLASS_LINK, CLASS_OTHER_PLATFORM, CLASS_OTHERPATH, CLASS_STREET, CLASS_TRAIN_PLATFORM, CROSSING_CLASS_MASK, DEFAULT_CAR_SPEED, wayId
Constructor and Description |
---|
StreetWithElevationEdge(StreetVertex v1,
StreetVertex v2,
org.locationtech.jts.geom.LineString geometry,
I18NString name,
double length,
StreetTraversalPermission permission,
boolean back)
Remember to call the
setElevationProfile(PackedCoordinateSequence, boolean) to initiate elevation data. |
StreetWithElevationEdge(StreetVertex v1,
StreetVertex v2,
org.locationtech.jts.geom.LineString geometry,
String name,
double length,
StreetTraversalPermission permission,
boolean back) |
Modifier and Type | Method and Description |
---|---|
StreetWithElevationEdge |
clone() |
PackedCoordinateSequence |
getElevationProfile() |
float |
getMaxSlope() |
double |
getSlopeSpeedEffectiveLength() |
double |
getSlopeWalkSpeedEffectiveLength()
The effective walk distance is adjusted to take the elevation into account.
|
double |
getSlopeWorkCostEffectiveLength() |
boolean |
isElevationFlattened() |
boolean |
setElevationProfile(PackedCoordinateSequence elev,
boolean computed) |
String |
toString() |
calculateLengthFromGeometry, calculateSpeed, canTraverse, canTraverseIncludingBarrier, canTurnOnto, getBicycleSafetyFactor, getCarSpeed, getDistance, getEndOsmNodeId, getGeometry, getInAngle, getName, getName, getOutAngle, getPermission, getRawName, getStartOsmNodeId, getStreetClass, getTurnRestrictions, hasBogusName, isBack, isNoThruTraffic, isRoundabout, isSlopeOverride, isStairs, isWheelchairAccessible, setBack, setBicycleSafetyFactor, setCarSpeed, setHasBogusName, setName, setNoThruTraffic, setPermission, setRoundabout, setSlopeOverride, setStairs, setStreetClass, setWheelchairAccessible, shareData, split, timeLowerBound, traverse, weightLowerBound
getAzimuth, getDirection, getDisplayGeometry, getFromVertex, getId, getToVertex, getTrip, getValidVertexTypes, hashCode, isEquivalentTo, isPartial, isReverseOf, optimisticTraverse, vertexTypesValid
public StreetWithElevationEdge(StreetVertex v1, StreetVertex v2, org.locationtech.jts.geom.LineString geometry, I18NString name, double length, StreetTraversalPermission permission, boolean back)
setElevationProfile(PackedCoordinateSequence, boolean)
to initiate elevation data.public StreetWithElevationEdge(StreetVertex v1, StreetVertex v2, org.locationtech.jts.geom.LineString geometry, String name, double length, StreetTraversalPermission permission, boolean back)
public StreetWithElevationEdge clone()
clone
in class StreetEdge
public boolean setElevationProfile(PackedCoordinateSequence elev, boolean computed)
public PackedCoordinateSequence getElevationProfile()
getElevationProfile
in class StreetEdge
public boolean isElevationFlattened()
isElevationFlattened
in class StreetEdge
public float getMaxSlope()
getMaxSlope
in class StreetEdge
public double getSlopeSpeedEffectiveLength()
getSlopeSpeedEffectiveLength
in class StreetEdge
public double getSlopeWorkCostEffectiveLength()
getSlopeWorkCostEffectiveLength
in class StreetEdge
public double getSlopeWalkSpeedEffectiveLength()
getSlopeWalkSpeedEffectiveLength
in class StreetEdge
public String toString()
toString
in class StreetEdge
Copyright © 2019. All rights reserved.