populateLod2Geometry

fun AbstractSpace.populateLod2Geometry(geometryTransformer: GeometryTransformer): Either<GeometryTransformerException, Unit>

Populates the LOD2 geometry of an AbstractSpace object with the source geometries of the GeometryTransformer. Only the first available geometry type is populated, with the prioritization order being: solid, multiSurface, multiCurve.

Return

Either.Right is returned, if a geometry has been populated; Either.Left, if no adequate geometry could be assigned

Parameters

geometryTransformer

source geometries