class GeometryTransformer: Any

Generates a surface based geometry representation for CityGML by visiting the geometry class.

Fields

Name Description
var rotation: Option<Rotation3D>
var height: Option<Double>
var diameter: Option<Double>
val parameters: Roadspaces2CitygmlParameters

parameters for the geometry transformation, such as discretization step sizes

Constructors

<init>

constructor(parameters: Roadspaces2CitygmlParameters)

Generates a surface based geometry representation for CityGML by visiting the geometry class.

Parameters

Name Description
parameters: Roadspaces2CitygmlParameters

parameters for the geometry transformation, such as discretization step sizes

Methods

getSolid

fun getSolid(): Option<SolidProperty>

Returns the result of the created solid geometry. If no solid geometry is available, an IllegalStateException is thrown.

ReturnValue

Name Description
Option<SolidProperty>

getMultiSurface

fun getMultiSurface(): Option><Either<GeometryException.BoundaryRepresentationGenerationError, MultiSurfaceProperty>>

Returns the result of the created multi surface geometry. If no multi surface geometry is available, an IllegalStateException is thrown.

ReturnValue

Name Description
Option><Either<GeometryException.BoundaryRepresentationGenerationError, MultiSurfaceProperty>>

getMultiCurve

fun getMultiCurve(): Option><Either<GeometryException, MultiCurveProperty>>

Returns the result of the created multi curve geometry. If no multi curve geometry is available, an IllegalStateException is thrown.

ReturnValue

Name Description
Option><Either<GeometryException, MultiCurveProperty>>

getPoint

fun getPoint(): Option<PointProperty>

Returns the result of the created point geometry. If no point geometry is available, an IllegalStateException is thrown.

ReturnValue

Name Description
Option<PointProperty>

getImplicitGeometry

fun getImplicitGeometry(): Option<ImplicitGeometryProperty>

Returns the result of the created implicit geometry. If no implicit geometry is available, an IllegalStateException is thrown.

ReturnValue

Name Description
Option<ImplicitGeometryProperty>

getSolidCutoutOrSurface

fun getSolidCutoutOrSurface(vararg solidFaceSelection: FaceType): Option><Either<GeometryException.BoundaryRepresentationGenerationError, MultiSurfaceProperty>>

Returns either a cutout of a solid geometry (if it exists) or a MultiSurfaceProperty itself (if it exists).

Parameters

Name Description
vararg solidFaceSelection: FaceType

list of FaceType to be cutout of a solid geometry

ReturnValue

Name Description
Option><Either<GeometryException.BoundaryRepresentationGenerationError, MultiSurfaceProperty>>

cutout of a solid geometry or a MultiSurfaceProperty

getSolidCutout

fun getSolidCutout(vararg faceSelection: FaceType): Option<MultiSurfaceProperty>

Returns a single MultiSurfaceProperty constructed of a solid's polygons which have been filtered by FaceType.

Parameters

Name Description
vararg faceSelection: FaceType

list of relevant FaceType

ReturnValue

Name Description
Option<MultiSurfaceProperty>

MultiSurfaceProperty constructed of selected polygons from a solid geometry

getIndividualSolidCutouts

fun getIndividualSolidCutouts(vararg faceSelection: FaceType): Option><NonEmptyList<MultiSurfaceProperty>>

Returns a list of individual MultiSurfaceProperty, whereas each is based on solid's polygon filtered by FaceType.

Parameters

Name Description
vararg faceSelection: FaceType

list of relevant FaceType

ReturnValue

Name Description
Option><NonEmptyList<MultiSurfaceProperty>>

list of MultiSurfaceProperty, each constructed from an individual polygon of the solid geometry

visit

fun visit(vector3D: Vector3D)

Parameters

Name Description
vector3D: Vector3D

ReturnValue

Name Description
Unit

visit

fun visit(abstractCurve3D: AbstractCurve3D)

Parameters

Name Description
abstractCurve3D: AbstractCurve3D

ReturnValue

Name Description
Unit

visit

fun visit(abstractSurface3D: AbstractSurface3D)

Parameters

Name Description
abstractSurface3D: AbstractSurface3D

ReturnValue

Name Description
Unit

visit

fun visit(circle3D: Circle3D)

Parameters

Name Description
circle3D: Circle3D

ReturnValue

Name Description
Unit

visit

fun visit(parametricBoundedSurface3D: ParametricBoundedSurface3D)

Parameters

Name Description
parametricBoundedSurface3D: ParametricBoundedSurface3D

ReturnValue

Name Description
Unit

visit

fun visit(abstractSolid3D: AbstractSolid3D)

Parameters

Name Description
abstractSolid3D: AbstractSolid3D

ReturnValue

Name Description
Unit

visit

fun visit(cylinder3D: Cylinder3D)

Parameters

Name Description
cylinder3D: Cylinder3D

ReturnValue

Name Description
Unit

visit

fun visit(parametricSweep3D: ParametricSweep3D)

Parameters

Name Description
parametricSweep3D: ParametricSweep3D

ReturnValue

Name Description
Unit

visit

fun visit(abstractGeometry3D: AbstractGeometry3D)

Parameters

Name Description
abstractGeometry3D: AbstractGeometry3D

ReturnValue

Name Description
Unit

CompanionObject

GeometryTransformer

class GeometryTransformer: Any

Generates a surface based geometry representation for CityGML by visiting the geometry class.

Methods

of

fun of(roadspaceObject: RoadspaceObject, parameters: Roadspaces2CitygmlParameters): GeometryTransformer

Parameters

Name Description
roadspaceObject: RoadspaceObject
parameters: Roadspaces2CitygmlParameters

ReturnValue

Name Description
GeometryTransformer