PyANGDTA.DTAGenericPath¶
- class DTAGenericPath¶
Synopsis¶
Methods¶
def
__init__()def
getIteration()def
getSlice()
Virtual methods¶
def
getDestination()def
getName()def
getType()
Note
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
- class DTAGenericPathError¶
- class DTAPathType¶
- __init__(other)¶
- Parameters:
other –
DTAGenericPath
- __init__(asliceCreation)
- Parameters:
asliceCreation – int
- getCostFromObject(manager, vehType, object, index[, threadNum=-1])¶
- Parameters:
manager –
DTAManagervehType –
DTAVehicleTypeobject –
DTASPObjectindex – int
threadNum – int
- Return type:
- getCostOverlaped(manager, otherPath, VehType, fromThisObject, indexRoute1, fromOtherObject, indexRoute2)¶
- Parameters:
manager –
DTAManagerotherPath –
DTAGenericPathVehType –
DTAVehicleTypefromThisObject –
DTASPObjectindexRoute1 – int
fromOtherObject –
DTASPObjectindexRoute2 – int
- Return type:
- getDestination()¶
- Return type:
- getIteration(manager)¶
- Parameters:
manager –
DTAManager- Return type:
- getName(manager)¶
- Parameters:
manager –
DTAManager- Return type:
- abstractmethod getNextIndexCnxa(manager, vehType, object, index)¶
- Parameters:
manager –
DTAManagervehType –
DTAVehicleTypeobject –
DTASPObjectindex – int
- Return type:
- getNextObjectPointer(manager, vehType, object, index)¶
- Parameters:
manager –
DTAManagervehType –
DTAVehicleTypeobject –
DTASPObjectindex – int
- Return type:
- getNumLeftTurns(manager, vehType, fromObject, indexRoute)¶
- Parameters:
manager –
DTAManagervehType –
DTAVehicleTypefromObject –
DTASPObjectindexRoute – int
- Return type:
- getNumRightTurns(manager, vehType, fromObject, indexRoute)¶
- Parameters:
manager –
DTAManagervehType –
DTAVehicleTypefromObject –
DTASPObjectindexRoute – int
- Return type:
- getObjectsToEnd(manager, fromObject, vehType, indexRoute)¶
- Parameters:
manager –
DTAManagerfromObject –
DTASPObjectvehType –
DTAVehicleTypeindexRoute – int
- Return type:
.std.vectorconst DTASPObject
- getRealDistanceFromObject(manager, vehType, fromObject, indexRoute[, toObject=None])¶
- Parameters:
manager –
DTAManagervehType –
DTAVehicleTypefromObject –
DTASPObjectindexRoute – int
toObject –
DTASPObject
- Return type:
- getRealDistanceOverlaped(manager, otherPath, VehType, fromThisObject, indexRoute1, fromOtherObject, indexRoute2)¶
- Parameters:
manager –
DTAManagerotherPath –
DTAGenericPathVehType –
DTAVehicleTypefromThisObject –
DTASPObjectindexRoute1 – int
fromOtherObject –
DTASPObjectindexRoute2 – int
- Return type:
- getSlice(manager)¶
- Parameters:
manager –
DTAManager- Return type:
- getTravelTimeFromObject(manager, vehType, object, index[, threadNum=-1])¶
- Parameters:
manager –
DTAManagervehType –
DTAVehicleTypeobject –
DTASPObjectindex – int
threadNum – int
- Return type:
- abstractmethod getType()¶
- Return type: