data class RoadObjectsObjectOutlines: OpendriveElement

Fields

Name Description
var outline: List<RoadObjectsObjectOutlinesOutline>

Constructors

<init>

constructor(outline: List<RoadObjectsObjectOutlinesOutline>)

Parameters

Name Description
outline: List<RoadObjectsObjectOutlinesOutline>

Methods

getPolyhedronsDefinedByRoadCorners

fun getPolyhedronsDefinedByRoadCorners(): outline.filter { it.isPolyhedronDefinedByRoadCorners() }

ReturnValue

Name Description
outline.filter { it.isPolyhedronDefinedByRoadCorners() }

getPolyhedronsDefinedByLocalCorners

fun getPolyhedronsDefinedByLocalCorners(): outline.filter { it.isPolyhedronDefinedByLocalCorners() }

ReturnValue

Name Description
outline.filter { it.isPolyhedronDefinedByLocalCorners() }

getLinearRingsDefinedByRoadCorners

fun getLinearRingsDefinedByRoadCorners(): outline.filter { it.isLinearRingDefinedByRoadCorners() }

ReturnValue

Name Description
outline.filter { it.isLinearRingDefinedByRoadCorners() }

getLinearRingsDefinedByLocalCorners

fun getLinearRingsDefinedByLocalCorners(): outline.filter { it.isLinearRingDefinedByLocalCorners() }

ReturnValue

Name Description
outline.filter { it.isLinearRingDefinedByLocalCorners() }

numberOfPolyhedrons

fun numberOfPolyhedrons(): getPolyhedronsDefinedByRoadCorners().size + getPolyhedronsDefinedByLocalCorners().size

ReturnValue

Name Description
getPolyhedronsDefinedByRoadCorners().size + getPolyhedronsDefinedByLocalCorners().size

numberOfLinearRings

fun numberOfLinearRings(): getLinearRingsDefinedByRoadCorners().size + getLinearRingsDefinedByLocalCorners().size

ReturnValue

Name Description
getLinearRingsDefinedByRoadCorners().size + getLinearRingsDefinedByLocalCorners().size

containsPolyhedrons

fun containsPolyhedrons(): numberOfPolyhedrons() > 0

ReturnValue

Name Description
numberOfPolyhedrons() > 0

containsLinearRings

fun containsLinearRings(): numberOfLinearRings() > 0

ReturnValue

Name Description
numberOfLinearRings() > 0

containsGeometries

fun containsGeometries(): Boolean

ReturnValue

Name Description
Boolean