class GeometryTransformer: Any

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

Fields

Name Description
lateinit var solidProperty: SolidProperty
lateinit var multiSurfaceProperty: MultiSurfaceProperty
lateinit var lineStringProperty: LineStringProperty
lateinit var pointProperty: PointProperty
var height: Double
var diameter: Double
val parameters: Roadspaces2CitygmlParameters

parameters for the geometry transformation, such as discretization step sizes

Constructors

<init>

constructor(parameters: Roadspaces2CitygmlParameters, reportLogger: Logger)

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

reportLogger: Logger

Methods

getSolidProperty

fun getSolidProperty(): Result<SolidProperty, IllegalStateException>

ReturnValue

Name Description
Result<SolidProperty, IllegalStateException>

getMultiSurfaceProperty

fun getMultiSurfaceProperty(): Result<MultiSurfaceProperty, IllegalStateException>

ReturnValue

Name Description
Result<MultiSurfaceProperty, IllegalStateException>

getLineStringProperty

fun getLineStringProperty(): Result<LineStringProperty, IllegalStateException>

ReturnValue

Name Description
Result<LineStringProperty, IllegalStateException>

getPointProperty

fun getPointProperty(): Result<PointProperty, IllegalStateException>

ReturnValue

Name Description
Result<PointProperty, IllegalStateException>

getGeometryProperty

fun getGeometryProperty(): Result, IllegalStateException><GeometryProperty<*><>, IllegalStateException>

Returns the available corresponding CityGML GeometryProperty in the prioritization order: solid, multi surface, line string and point

ReturnValue

Name Description
Result, IllegalStateException><GeometryProperty<*><>, IllegalStateException>

isSetHeight

fun isSetHeight(): !height.isNaN()

ReturnValue

Name Description
!height.isNaN()

isSetDiameter

fun isSetDiameter(): !diameter.isNaN()

ReturnValue

Name Description
!diameter.isNaN()

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(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