public class TemporaryPartialStreetEdge extends PartialStreetEdge implements TemporaryEdge
Edge.ValidVertexTypesparentEdgeANY_PLATFORM_MASK, bicycleSafetyFactor, CLASS_CROSSING, CLASS_LINK, CLASS_OTHER_PLATFORM, CLASS_OTHERPATH, CLASS_STREET, CLASS_TRAIN_PLATFORM, CROSSING_CLASS_MASK, DEFAULT_CAR_SPEED, walkComfortScore, wayId| Constructor and Description | 
|---|
TemporaryPartialStreetEdge(StreetEdge parentEdge,
                          StreetVertex v1,
                          StreetVertex v2,
                          org.locationtech.jts.geom.LineString geometry,
                          I18NString name,
                          double length)  | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
getId()
Have the ID of their parent. 
 | 
int | 
getInAngle()
Have the inbound angle of  their parent. 
 | 
int | 
getOutAngle()
Have the outbound angle of  their parent. 
 | 
StreetEdge | 
getParentEdge()  | 
protected List<TurnRestriction> | 
getTurnRestrictions(Graph graph)
Have the turn restrictions of  their parent. 
 | 
boolean | 
isEquivalentTo(Edge e)
This implementation makes it so that TurnRestrictions on the parent edge are applied to this edge as well. 
 | 
boolean | 
isPartial()
Partial edges are always partial. 
 | 
boolean | 
isReverseOf(Edge e)
Returns true if this edge is the reverse of another. 
 | 
boolean | 
isRoundabout()
Edges are not roundabouts by default. 
 | 
boolean | 
isTrivial()
Returns true if this edge is trivial - beginning and ending at the same point. 
 | 
String | 
toString()  | 
calculateSpeed, clone, getElevationProfile, getMaxSlope, getSlopeSpeedEffectiveLength, getSlopeWalkSpeedEffectiveLength, getSlopeWorkCostEffectiveLength, hasPackedElevationProfile, isElevationFlattened, setElevationProfileaddCarNetwork, addVehicleNetwork, calculateLengthFromGeometry, calculateMicromobilitySpeed, canTraverse, canTraverseIncludingBarrier, canTurnOnto, containsCarNetwork, containsVehicleNetwork, getBicycleSafetyFactor, getCarNetworks, getCarSpeed, getDistance, getEndOsmNodeId, getFloatingCarDropoffSuitability, getFloatingVehicleDropoffSuitability, getGeometry, getName, getName, getOsmTags, getPermission, getRawName, getRollingResistanceCoefficient, getStartOsmNodeId, getStreetClass, getTNCStopSuitability, getVehicleNetworks, getWalkComfortScore, hasBogusName, isBack, isNoThruTraffic, isSlopeOverride, isStairs, isWheelchairAccessible, setBack, setBicycleSafetyFactor, setCarNetworks, setCarSpeed, setFloatingCarDropoffSuitability, setFloatingVehicleDropoffSuitability, setHasBogusName, setName, setNoThruTraffic, setOsmTags, setPermission, setRoundabout, setSlopeOverride, setStairs, setStreetClass, setTNCStopSuitability, setVehicleNetworks, setWalkComfortScore, setWheelchairAccessible, shareData, split, timeLowerBound, traverse, weightLowerBoundgetAzimuth, getDirection, getDisplayGeometry, getFromVertex, getToVertex, getTrip, getValidVertexTypes, hashCode, optimisticTraverse, vertexTypesValidpublic TemporaryPartialStreetEdge(StreetEdge parentEdge, StreetVertex v1, StreetVertex v2, org.locationtech.jts.geom.LineString geometry, I18NString name, double length)
public boolean isPartial()
isPartial in class PartialStreetEdgepublic int getId()
getId in class PartialStreetEdgepublic int getInAngle()
getInAngle in class PartialStreetEdgepublic int getOutAngle()
getOutAngle in class PartialStreetEdgeprotected List<TurnRestriction> getTurnRestrictions(Graph graph)
getTurnRestrictions in class PartialStreetEdgepublic boolean isEquivalentTo(Edge e)
isEquivalentTo in class PartialStreetEdgepublic boolean isReverseOf(Edge e)
EdgeisReverseOf in class PartialStreetEdgepublic boolean isRoundabout()
EdgeisRoundabout in class PartialStreetEdgepublic boolean isTrivial()
isTrivial in class PartialStreetEdgepublic StreetEdge getParentEdge()
getParentEdge in class PartialStreetEdgepublic String toString()
toString in class PartialStreetEdgeCopyright © 2020. All rights reserved.