PyANGKernel.GKSectionNewCmd

class GKSectionNewCmd

Command to create a new Section

Inheritance diagram of PyANGKernel.GKSectionNewCmd

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__()
setPoints(nblanes, laneWidth, curve[, layer=None])
Parameters:

sets the main section parameters to create it as a Bezier Curve

setPoints(nblanes, laneWidth, points[, layer=None])
Parameters:
  • nblanes – int

  • laneWidth – float

  • pointsGKPoints

  • layerGKLayer

sets the main section parameters to create it as a polyline

setRoadType(type)
Parameters:

typeGKRoadType

Sets the road type. If the road type is not set, the default model road type will be set