public class StreetWithElevationEdge extends StreetEdge
Edge.ValidVertexTypesANY_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, weightLowerBoundgetAzimuth, getDirection, getDisplayGeometry, getFromVertex, getId, getToVertex, getTrip, getValidVertexTypes, hashCode, isEquivalentTo, isPartial, isReverseOf, optimisticTraverse, vertexTypesValidpublic 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 StreetEdgepublic boolean setElevationProfile(PackedCoordinateSequence elev, boolean computed)
public PackedCoordinateSequence getElevationProfile()
getElevationProfile in class StreetEdgepublic boolean isElevationFlattened()
isElevationFlattened in class StreetEdgepublic float getMaxSlope()
getMaxSlope in class StreetEdgepublic double getSlopeSpeedEffectiveLength()
getSlopeSpeedEffectiveLength in class StreetEdgepublic double getSlopeWorkCostEffectiveLength()
getSlopeWorkCostEffectiveLength in class StreetEdgepublic double getSlopeWalkSpeedEffectiveLength()
getSlopeWalkSpeedEffectiveLength in class StreetEdgepublic String toString()
toString in class StreetEdgeCopyright © 2019. All rights reserved.