GeometryTransformer

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

Parameters

parameters

parameters for the geometry transformation, such as discretization step sizes

Constructors

Link copied to clipboard
constructor(parameters: Roadspaces2CitygmlParameters)

Types

Link copied to clipboard
object Companion
Link copied to clipboard

Types of faces according to their orientation.

Properties

Link copied to clipboard
var diameter: Option<Double>
Link copied to clipboard
var height: Option<Double>
Link copied to clipboard
Link copied to clipboard
var rotation: Option<Rotation3D>

Functions

Link copied to clipboard
fun getImplicitGeometry(): Option<ImplicitGeometryProperty>

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

Link copied to clipboard
fun getIndividualSolidCutouts(vararg faceSelection: GeometryTransformer.FaceType): Option<NonEmptyList<MultiSurfaceProperty>>

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

Link copied to clipboard
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.

Link copied to clipboard

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

Link copied to clipboard
fun getPoint(): Option<PointProperty>

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

Link copied to clipboard
fun getSolid(): Option<SolidProperty>

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

Link copied to clipboard
fun getSolidCutout(vararg faceSelection: GeometryTransformer.FaceType): Option<MultiSurfaceProperty>

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

Link copied to clipboard
fun getSolidCutoutOrSurface(vararg solidFaceSelection: GeometryTransformer.FaceType): Option<Either<GeometryException.BoundaryRepresentationGenerationError, MultiSurfaceProperty>>

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

Link copied to clipboard
open override fun visit(abstractGeometry3D: AbstractGeometry3D)
open override fun visit(abstractCurve3D: AbstractCurve3D)
open override fun visit(vector3D: Vector3D)
open override fun visit(abstractSolid3D: AbstractSolid3D)
open override fun visit(cylinder3D: Cylinder3D)
open override fun visit(parametricSweep3D: ParametricSweep3D)
open override fun visit(abstractSurface3D: AbstractSurface3D)
open override fun visit(circle3D: Circle3D)
open override fun visit(parametricBoundedSurface3D: ParametricBoundedSurface3D)