PyANGKernel.GKGeometryConfiguration

class GKGeometryConfiguration

Objects that exist and do not exist in a scenario

Details

A geometry configuration is used to specify what objects are part of a scenario. They are used to support more than one possible network (design variants, future infrastructure…) in a single Aimsun document.

It contains two lists, one with objects that only exist in this configuration (existent) and a list of objects that will not exist in this configuration (non-existent).

The user will assign these network configurations to the scenario.

Inheritance diagram of PyANGKernel.GKGeometryConfiguration

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

__init__()
addExistent(obj[, force=false])
Parameters:

Add an existent object (by id)

addNonExistent(obj[, force=false])
Parameters:

Add an nonexistent object (by id)

clear()

removes all objects (existent and nonexistent)

existent(obj)
Parameters:

objGKObject

Return type:

bool

Returns wether the input object is existent

getExistent()
Return type:

.list of GKObject

getNonExistent()
Return type:

.list of GKObject

hasExistent()
Return type:

bool

hasNonExistent()
Return type:

bool

nonexistent(obj)
Parameters:

objGKObject

Return type:

bool

Returns wether the input object is nonexistent

removeExistent(obj)
Parameters:

objGKObject

Removes an existent object (by id)

removeNonExistent(obj)
Parameters:

objGKObject

Removes an nonexistent object (by id)