class GenericsModuleBuilder: Any

Builder for city objects of the CityGML Generics module.

Constructors

<init>

constructor(configuration: Roadspaces2CitygmlConfiguration, identifierAdder: IdentifierAdder)

Builder for city objects of the CityGML Generics module.

Parameters

Name Description
configuration: Roadspaces2CitygmlConfiguration
identifierAdder: IdentifierAdder

Methods

createGenericOccupiedSpaceFeature

fun createGenericOccupiedSpaceFeature(roadspaceObject: RoadspaceObject): Result<GenericOccupiedSpace, Exception>

Parameters

Name Description
roadspaceObject: RoadspaceObject

ReturnValue

Name Description
Result<GenericOccupiedSpace, Exception>

createGenericOccupiedSpaceFeature

fun createGenericOccupiedSpaceFeature(id: LaneIdentifier, name: String, abstractGeometry: AbstractGeometry3D, attributes: AttributeList): Result<GenericOccupiedSpace, Exception>

Parameters

Name Description
id: LaneIdentifier
name: String
abstractGeometry: AbstractGeometry3D
attributes: AttributeList

ReturnValue

Name Description
Result<GenericOccupiedSpace, Exception>

createGenericOccupiedSpaceFeature

fun createGenericOccupiedSpaceFeature(id: RoadspaceIdentifier, name: String, abstractGeometry: AbstractGeometry3D, attributes: AttributeList): Result<GenericOccupiedSpace, Exception>

Parameters

Name Description
id: RoadspaceIdentifier
name: String
abstractGeometry: AbstractGeometry3D
attributes: AttributeList

ReturnValue

Name Description
Result<GenericOccupiedSpace, Exception>