PyANGKernel.GKSectionNewCmd¶
- class GKSectionNewCmd¶
Command to create a new Section
Synopsis¶
Methods¶
def
__init__()def
setPoints()def
setRoadType()
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:
nblanes – int
laneWidth – float
curve –
GKBezierCurvelayer –
GKLayer
sets the main section parameters to create it as a Bezier Curve
- setPoints(nblanes, laneWidth, points[, layer=None])
sets the main section parameters to create it as a polyline
- setRoadType(type)¶
- Parameters:
type –
GKRoadType
Sets the road type. If the road type is not set, the default model road type will be set