City Based Parking and Routing System API Documentation

RoadSystem.CreateLane Method 

Creates a new Lane object based on the specified type.

public ILane CreateLane(
   string type,
   int id
);

Parameters

type
The type of the Lane interface inheritor to create.
id
The id number to be assigned to the lane.

Return Value

A Lane object of the specified type and with the specified id number assigned.

Remarks

The Id number of a Lane object is not unique, uniqueness for lanes is achieved by the combination with their Road parent.

See Also

RoadSystem Class | CBPRS.Infrastructure Namespace