PyANGKernel.GKSimEntity

class GKSimEntity

Simulation Entity

Details

Class to represent each one of the geometrical entities that the dynamic simulators will use to move vehicles on top of them.

Inherited by: GKTurningSimEntity

Synopsis

Methods

Virtual 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

class GKSimEntityType
__init__()
__init__(type)
Parameters:

typeGKSimEntityType

getPoints()
Return type:

GKPoints

getType()
Return type:

GKSimEntityType

getWidth()
Return type:

float

getXEnd()
Return type:

float

getXIni()
Return type:

float

abstractmethod iniPoints()

When reimplemented, this function must initialize the simulation entity points

abstractmethod iniXIniXEnd()

When reimplemented, this function must initialize the simulation entity xIni and xFin values

setPoints(points)
Parameters:

pointsGKPoints

setType(atype)
Parameters:

atypeGKSimEntityType

setWidth(value)
Parameters:

value – float

setXEnd(value)
Parameters:

value – float

setXIni(value)
Parameters:

value – float