RoadspacesModel

class RoadspacesModel(val header: Header, roadspaces: List<Roadspace>, junctions: List<Junction>) : AbstractModel

The RoadspacesModel is a parametric implementation of the objects within a road space and is capable of generating surface based representations. Therefore, it can serve as intermediate model, as it can read the parametric modeling approach of OpenDRIVE and generate the surface based modeling approach of CityGML.

Constructors

Link copied to clipboard
constructor(header: Header, roadspaces: List<Roadspace>, junctions: List<Junction>)

Properties

Link copied to clipboard
Link copied to clipboard

Identifiers of all available junctions.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Identifiers of all available roadspace.

Functions

Link copied to clipboard
fun buildLongitudinalFillerSurfaceGeometry(laneId: LaneIdentifier, successorLaneId: LaneIdentifier, road: Road, successorRoad: Road): Option<AbstractSurface3D>

Returns the geometry of a longitudinal filler surface between the current lane and the successor lane.

Returns a list of Junctions which contain at least one Roadspace with the name roadspaceName.

Link copied to clipboard

Returns all available Junctions.

Link copied to clipboard

Returns a list of all available Lanes (without center lanes).

Returns a list of all RoadspaceIdentifier of roadspaces which are not located in a Junction and have the roadspaceName.

Link copied to clipboard

Returns a sorted list of all raodspace names.

Link copied to clipboard

Returns all available Roadspaces.

Link copied to clipboard

Returns a list of all Roadspaces that are located in a junction.

Link copied to clipboard

Returns a list of all Roadspaces that are not located in a junction.

Link copied to clipboard

Returns the Junction with specific junctionIdentifier.

Link copied to clipboard

Returns an identifier list of lanes that precede this lane.

Link copied to clipboard

Returns the Roadspace with specific roadspaceIdentifier.

Link copied to clipboard

Returns a list of Roadspaces that belong to the junction with junctionIdentifier.

Link copied to clipboard

Returns an identifier list of lanes that follow this lane.