PyANGKernel.GKSectionChangeGeoCmd

class GKSectionChangeGeoCmd

A command to perform a geometrical change on a section

Details

Section geometry will be changed: stores any information that depends of the geometry ( lateral length, detector position … ) to be able to recover it after an undo.

AND: this command will adjust also the parameters of these geometry dependent objects to be able to “live” in the new situation.

Inheritance diagram of PyANGKernel.GKSectionChangeGeoCmd

Inherited by: GKSectionLateralNewCmd, GKSectionChangeNbLanesCmd, GKSectionLateralDelCmd

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__()
getSection()
Return type:

GKSection

setLeftLaneCreated(value)
Parameters:

value – bool

setLeftLaneRemoved(value)
Parameters:

value – bool

setSection(asection)
Parameters:

asectionGKSection