simulation.utils.road.sections.line_tuple module

Summary

Classes:

LineTuple

A line tuple can be created from the lines of a section.

Reference

class LineTuple(left, middle, right)

Bases: tuple

A line tuple can be created from the lines of a section.

_asdict()

Return a new dict which maps field names to their values.

_field_defaults = {}
_fields = ('left', 'middle', 'right')
_fields_defaults = {}
classmethod _make(iterable)

Make a new LineTuple object from a sequence or iterable

_replace(**kwds)

Return a new LineTuple object replacing specified fields with new values

left

Left line of the section.

Type

left (Line)

middle

Middle line of the section.

Type

middle (Line)

right

Right line of the section.

Type

right (Line)