PyMacroKernelPlugin.CMacroTrajectory

class CMacroTrajectory

Inheritance diagram of PyMacroKernelPlugin.CMacroTrajectory

Synopsis

Methods

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

Detailed Description

The macro representation of a SuperNodeTrajectory in the macro model when doing an assignment.

__init__(iTrajectory, iModelConnection)
Parameters:
  • iTrajectoryGKSuperNodeTrajectory

  • iModelConnectionGKModelConnection

getAdditionalVolume()
Return type:

float

get the additional volume

getCapacity()
Return type:

float

get Capacity

getCostFunction()
Return type:

GKFunctionCost

Get TPF

getDestination()
Return type:

GKSection

Get Destination

getJDFunction()
Return type:

GKFunctionCost

Get JDF

getNode()
Return type:

GKSuperNode

Get SuperNode

getOrigin()
Return type:

GKSection

Get Origin

getSpeed()
Return type:

float

get the allowed speed of this turn [km/h]

getUserDefinedCost()
Return type:

float

Get the user-defined cost

getUserDefinedCost2()
Return type:

float

Get the user-defined cost 2

getUserDefinedCost3()
Return type:

float

Get the user-defined cost 3

length3D()
Return type:

float

get the turn length in meters